- update to 2.0.0:

* Drop Python 3.6
  * Add Python 3.11 support
  * type hints added

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=9
This commit is contained in:
Dirk Mueller 2023-01-29 18:34:17 +00:00 committed by Git OBS Bridge
parent 85dcb4f08a
commit 7f775b2965
4 changed files with 21 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32
size 8104

BIN
iniconfig-2.0.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Jan 29 18:27:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.0.0:
* Drop Python 3.6
* Add Python 3.11 support
* type hints added
-------------------------------------------------------------------
Mon Dec 5 12:45:15 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,14 +26,18 @@
%bcond_with test
%endif
Name: python-iniconfig%{psuffix}
Version: 1.1.1
Version: 2.0.0
Release: 0
Summary: iniconfig: brain-dead simple config-ini parsing
License: MIT
Group: Development/Languages/Python
URL: https://github.com/RonnyPfannschmidt/iniconfig
Source: https://files.pythonhosted.org/packages/source/i/iniconfig/iniconfig-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@ -60,11 +64,11 @@ having a unique set of features:
%setup -q -n iniconfig-%{version}
%build
%python_build
%pyproject_wheel
%install
%if !%{with test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@ -76,7 +80,7 @@ having a unique set of features:
%if !%{with test}
%files %{python_files}
%license LICENSE
%doc README.txt
%doc README.rst
%{python_sitelib}/*
%endif