From 36f7f7bff3b892511b991e0731b3a4bbdcaf7e56c9da9348db8f8d6e535fac74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 29 Aug 2022 12:03:55 +0000 Subject: [PATCH] Accepting request 1000007 from home:bnavigator:branches:devel:languages:python - update to 3.2.2 * Refreshed package metadata. * Enrolled with Tidelift. - Switch to PEP517 and remove obsolete jaraco.base requirement OBS-URL: https://build.opensuse.org/request/show/1000007 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.classes?expand=0&rev=12 --- jaraco.classes-3.2.1.tar.gz | 3 --- jaraco.classes-3.2.2.tar.gz | 3 +++ python-jaraco.classes.changes | 8 ++++++++ python-jaraco.classes.spec | 23 +++++++++++------------ 4 files changed, 22 insertions(+), 15 deletions(-) delete mode 100644 jaraco.classes-3.2.1.tar.gz create mode 100644 jaraco.classes-3.2.2.tar.gz diff --git a/jaraco.classes-3.2.1.tar.gz b/jaraco.classes-3.2.1.tar.gz deleted file mode 100644 index b0408bb..0000000 --- a/jaraco.classes-3.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed54b728af1937dc16b7236fbaf34ba561ba1ace572b03fffa5486ed363ecf34 -size 12286 diff --git a/jaraco.classes-3.2.2.tar.gz b/jaraco.classes-3.2.2.tar.gz new file mode 100644 index 0000000..f13a11b --- /dev/null +++ b/jaraco.classes-3.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6745f113b0b588239ceb49532aa09c3ebb947433ce311ef2f8e3ad64ebb74594 +size 9266 diff --git a/python-jaraco.classes.changes b/python-jaraco.classes.changes index 02d05e4..8497277 100644 --- a/python-jaraco.classes.changes +++ b/python-jaraco.classes.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Aug 29 11:46:38 UTC 2022 - Ben Greiner + +- update to 3.2.2 + * Refreshed package metadata. + * Enrolled with Tidelift. +- Switch to PEP517 and remove obsolete jaraco.base requirement + ------------------------------------------------------------------- Mon Aug 29 08:55:57 UTC 2022 - Steve Kowalik diff --git a/python-jaraco.classes.spec b/python-jaraco.classes.spec index 0f703db..5bb1296 100644 --- a/python-jaraco.classes.spec +++ b/python-jaraco.classes.spec @@ -16,23 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-jaraco.classes -Version: 3.2.1 +Version: 3.2.2 Release: 0 Summary: Tools to work with classes License: MIT URL: https://github.com/jaraco/jaraco.classes Source0: https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-%{version}.tar.gz -BuildRequires: %{python_module jaraco.base >= 6.1} +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module more-itertools} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools >= 56} +BuildRequires: %{python_module setuptools_scm >= 3.4.1} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-jaraco.base >= 6.1 Requires: python-more-itertools BuildArch: noarch %python_subpackages @@ -42,14 +41,13 @@ jaraco.classes Tools for working with classes. %prep %setup -q -n jaraco.classes-%{version} -sed -i 's/--flake8//' pytest.ini -sed -i 's/--black --cov//' pytest.ini %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest @@ -57,7 +55,8 @@ sed -i 's/--black --cov//' pytest.ini %files %{python_files} %license LICENSE %doc docs/*.rst README.rst CHANGES.rst -%{python_sitelib}/jaraco.classes-%{version}-py*.egg-info +%dir %{python_sitelib}/jaraco %{python_sitelib}/jaraco/classes +%{python_sitelib}/jaraco.classes-%{version}*-info %changelog