remove python2 package

i8ce changed/i8ce/python-pytest-runner-4.0-4.el8.inferit
Arkady L. Shane 7 months ago
parent 51f6e1aeae
commit 161852688b
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -3,7 +3,7 @@
Name: python-%{modulename}
Version: 4.0
Release: 4%{?dist}
Release: 4%{?dist}.inferit
Summary: Invoke py.test as distutils command with dependency resolution
License: MIT
@ -18,19 +18,6 @@ Setup scripts can use pytest-runner to add setup.py test support for pytest runn
%description %{_description}
%package -n python2-%{modulename}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{modulename}}
Requires: python2-pytest
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-setuptools_scm
BuildRequires: python2-pytest
%description -n python2-%{modulename} %{_description}
Python 2 version.
%package -n python3-%{modulename}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{modulename}}
@ -48,23 +35,14 @@ Python 3 version.
%autosetup -n %{modulename}-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} setup.py test
%{__python3} setup.py test
%files -n python2-%{modulename}
%doc README.rst
%license LICENSE
%{python2_sitelib}/ptr.py*
%{python2_sitelib}/%{_modulename}-%{version}-py%{python2_version}.egg-info/
%files -n python3-%{modulename}
%doc README.rst
%license LICENSE
@ -73,6 +51,9 @@ Python 3 version.
%{python3_sitelib}/__pycache__/ptr.*
%changelog
* Fri Jul 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 4.0-4.inferit
- remove python2 package
* Fri Jul 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 4.0-4
- Rebuilt for MSVSphere 8.10

Loading…
Cancel
Save