From c5ea8c996bd2f89e4654d126faf02cd10eb0c66c Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Oct 06 2021 15:41:44 +0000 Subject: first build c9s --- diff --git a/.python-zip.metadata b/.python-zip.metadata new file mode 100644 index 0000000..01e1314 --- /dev/null +++ b/.python-zip.metadata @@ -0,0 +1 @@ +b5c8b7519876285d93611216b4ecf0a7b5d59174 SOURCES/zipp-3.6.0.tar.gz diff --git a/SPECS/python-zipp.spec b/SPECS/python-zipp.spec new file mode 100644 index 0000000..1d4c635 --- /dev/null +++ b/SPECS/python-zipp.spec @@ -0,0 +1,75 @@ +%global pypi_name zipp + +Name: python-%{pypi_name} +Version: 3.6.0 +Release: 1%{?dist} +Summary: Backport of pathlib-compatible object wrapper for zip files + +License: MIT +URL: https://github.com/jaraco/zipp +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: python3dist(pytest) + +%description +A pathlib-compatible Zipfile object wrapper. A backport of the Path object. + + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} +A pathlib-compatible Zipfile object wrapper. A backport of the Path object. + + +%prep +%autosetup -n %{pypi_name}-%{version} +# jaraco.itertools and func_timeout are not available in Fedora yet +sed -i "/import jaraco.itertools/d" test_zipp.py +# this sed removes two lines - one import and one decorator +sed -i "/func_timeout/d" test_zipp.py + +%generate_buildrequires +%pyproject_buildrequires -r + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%check +# Skipped test needs jaraco.itertools +%pytest -k "not test_joinpath_constant_time" + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%license LICENSE +%doc README.rst + +%changelog +* Tue Oct 05 2021 Lumír Balhar - 3.6.0-1 +- Update to 3.6.0 +Resolves: rhbz#2008627 + +* Fri Jul 23 2021 Fedora Release Engineering - 3.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jul 07 2021 Lumír Balhar - 3.5.0-1 +- Update to 3.5.0 +Resolves: rhbz#1978839 + +* Wed Jun 30 2021 Lumír Balhar - 3.4.1-1 +- Unretired package with new upstream version + +* Mon Aug 19 2019 Miro Hrončok - 0.5.1-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jun 26 2019 Miro Hrončok - 0.5.1-1 +- Initial package