# Created by pyp2rpm-3.3.2 %global pypi_name zope-testing %global srcname zope.testing Name: python-%{pypi_name} Version: 4.10 Release: %mkrel 1 Summary: Zope testing helpers Group: Development/Python License: ZPL 2.1 URL: https://github.com/zopefoundation/zope.testing Source0: %{pypi_source} BuildArch: noarch BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description This package provides a number of testing frameworks. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(setuptools) %description -n python3-%{pypi_name} This package provides a number of testing frameworks. %prep %autosetup -n zope.testing-%{version} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files zope # we don't need these find %{buildroot} -name "*.pth" -delete %check %{__python3} setup.py test %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE.txt %doc README.rst %changelog * Thu Sep 08 2022 neoclust <neoclust> 4.10-1.mga9 + Revision: 1885771 - New version 4.10 * Wed Mar 23 2022 umeabot <umeabot> 4.9-3.mga9 + Revision: 1822193 - Mageia 9 Mass Rebuild * Sun Feb 06 2022 wally <wally> 4.9-2.mga9 + Revision: 1772137 - rebuild for python3.10 * Sun Mar 14 2021 wally <wally> 4.9-1.mga9 + Revision: 1702538 - new version 4.9 - rebuild for python3.9 * Sun Feb 16 2020 umeabot <umeabot> 4.7-3.mga8 + Revision: 1534629 - Mageia 8 Mass Rebuild * Sat Oct 05 2019 guillomovitch <guillomovitch> 4.7-2.mga8 + Revision: 1449624 - rebuild for python 3.8 * Sun Aug 25 2019 wally <wally> 4.7-1.mga8 + Revision: 1432227 - imported package python-zope-testing