Accepting request 999761 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/999761 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zipp?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 26 21:07:51 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.8.1:
|
||||||
|
* enrolled in tidelift
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 29 19:02:36 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Sun May 29 19:02:36 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -16,9 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%define skip_python36 1
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@@ -28,24 +26,25 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-zipp%{psuffix}
|
Name: python-zipp%{psuffix}
|
||||||
Version: 3.8.0
|
Version: 3.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pathlib-compatible object wrapper for zip files
|
Summary: Pathlib-compatible object wrapper for zip files
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/jaraco/zipp
|
URL: https://github.com/jaraco/zipp
|
||||||
Source: https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
|
BuildRequires: %{python_module base >= 3.6}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module toml}
|
BuildRequires: %{python_module setuptools >= 56}
|
||||||
|
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-more-itertools
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module jaraco.itertools}
|
BuildRequires: %{python_module jaraco.itertools}
|
||||||
BuildRequires: %{python_module more-itertools}
|
BuildRequires: %{python_module more-itertools}
|
||||||
BuildRequires: %{python_module pytest >= 3.5}
|
BuildRequires: %{python_module pytest}
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -54,16 +53,17 @@ A pathlib-compatible Zipfile object wrapper.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n zipp-%{version}
|
%setup -q -n zipp-%{version}
|
||||||
echo "import setuptools; setuptools.setup()" > setup.py
|
sed -i '/addopts/ s/--doctest-modules//' pytest.ini
|
||||||
# we don't need the extensions for smoke testing
|
# People still want this for 15.X despite Python 3.6 is not supported upstream anymore
|
||||||
rm -f pytest.ini
|
sed -i 's/python_requires = >=3.7/python_requires = >=3.6/' setup.cfg
|
||||||
|
rm -r zipp.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -80,7 +80,9 @@ sed -i -e 's:import func_timeout::' \
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/zipp.py*
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/zipp*.pyc
|
||||||
|
%{python_sitelib}/zipp-%{version}*-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:56bf8aadb83c24db6c4b577e13de374ccfb67da2078beba1d037c17980bf43ad
|
|
||||||
size 13344
|
|
3
zipp-3.8.1.tar.gz
Normal file
3
zipp-3.8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:05b45f1ee8f807d0cc928485ca40a07cb491cf092ff587c0df9cb1fd154848d2
|
||||||
|
size 14189
|
Reference in New Issue
Block a user