From 4c5b045f131fa73b6882e5559b83b629cd4f10cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 21 Sep 2019 09:29:46 +0200 Subject: [PATCH] Use the Python standard library zipfile.Path class instead --- .gitignore | 4 ---- dead.package | 1 + python-zipp.spec | 56 ------------------------------------------------ sources | 1 - 4 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 python-zipp.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c708520..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/zipp-*.tar.gz -/zipp-*/ -/results_python-zipp/ -*.rpm diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..0cb60f4 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Use the Python standard library zipfile.Path class instead diff --git a/python-zipp.spec b/python-zipp.spec deleted file mode 100644 index 8a197f6..0000000 --- a/python-zipp.spec +++ /dev/null @@ -1,56 +0,0 @@ -%global pypi_name zipp - -Name: python-%{pypi_name} -Version: 0.5.1 -Release: 3%{?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: 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-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python3-%{pypi_name}} - -%description -n python3-%{pypi_name} -A pathlib-compatible Zipfile object wrapper. A backport of the Path object. - - -%prep -%autosetup -n %{pypi_name}-%{version} - -%build -%py3_build - -%install -%py3_install - -%check -%{__python3} setup.py test - -%files -n python3-%{pypi_name} -%license LICENSE -%doc README.rst -%{python3_sitelib}/%{pypi_name}.py -%{python3_sitelib}/__pycache__/%{pypi_name}.* -%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info/ - -%changelog -* 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 diff --git a/sources b/sources deleted file mode 100644 index 3b06b10..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (zipp-0.5.1.tar.gz) = d4486ae98159677cd481cddb3bd00d5d2237dc94f0f3129b03994800b0e136c12b05e02d2ca7d628043dabce323f34dd919b9ba731549656802527abdcfea120