|
|
d1e175 |
%global modulename pytest-runner
|
|
|
d1e175 |
%global _modulename pytest_runner
|
|
|
d1e175 |
|
|
|
d1e175 |
Name: python-%{modulename}
|
|
|
d1e175 |
Version: 4.0
|
|
|
d1e175 |
Release: 12%{?dist}
|
|
|
d1e175 |
Summary: Invoke py.test as distutils command with dependency resolution
|
|
|
d1e175 |
|
|
|
d1e175 |
License: MIT
|
|
|
d1e175 |
URL: https://pypi.python.org/pypi/pytest-runner
|
|
|
d1e175 |
# setuptools-scm requires a pypi tarball and doesn't like github tarball
|
|
|
d1e175 |
Source0: https://files.pythonhosted.org/packages/source/p/%{modulename}/%{modulename}-%{version}.tar.gz
|
|
|
d1e175 |
|
|
|
d1e175 |
BuildArch: noarch
|
|
|
d1e175 |
|
|
|
d1e175 |
%global _description \
|
|
|
d1e175 |
Setup scripts can use pytest-runner to add setup.py test support for pytest runner.
|
|
|
d1e175 |
|
|
|
d1e175 |
%description %{_description}
|
|
|
d1e175 |
|
|
|
d1e175 |
%package -n python3-%{modulename}
|
|
|
d1e175 |
Summary: %{summary}
|
|
|
d1e175 |
%{?python_provide:%python_provide python3-%{modulename}}
|
|
|
d1e175 |
Requires: python3-pytest
|
|
|
d1e175 |
BuildRequires: python3-devel
|
|
|
d1e175 |
BuildRequires: python3-setuptools
|
|
|
d1e175 |
BuildRequires: python3-setuptools_scm
|
|
|
d1e175 |
BuildRequires: python3-pytest
|
|
|
d1e175 |
|
|
|
d1e175 |
%description -n python3-%{modulename} %{_description}
|
|
|
d1e175 |
|
|
|
d1e175 |
Python 3 version.
|
|
|
d1e175 |
|
|
|
d1e175 |
%prep
|
|
|
d1e175 |
%autosetup -n %{modulename}-%{version}
|
|
|
d1e175 |
|
|
|
d1e175 |
%build
|
|
|
d1e175 |
%py3_build
|
|
|
d1e175 |
|
|
|
d1e175 |
%install
|
|
|
d1e175 |
%py3_install
|
|
|
d1e175 |
|
|
|
d1e175 |
%check
|
|
|
d1e175 |
%{__python3} setup.py test
|
|
|
d1e175 |
|
|
|
d1e175 |
%files -n python3-%{modulename}
|
|
|
d1e175 |
%doc README.rst
|
|
|
d1e175 |
%license LICENSE
|
|
|
d1e175 |
%{python3_sitelib}/ptr.py
|
|
|
d1e175 |
%{python3_sitelib}/%{_modulename}-%{version}-py%{python3_version}.egg-info/
|
|
|
d1e175 |
%{python3_sitelib}/__pycache__/ptr.*
|
|
|
d1e175 |
|
|
|
d1e175 |
%changelog
|
|
|
d1e175 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-12
|
|
|
d1e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
d1e175 |
|
|
|
d1e175 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-11
|
|
|
d1e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
d1e175 |
|
|
|
d1e175 |
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.0-10
|
|
|
d1e175 |
- Rebuilt for Python 3.9
|
|
|
d1e175 |
|
|
|
d1e175 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-9
|
|
|
d1e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
d1e175 |
|
|
|
d1e175 |
* Tue Oct 29 2019 Miro Hrončok <mhroncok@redhat.com> - 4.0-8
|
|
|
d1e175 |
- Subpackage python2-pytest-runner has been removed
|
|
|
d1e175 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
d1e175 |
|
|
|
d1e175 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.0-7
|
|
|
d1e175 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
d1e175 |
|
|
|
d1e175 |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.0-6
|
|
|
d1e175 |
- Rebuilt for Python 3.8
|
|
|
d1e175 |
|
|
|
d1e175 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-5
|
|
|
d1e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d1e175 |
|
|
|
d1e175 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-4
|
|
|
d1e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d1e175 |
|
|
|
d1e175 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-3
|
|
|
d1e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
d1e175 |
|
|
|
d1e175 |
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.0-2
|
|
|
d1e175 |
- Rebuilt for Python 3.7
|
|
|
d1e175 |
|
|
|
d1e175 |
* Sun Feb 11 2018 Vadim Rutkovsky <vrutkovs@redhat.com> - 4.0-1
|
|
|
d1e175 |
- Update to 4.0 (#1544167)
|
|
|
d1e175 |
|
|
|
d1e175 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-3
|
|
|
d1e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d1e175 |
|
|
|
d1e175 |
* Fri Nov 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.0-2
|
|
|
d1e175 |
- Fix broken dep
|
|
|
d1e175 |
|
|
|
d1e175 |
* Thu Nov 02 2017 Vadim Rutkovsky <vrutkovs@redhat.com> - 3.0-1
|
|
|
d1e175 |
- Update to 3.0 (#1508216)
|
|
|
d1e175 |
|
|
|
d1e175 |
* Fri Oct 13 2017 Vadim Rutkovsky <vrutkovs@redhat.com> - 2.12.1-1
|
|
|
d1e175 |
- Update to 2.12.1 (#1487972)
|
|
|
d1e175 |
|
|
|
d1e175 |
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 2.9-6
|
|
|
d1e175 |
- Cleanup spec file conditionals
|
|
|
d1e175 |
|
|
|
d1e175 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-5
|
|
|
d1e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d1e175 |
|
|
|
d1e175 |
* Thu Mar 9 2017 Orion Poplawski <orion@cora.nwra.com> - 2.9-4
|
|
|
d1e175 |
- Build python 3 version for EPEL
|
|
|
d1e175 |
|
|
|
d1e175 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-3
|
|
|
d1e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d1e175 |
|
|
|
d1e175 |
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 2.9-2
|
|
|
d1e175 |
- Rebuild for Python 3.6
|
|
|
d1e175 |
|
|
|
d1e175 |
* Sat Aug 06 2016 Vadim Rutkovsky <vrutkovs@redhat.com> - 2.9-1
|
|
|
d1e175 |
- Initial package
|