From 47d53f18402b76be203861f7ca4036a148513195 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 08 2021 14:22:18 +0000 Subject: Import python-genty-1.3.2-9.el9 in CloudSIG xena --- diff --git a/.python-genty.metadata b/.python-genty.metadata new file mode 100644 index 0000000..2d98110 --- /dev/null +++ b/.python-genty.metadata @@ -0,0 +1 @@ +3ae669cceb1733b2c57801cafbfa79ca50be1187 SOURCES/genty-1.3.2.tar.gz diff --git a/SPECS/python-genty.spec b/SPECS/python-genty.spec new file mode 100644 index 0000000..b8b1c04 --- /dev/null +++ b/SPECS/python-genty.spec @@ -0,0 +1,84 @@ +%global pypi_name genty +Name: python-%{pypi_name} +Version: 1.3.2 +Release: 9%{?dist} +Summary: Allows you to run a test with multiple data sets +License: ASL 2.0 +URL: https://github.com/box/genty +Source0: %pypi_source +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(six) + +%description +Genty, pronounced "gen-tee", stands for "generate tests". It promotes +generative testing, where a single test can execute over a variety of input +Genty makes this a breeze. + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} +Requires: python3dist(six) + +%description -n python3-%{pypi_name} +Genty, pronounced "gen-tee", stands for "generate tests". It promotes +generative testing, where a single test can execute over a variety of input +Genty makes this a breeze. + + +%prep +%autosetup -n %{pypi_name}-%{version} + +# Use mock from standard library: +sed -i 's/from mock/from unittest.mock/' test/test_genty.py + + +%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} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.3.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.3.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 24 2020 Miro Hrončok - 1.3.2-7 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.3.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.3.2-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.3.2-4 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jul 30 2018 Miro Hrončok - 1.3.2-1 +- Initial package