diff --git a/python-zipp.changes b/python-zipp.changes index aaf567c..8fc9493 100644 --- a/python-zipp.changes +++ b/python-zipp.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Aug 26 21:07:51 UTC 2022 - Ben Greiner + +- Remove deprecated setup.py hack: move to PEP517 build +- Fix requirements + * Neither jaraco.itertools nor jaraco.tidelift are used outside + testing or documentation building +- Ignore that upstream requires Python 3.7 or later since version + 3.7.0 + +------------------------------------------------------------------- +Tue Aug 23 20:33:38 UTC 2022 - Dirk Müller + +- update to 3.8.1: + * enrolled in tidelift + ------------------------------------------------------------------- Sun May 29 19:02:36 UTC 2022 - Dirk Müller diff --git a/python-zipp.spec b/python-zipp.spec index 5487257..46bb414 100644 --- a/python-zipp.spec +++ b/python-zipp.spec @@ -16,9 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 -%define skip_python36 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -28,24 +26,25 @@ %bcond_with test %endif Name: python-zipp%{psuffix} -Version: 3.8.0 +Version: 3.8.1 Release: 0 Summary: Pathlib-compatible object wrapper for zip files License: MIT Group: Development/Languages/Python URL: https://github.com/jaraco/zipp Source: https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz -BuildRequires: %{python_module setuptools_scm >= 1.15.0} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module toml} +BuildRequires: %{python_module base >= 3.6} +BuildRequires: %{python_module pip} +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-more-itertools BuildArch: noarch %if %{with test} BuildRequires: %{python_module jaraco.itertools} BuildRequires: %{python_module more-itertools} -BuildRequires: %{python_module pytest >= 3.5} +BuildRequires: %{python_module pytest} %endif %python_subpackages @@ -54,16 +53,17 @@ A pathlib-compatible Zipfile object wrapper. %prep %setup -q -n zipp-%{version} -echo "import setuptools; setuptools.setup()" > setup.py -# we don't need the extensions for smoke testing -rm -f pytest.ini +sed -i '/addopts/ s/--doctest-modules//' pytest.ini +# People still want this for 15.X despite Python 3.6 is not supported upstream anymore +sed -i 's/python_requires = >=3.7/python_requires = >=3.6/' setup.cfg +rm -r zipp.egg-info %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -80,7 +80,9 @@ sed -i -e 's:import func_timeout::' \ %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/zipp.py* +%pycache_only %{python_sitelib}/__pycache__/zipp*.pyc +%{python_sitelib}/zipp-%{version}*-info %endif %changelog diff --git a/zipp-3.8.0.tar.gz b/zipp-3.8.0.tar.gz deleted file mode 100644 index 743b951..0000000 --- a/zipp-3.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:56bf8aadb83c24db6c4b577e13de374ccfb67da2078beba1d037c17980bf43ad -size 13344 diff --git a/zipp-3.8.1.tar.gz b/zipp-3.8.1.tar.gz new file mode 100644 index 0000000..2caad81 --- /dev/null +++ b/zipp-3.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05b45f1ee8f807d0cc928485ca40a07cb491cf092ff587c0df9cb1fd154848d2 +size 14189