|
|
@ -1,49 +1,33 @@
|
|
|
|
%global pypi_name pluggy
|
|
|
|
%global pypiname pluggy
|
|
|
|
|
|
|
|
|
|
|
|
# Turn the tests off when bootstrapping Python, because pytest requires pluggy
|
|
|
|
|
|
|
|
%bcond_without tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-pluggy
|
|
|
|
Name: python-pluggy
|
|
|
|
Version: 0.13.0
|
|
|
|
Version: 0.6.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 3%{?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: %{pypi_source}
|
|
|
|
Source0: https://github.com/pytest-dev/%{pypiname}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
# x86_64 compose of CRB, but we don't want to ship it at all.
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
ExcludeArch: i686
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
%description
|
|
|
|
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description\
|
|
|
|
|
|
|
|
The plugin manager stripped of pytest specific details.
|
|
|
|
The plugin manager stripped of pytest specific details.
|
|
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-%{pypiname}
|
|
|
|
|
|
|
|
Summary: The plugin manager stripped of pytest specific details.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
%description -n python3-%{pypiname}
|
|
|
|
Summary: %summary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
|
|
|
|
The plugin manager stripped of pytest specific details.
|
|
|
|
The plugin manager stripped of pytest specific details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
|
%autosetup -n %{pypiname}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
# Remove dependency of setuptools-scm
|
|
|
|
|
|
|
|
sed -i "/ *use_scm_version=.*,/d" setup.py
|
|
|
|
|
|
|
|
sed -i "s/ *setup_requires=.*/version='%{version}',/" setup.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
@ -52,74 +36,22 @@ sed -i "s/ *setup_requires=.*/version='%{version}',/" setup.py
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# TODO investigate test_load_setuptools_instantiation failure
|
|
|
|
%{__python3} -m pytest testing
|
|
|
|
PYTHONPATH=$PWD %{__python3} -m pytest testing -k "not test_load_setuptools_instantiation"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
%files -n python3-%{pypiname}
|
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
%{python3_sitelib}/%{pypiname}
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
|
%{python3_sitelib}/%{pypiname}-%{version}-py%{python3_version}.egg-info
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.13.0-3
|
|
|
|
* Fri Jul 13 2018 Petr Viktorin <pviktori@redhat.com> - 0.6.0-3
|
|
|
|
- Exclude unsupported i686 arch
|
|
|
|
- Remove the Python 2 subpackage
|
|
|
|
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1590435
|
|
|
|
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 0.13.0-2
|
|
|
|
|
|
|
|
- Adjusted for Python 3.8 module in RHEL 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 18 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.13.0-1
|
|
|
|
|
|
|
|
- Update to 0.13.0 (#1750961)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-5
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-4
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-3
|
|
|
|
|
|
|
|
- Bootstrap for Python 3.8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 26 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-1
|
|
|
|
|
|
|
|
- Update to 0.12.0 (#1714369)
|
|
|
|
|
|
|
|
- Move python2-pluggy to a separate package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 14 2019 Thomas Moschny <thomas.moschny@gmx.de> - 0.11.0-1
|
|
|
|
|
|
|
|
- Update to 0.11.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-1
|
|
|
|
|
|
|
|
- Update to 0.9.0 (#1680414)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 08 2019 Alfredo Moralejo <amoralej@redhat.com> - 0.8.1-1
|
|
|
|
|
|
|
|
- Update to 0.8.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Nov 11 2018 Thomas Moschny <thomas.moschny@gmx.de> - 0.8.0-1
|
|
|
|
|
|
|
|
- Update to 0.8.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-4
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-3
|
|
|
|
|
|
|
|
- Bootstrap for Python 3.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|