From ae4a4b93bb61eb21528172fabb02a6b45749a2f2 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jun 27 2019 15:25:21 +0000 Subject: Initial import (#1724196) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67edd93 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/zipp-*.tar.gz +/zipp-*/ +/results_zipp/ +*.rpm diff --git a/python-zipp.spec b/python-zipp.spec new file mode 100644 index 0000000..07df1a3 --- /dev/null +++ b/python-zipp.spec @@ -0,0 +1,50 @@ +%global pypi_name zipp + +Name: python-%{pypi_name} +Version: 0.5.1 +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: 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 +* Wed Jun 26 2019 Miro Hrončok - 0.5.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..3b06b10 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (zipp-0.5.1.tar.gz) = d4486ae98159677cd481cddb3bd00d5d2237dc94f0f3129b03994800b0e136c12b05e02d2ca7d628043dabce323f34dd919b9ba731549656802527abdcfea120