From 7f775b296577193212ee73deb335a60cedcb8747d9d2993e6337f828f997ba35 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 29 Jan 2023 18:34:17 +0000 Subject: [PATCH 1/4] - 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 --- iniconfig-1.1.1.tar.gz | 3 --- iniconfig-2.0.0.tar.gz | 3 +++ python-iniconfig.changes | 8 ++++++++ python-iniconfig.spec | 16 ++++++++++------ 4 files changed, 21 insertions(+), 9 deletions(-) delete mode 100644 iniconfig-1.1.1.tar.gz create mode 100644 iniconfig-2.0.0.tar.gz 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.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..2b3fe4e 100644 --- a/python-iniconfig.changes +++ b/python-iniconfig.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +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 + ------------------------------------------------------------------- Mon Dec 5 12:45:15 UTC 2022 - Daniel Garcia diff --git a/python-iniconfig.spec b/python-iniconfig.spec index 85e0a67..5fd0e35 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,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 From 9cb6530423c95ada80ae3904ef1c686aab2175e7a4f79d13c1a4222be3fcddc8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 29 Jan 2023 20:37:52 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=10 --- iniconfig-2.0.0-gh.tar.gz | 3 +++ iniconfig-2.0.0.tar.gz | 3 --- python-iniconfig.spec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 iniconfig-2.0.0-gh.tar.gz delete mode 100644 iniconfig-2.0.0.tar.gz diff --git a/iniconfig-2.0.0-gh.tar.gz b/iniconfig-2.0.0-gh.tar.gz new file mode 100644 index 0000000..0bacf7e --- /dev/null +++ b/iniconfig-2.0.0-gh.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 deleted file mode 100644 index bb7c3e4..0000000 --- a/iniconfig-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 -size 4646 diff --git a/python-iniconfig.spec b/python-iniconfig.spec index 5fd0e35..63dde48 100644 --- a/python-iniconfig.spec +++ b/python-iniconfig.spec @@ -32,7 +32,7 @@ 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 +Source: https://github.com/pytest-dev/iniconfig/archive/refs/tags/v%{version}.tar.gz#/iniconfig-%{version}-gh.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module hatchling} From 20d55da3a526ab0cc5dfb0582b119ef9a8d7167b6d589896d59649c0101df806 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 29 Jan 2023 20:44:30 +0000 Subject: [PATCH 3/4] - use gh tarball for tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=11 --- iniconfig-2.0.0-tests.tar.gz | 3 +++ iniconfig-2.0.0.tar.gz | 3 +++ python-iniconfig.changes | 1 + python-iniconfig.spec | 5 +++-- 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 iniconfig-2.0.0-tests.tar.gz create mode 100644 iniconfig-2.0.0.tar.gz 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 2b3fe4e..d076314 100644 --- a/python-iniconfig.changes +++ b/python-iniconfig.changes @@ -5,6 +5,7 @@ Sun Jan 29 18:27:24 UTC 2023 - Dirk Müller * 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 63dde48..39669ca 100644 --- a/python-iniconfig.spec +++ b/python-iniconfig.spec @@ -32,7 +32,8 @@ Summary: iniconfig: brain-dead simple config-ini parsing License: MIT Group: Development/Languages/Python URL: https://github.com/RonnyPfannschmidt/iniconfig -Source: https://github.com/pytest-dev/iniconfig/archive/refs/tags/v%{version}.tar.gz#/iniconfig-%{version}-gh.tar.gz +Source: https://files.pythonhosted.org/packages/source/i/iniconfig/iniconfig-%{version}.tar.gz +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} @@ -61,7 +62,7 @@ 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 %pyproject_wheel From dfb99a1cb8a74710c1000250f428cd70080d90c39a1e1e01c64233d954b59219 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 29 Jan 2023 20:44:48 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=12 --- iniconfig-2.0.0-gh.tar.gz | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 iniconfig-2.0.0-gh.tar.gz diff --git a/iniconfig-2.0.0-gh.tar.gz b/iniconfig-2.0.0-gh.tar.gz deleted file mode 100644 index 0bacf7e..0000000 --- a/iniconfig-2.0.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ee33adf27310b0fc9b41abc504ca95925083762bcd7bec28cdbaf42fb215bcb3 -size 8077