14
0

7 Commits

Author SHA256 Message Date
532f2e20a9 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
a65ceee419 - Convert to pip-based build
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
62350bd53f 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
62295cd3cc 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
512d197147 - 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
c4f2b7c6ac 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
3ce5432aab - 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/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>

View File

@@ -1,7 +1,7 @@
#
# 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
# 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
Version: 3.1.1
Version: 3.2
Release: 0
Summary: Parser like ConfigParser but for updating configuration files
License: MIT
URL: https://github.com/pyscaffold/configupdater
Source: https://files.pythonhosted.org/packages/source/C/ConfigUpdater/ConfigUpdater-3.1.1.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module pytest}
Source: https://files.pythonhosted.org/packages/source/C/ConfigUpdater/ConfigUpdater-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-virtualenv}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-configupdater = %{version}-%{release}
%if %python_version_nodots < 38
Requires: python-importlib-metadata
@@ -53,10 +52,10 @@ meant for reading config files and writing new ones.
sed -i '/--cov/d' setup.cfg
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -66,7 +65,6 @@ sed -i '/--cov/d' setup.cfg
%doc AUTHORS.rst CHANGELOG.rst README.rst
%license LICENSE.txt
%{python_sitelib}/configupdater
%{python_sitelib}/ConfigUpdater-%{version}*-info
%{python_sitelib}/[Cc]onfig[Uu]pdater-%{version}*info
%changelog