diff --git a/iniconfig-1.1.1.tar.gz b/iniconfig-1.1.1.tar.gz deleted file mode 100644 index 451ce95..0000000 --- a/iniconfig-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32 -size 8104 diff --git a/iniconfig-2.0.0-tests.tar.gz b/iniconfig-2.0.0-tests.tar.gz new file mode 100644 index 0000000..0bacf7e --- /dev/null +++ b/iniconfig-2.0.0-tests.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee33adf27310b0fc9b41abc504ca95925083762bcd7bec28cdbaf42fb215bcb3 +size 8077 diff --git a/iniconfig-2.0.0.tar.gz b/iniconfig-2.0.0.tar.gz new file mode 100644 index 0000000..bb7c3e4 --- /dev/null +++ b/iniconfig-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 +size 4646 diff --git a/python-iniconfig.changes b/python-iniconfig.changes index da707c3..d076314 100644 --- a/python-iniconfig.changes +++ b/python-iniconfig.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Jan 29 18:27:24 UTC 2023 - Dirk Müller + +- update to 2.0.0: + * Drop Python 3.6 + * Add Python 3.11 support + * type hints added +- use gh tarball for tests + ------------------------------------------------------------------- Mon Dec 5 12:45:15 UTC 2022 - Daniel Garcia diff --git a/python-iniconfig.spec b/python-iniconfig.spec index 85e0a67..39669ca 100644 --- a/python-iniconfig.spec +++ b/python-iniconfig.spec @@ -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,19 @@ %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} +Source1: https://github.com/pytest-dev/iniconfig/archive/refs/tags/v%{version}.tar.gz#/iniconfig-%{version}-tests.tar.gz +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 @@ -57,14 +62,14 @@ having a unique set of features: * iniconfig raises an Error if two sections have the same name. %prep -%setup -q -n iniconfig-%{version} +%setup -q -n iniconfig-%{version} -a1 %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -76,7 +81,7 @@ having a unique set of features: %if !%{with test} %files %{python_files} %license LICENSE -%doc README.txt +%doc README.rst %{python_sitelib}/* %endif