Compare commits
No commits in common. "9d07850a50ed8afb911d3030dcae2e49f32d856d" and "43833d163ef96dc4ad58eb1e9d73781dd659d209" have entirely different histories.
9d07850a50
...
43833d163e
@ -1,29 +1,20 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-zipp
|
||||
Version: 3.7.0
|
||||
Version: 0.5.1
|
||||
Release: 2
|
||||
Summary: Backport of pathlib-compatible object wrapper for zip files
|
||||
License: MIT
|
||||
URL: https://github.com/jaraco/zipp
|
||||
Source0: https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz
|
||||
Source0: https://github.com/jaraco/zipp/archive/zipp-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm >= 1.15.0
|
||||
|
||||
%description
|
||||
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
|
||||
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
|
||||
%{?python_provide:%python_provide python3-zipp}
|
||||
|
||||
%description -n python3-zipp
|
||||
A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
||||
@ -32,9 +23,6 @@ A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
||||
|
||||
%prep
|
||||
%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
|
||||
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
|
||||
@ -43,7 +31,7 @@ sed -i "/func_timeout/d" test_zipp.py
|
||||
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
|
||||
|
||||
%check
|
||||
pytest -k "not test_joinpath_constant_time"
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files -n python3-zipp
|
||||
%defattr(-,root,root)
|
||||
@ -56,21 +44,6 @@ pytest -k "not test_joinpath_constant_time"
|
||||
%doc README.rst
|
||||
|
||||
%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
|
||||
- Depend on the python version to revise the spec file is variable
|
||||
|
||||
|
||||
BIN
zipp-0.5.1.tar.gz
Normal file
BIN
zipp-0.5.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user