Update to 0.7.1.
Update BRs. Use source URL to released archive containing pluggy/_version.py.
This commit is contained in:
parent
34f46f2b02
commit
e9ce9b0c89
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/pluggy-0.3.0.tar.gz
|
/pluggy-0.3.0.tar.gz
|
||||||
/pluggy-0.3.1.tar.gz
|
/pluggy-0.3.1.tar.gz
|
||||||
/python-pluggy-0.6.0.tar.gz
|
/python-pluggy-0.6.0.tar.gz
|
||||||
|
/pluggy-0.7.1.tar.gz
|
||||||
|
|||||||
@ -1,34 +1,36 @@
|
|||||||
%global pypiname pluggy
|
%global pypiname pluggy
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
%global with_python3 1
|
%bcond_without python3
|
||||||
%else
|
%else
|
||||||
%global with_python3 0
|
%bcond_with python3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Turn the tests off when bootstrapping Python, because pytest requires pluggy
|
# Turn the tests off when bootstrapping Python, because pytest requires pluggy
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
|
|
||||||
Name: python-pluggy
|
Name: python-pluggy
|
||||||
Version: 0.6.0
|
Version: 0.7.1
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: The plugin manager stripped of pytest specific details
|
Summary: The plugin manager stripped of pytest specific details
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pytest-dev/pluggy
|
URL: https://github.com/pytest-dev/pluggy
|
||||||
Source0: https://github.com/pytest-dev/%{pypiname}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/%{pypiname}/%{pypiname}-%{version}.tar.gz
|
||||||
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
|
BuildRequires: python2-setuptools_scm
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: python2-pytest
|
BuildRequires: python2-pytest
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if %{with python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-setuptools_scm
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
%endif
|
%endif
|
||||||
@ -45,9 +47,9 @@ Summary: %summary
|
|||||||
|
|
||||||
%description -n python2-%{pypiname} %_description
|
%description -n python2-%{pypiname} %_description
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if %{with python3}
|
||||||
%package -n python3-%{pypiname}
|
%package -n python3-%{pypiname}
|
||||||
Summary: The plugin manager stripped of pytest specific details.
|
Summary: %summary
|
||||||
|
|
||||||
%description -n python3-%{pypiname}
|
%description -n python3-%{pypiname}
|
||||||
The plugin manager stripped of pytest specific details.
|
The plugin manager stripped of pytest specific details.
|
||||||
@ -62,13 +64,13 @@ The plugin manager stripped of pytest specific details.
|
|||||||
%build
|
%build
|
||||||
%py2_build
|
%py2_build
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if %{with python3}
|
||||||
%py3_build
|
%py3_build
|
||||||
%endif # with python3
|
%endif # with python3
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?with_python3}
|
%if %{with python3}
|
||||||
%py3_install
|
%py3_install
|
||||||
%endif # with python3
|
%endif # with python3
|
||||||
|
|
||||||
@ -79,7 +81,7 @@ The plugin manager stripped of pytest specific details.
|
|||||||
export PYTHONPATH=.:$PYTHONPATH
|
export PYTHONPATH=.:$PYTHONPATH
|
||||||
py.test testing
|
py.test testing
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if %{with python3}
|
||||||
py.test-%{python3_version} testing
|
py.test-%{python3_version} testing
|
||||||
%endif
|
%endif
|
||||||
%endif # with tests
|
%endif # with tests
|
||||||
@ -92,7 +94,7 @@ py.test-%{python3_version} testing
|
|||||||
%{python2_sitelib}/%{pypiname}-%{version}-py%{python2_version}.egg-info
|
%{python2_sitelib}/%{pypiname}-%{version}-py%{python2_version}.egg-info
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if %{with python3}
|
||||||
%files -n python3-%{pypiname}
|
%files -n python3-%{pypiname}
|
||||||
%{python3_sitelib}/%{pypiname}
|
%{python3_sitelib}/%{pypiname}
|
||||||
%{python3_sitelib}/%{pypiname}-%{version}-py%{python3_version}.egg-info
|
%{python3_sitelib}/%{pypiname}-%{version}-py%{python3_version}.egg-info
|
||||||
@ -102,6 +104,11 @@ py.test-%{python3_version} testing
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 6 2018 Thomas Moschny <thomas.moschny@gmx.de> - 0.7.1-1
|
||||||
|
- Update to 0.7.1.
|
||||||
|
- Update BRs.
|
||||||
|
- Use source URL to released archive containing pluggy/_version.py.
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (python-pluggy-0.6.0.tar.gz) = ed8fe81907c7dc476ebfbf0f7e0f902577323d64014765e7d7bfe22c2dc7e4977e1ce7ad55ce7f4e923ae23d206d6c3bcc6663de760c877fce82298cc21079db
|
SHA512 (pluggy-0.7.1.tar.gz) = e19f6c1b3f2e711df1c8b075a2b802751afd218f1b692f08b2434c01d71c402331ff8c937550fbdfece2098f6d6856422d485f193e188916b365ded2e4087697
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user