Blame SPECS/python-testrepository.spec

d8a88f
# Created by pyp2rpm-1.0.1
d8a88f
%global pypi_name testrepository
d8a88f
d8a88f
Name:           python-%{pypi_name}
d8a88f
Version:        0.0.20
d8a88f
Release:        24%{?dist}
d8a88f
Summary:        A repository of test results
d8a88f
d8a88f
License:        ASL 2.0
d8a88f
URL:            https://launchpad.net/testrepository
d8a88f
Source0:        https://pypi.python.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
d8a88f
BuildArch:      noarch
d8a88f
d8a88f
%description
d8a88f
Provides a database of test results which can be used to
d8a88f
support easy developer workflows, supporting functionality
d8a88f
like isolating failing tests. Testrepository is compatible
d8a88f
with any test suite that can output subunit. This includes any
d8a88f
TAP test suite and any pyunit compatible test suite.
d8a88f
d8a88f
d8a88f
%package -n python3-%{pypi_name}
d8a88f
Summary:        A repository of test results (for Python 3)
d8a88f
BuildRequires:  python3-devel
d8a88f
BuildRequires:  python3-setuptools
d8a88f
BuildRequires:  python3-fixtures
d8a88f
BuildRequires:  python3-subunit
d8a88f
BuildRequires:  python3-testtools
d8a88f
BuildRequires:  python3-extras
d8a88f
Requires:       python3-fixtures
d8a88f
Requires:       python3-subunit
d8a88f
Requires:       python3-testtools
d8a88f
Requires:       python3-extras
d8a88f
%{?python_provide:%python_provide python3-%{pypi_name}}
d8a88f
d8a88f
# Provide a clean upgrade path
d8a88f
Obsoletes:      python-%{pypi_name} < 0.0.20-20
d8a88f
Obsoletes:      python2-%{pypi_name} < 0.0.20-20
d8a88f
d8a88f
%description -n python3-%{pypi_name}
d8a88f
Provides a database of test results which can be used to
d8a88f
support easy developer workflows, supporting functionality
d8a88f
like isolating failing tests. Testrepository is compatible
d8a88f
with any test suite that can output subunit. This includes any
d8a88f
TAP test suite and any pyunit compatible test suite.
d8a88f
d8a88f
This package is for Python 3.
d8a88f
d8a88f
%prep
d8a88f
%setup -q -n %{pypi_name}-%{version}
d8a88f
# Remove bundled egg-info
d8a88f
rm -rf %{pypi_name}.egg-info
d8a88f
d8a88f
%build
d8a88f
%py3_build
d8a88f
d8a88f
d8a88f
%install
d8a88f
%py3_install
d8a88f
mv %{buildroot}%{_bindir}/testr{,-%{python3_version}}
d8a88f
ln -s ./testr-%{python3_version} %{buildroot}%{_bindir}/testr
d8a88f
d8a88f
d8a88f
%files -n python3-%{pypi_name}
d8a88f
%doc README.txt Apache-2.0
d8a88f
%{_bindir}/testr
d8a88f
%{_bindir}/testr-%{python3_version}
d8a88f
%{python3_sitelib}/%{pypi_name}/
d8a88f
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
d8a88f
d8a88f
%changelog
d8a88f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-24
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d8a88f
d8a88f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-23
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d8a88f
d8a88f
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.20-22
d8a88f
- Rebuilt for Python 3.9
d8a88f
d8a88f
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-21
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d8a88f
d8a88f
* Fri Sep 20 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.20-20
d8a88f
- Subpackage python2-testrepository has been removed
d8a88f
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
d8a88f
d8a88f
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.20-19
d8a88f
- Rebuilt for Python 3.8
d8a88f
d8a88f
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-18
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d8a88f
d8a88f
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-17
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d8a88f
d8a88f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-16
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d8a88f
d8a88f
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.0.20-15
d8a88f
- Rebuilt for Python 3.7
d8a88f
d8a88f
* Fri Mar 16 2018 Tomas Orsava <torsava@redhat.com> - 0.0.20-14
d8a88f
- Conditionalize the Python 2 subpackage
d8a88f
d8a88f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-13
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d8a88f
d8a88f
* Fri Feb  2 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 0.0.20-12
d8a88f
- Finish modernizing spec file
d8a88f
d8a88f
* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.0.20-11
d8a88f
- Update Python 2 dependency declarations to new packaging standards
d8a88f
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
d8a88f
d8a88f
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.0.20-10
d8a88f
- Python 2 binary package renamed to python2-testrepository
d8a88f
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
d8a88f
d8a88f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-9
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d8a88f
d8a88f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-8
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d8a88f
d8a88f
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.0.20-7
d8a88f
- Rebuild for Python 3.6
d8a88f
d8a88f
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20-6
d8a88f
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
d8a88f
d8a88f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-5
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d8a88f
d8a88f
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20-4
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
d8a88f
- Remove check phases as tests arent run at all
d8a88f
d8a88f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20-3
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d8a88f
d8a88f
* Wed Jun 03 2015 Pádraig Brady <pbrady@redhat.com> - 0.0.20-2
d8a88f
- Fix python2 breakage in previous package
d8a88f
d8a88f
* Tue Dec 09 2014 Miro Hrončok <mhroncok@redhat.com> - 0.0.20-1
d8a88f
- Update to 0.0.20
d8a88f
- Introduce Python 3 subpackage
d8a88f
d8a88f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.18-2
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d8a88f
d8a88f
* Tue Apr 15 2014 Pádraig Brady <pbrady@redhat.com> - 0.0.18-1
d8a88f
- Latest upstream
d8a88f
d8a88f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.15-5
d8a88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d8a88f
d8a88f
* Thu May 30 2013 Pádraig Brady <P@draigBrady.com> - 0.0.15-4
d8a88f
- Update to 0.0.15
d8a88f
d8a88f
* Wed Feb 20 2013 Pádraig Brady <P@draigBrady.com> - 0.0.14-1
d8a88f
- Update to 0.0.14
d8a88f
d8a88f
* Thu Jan 03 2013 Pádraig Brady <P@draigBrady.com> - 0.0.11-1
d8a88f
- Initial package.