Compare commits
10 Commits
43833d163e
...
9d07850a50
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d07850a50 | ||
|
|
a452b18596 | ||
|
|
588865be5c | ||
|
|
36d4f5dfc7 | ||
|
|
0e0d76b293 | ||
|
|
343b9344ce | ||
|
|
48e1d6555d | ||
|
|
9e98426d67 | ||
|
|
d292bf47dd | ||
|
|
36b640fb86 |
@ -1,20 +1,29 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-zipp
|
Name: python-zipp
|
||||||
Version: 0.5.1
|
Version: 3.7.0
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: Backport of pathlib-compatible object wrapper for zip files
|
Summary: Backport of pathlib-compatible object wrapper for zip files
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jaraco/zipp
|
URL: https://github.com/jaraco/zipp
|
||||||
Source0: https://github.com/jaraco/zipp/archive/zipp-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel python3-setuptools
|
|
||||||
BuildRequires: python3-setuptools_scm >= 1.15.0
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
||||||
|
|
||||||
%package -n python3-zipp
|
%package -n python3-zipp
|
||||||
Summary: Backport of pathlib-compatible object wrapper for zip files
|
Summary: Backport of pathlib-compatible object wrapper for zip files
|
||||||
%{?python_provide:%python_provide python3-zipp}
|
Provides: python-zipp
|
||||||
|
# Base build requires
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-setuptools_scm
|
||||||
|
BuildRequires: python3-toml
|
||||||
|
BuildRequires: boost-iostreams
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
%description -n python3-zipp
|
%description -n python3-zipp
|
||||||
A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
||||||
@ -23,6 +32,9 @@ A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n zipp-%{version}
|
%autosetup -n zipp-%{version}
|
||||||
|
# Skip tests that depend on jaraco.itertools
|
||||||
|
sed -i "/import jaraco.itertools/d" test_zipp.py
|
||||||
|
sed -i "/func_timeout/d" test_zipp.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
|
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
|
||||||
@ -31,7 +43,7 @@ A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
|||||||
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
|
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test
|
pytest -k "not test_joinpath_constant_time"
|
||||||
|
|
||||||
%files -n python3-zipp
|
%files -n python3-zipp
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -44,6 +56,21 @@ A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 20 2024 shixuantong <shixuantong1@huawei.com> - 3.7.0-2
|
||||||
|
- remove useless requires
|
||||||
|
|
||||||
|
* Thu Jul 28 2022 liksh <liks11@chinaunicom.cn> - 3.7.0-1
|
||||||
|
- Upgrade for openstack yoga
|
||||||
|
|
||||||
|
* Mon Dec 20 2021 shixuantong <shixuantong@huawei.com> - 3.6.0-1
|
||||||
|
- Upgrade to version 3.6.0
|
||||||
|
|
||||||
|
* Mon Jul 19 2021 liusheng <liusheng2048@gmaili.com> - 3.4.1-1
|
||||||
|
- Upgrade to version 3.4.1
|
||||||
|
|
||||||
|
* Wed Dec 16 2020 zhanzhimin<zhanzhimin@huawei.com> - 0.5.1-3
|
||||||
|
- Update Source0
|
||||||
|
|
||||||
* Fri Jun 19 2020 wuchaochao<wuchaochao4@huawei.com> - 0.5.1-2
|
* Fri Jun 19 2020 wuchaochao<wuchaochao4@huawei.com> - 0.5.1-2
|
||||||
- Depend on the python version to revise the spec file is variable
|
- Depend on the python version to revise the spec file is variable
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
zipp-3.7.0.tar.gz
Normal file
BIN
zipp-3.7.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user