12
0

7 Commits

Author SHA256 Message Date
ae92e99973 Accepting request 1274643 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1274643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ConfigUpdater?expand=0&rev=3
2025-05-05 20:29:47 +00:00
d4564c0f6a Accepting request 1274584 from home:mcalabkova:branches:devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1274584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ConfigUpdater?expand=0&rev=8
2025-05-05 14:53:15 +00:00
0afc155777 Accepting request 1189608 from devel:languages:python
- remove obsolete python2 constructs
- use version macro in sources

- Update to v3.2
  * Fix square brackets not parsed in section names, github issue #123
- Remove macro definition from spec as rpmlint check marked it as redundant.

OBS-URL: https://build.opensuse.org/request/show/1189608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ConfigUpdater?expand=0&rev=2
2024-07-25 13:40:04 +00:00
fd555a8918 small reformat of changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ConfigUpdater?expand=0&rev=6
2024-07-25 12:21:03 +00:00
67d9568eeb - remove obsolete python2 constructs
- use version macro in sources

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ConfigUpdater?expand=0&rev=5
2024-07-25 10:17:32 +00:00
fd46cb7470 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ConfigUpdater?expand=0&rev=4 2024-07-25 10:17:02 +00:00
4e5ed8ed6d Accepting request 1189402 from home:ayankov:branches:devel:languages:python
- Update to v3.2
  * Remove macro definition from spec as rpmlint check marked it as redundant.
  * Fix square brackets not parsed in section names, github issue #123

OBS-URL: https://build.opensuse.org/request/show/1189402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ConfigUpdater?expand=0&rev=3
2024-07-25 10:16:20 +00:00
4 changed files with 32 additions and 16 deletions

BIN
ConfigUpdater-3.1.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
ConfigUpdater-3.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon May 5 13:14:21 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu Jul 25 10:17:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
- remove obsolete python2 constructs
- use version macro in sources
-------------------------------------------------------------------
Wed Jul 24 08:27:23 UTC 2024 - Angel Yankov <angel.yankov@suse.com>
- Update to v3.2
* Fix square brackets not parsed in section names, github issue #123
- Remove macro definition from spec as rpmlint check marked it as redundant.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 13 15:27:09 UTC 2022 - Ben Greiner <code@bnavigator.de> Wed Jul 13 15:27:09 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-ConfigUpdater # spec file for package python-ConfigUpdater
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,21 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-ConfigUpdater Name: python-ConfigUpdater
Version: 3.1.1 Version: 3.2
Release: 0 Release: 0
Summary: Parser like ConfigParser but for updating configuration files Summary: Parser like ConfigParser but for updating configuration files
License: MIT License: MIT
URL: https://github.com/pyscaffold/configupdater URL: https://github.com/pyscaffold/configupdater
Source: https://files.pythonhosted.org/packages/source/C/ConfigUpdater/ConfigUpdater-3.1.1.tar.gz Source: https://files.pythonhosted.org/packages/source/C/ConfigUpdater/ConfigUpdater-%{version}.tar.gz
BuildRequires: python-rpm-macros BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-virtualenv} BuildRequires: %{python_module pytest-virtualenv}
BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-configupdater = %{version}-%{release} Provides: python-configupdater = %{version}-%{release}
%if %python_version_nodots < 38 %if %python_version_nodots < 38
Requires: python-importlib-metadata Requires: python-importlib-metadata
@@ -53,10 +52,10 @@ meant for reading config files and writing new ones.
sed -i '/--cov/d' setup.cfg sed -i '/--cov/d' setup.cfg
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -66,7 +65,6 @@ sed -i '/--cov/d' setup.cfg
%doc AUTHORS.rst CHANGELOG.rst README.rst %doc AUTHORS.rst CHANGELOG.rst README.rst
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/configupdater %{python_sitelib}/configupdater
%{python_sitelib}/ConfigUpdater-%{version}*-info %{python_sitelib}/[Cc]onfig[Uu]pdater-%{version}*info
%changelog %changelog