Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 99c28efbbf | |||
| e65973ae70 | |||
| 11429189f0 | |||
| 79129af11e | |||
| b42ab61dd8 | |||
| 6e5b2889d8 | |||
| 795f3ebf4c |
@@ -1,3 +1,6 @@
|
||||
/tox-1.4.2.zip
|
||||
/tox-1.6.1.tar.gz
|
||||
/tox-1.7.1.tar.gz
|
||||
/tox-1.8.1.tar.gz
|
||||
/tox-2.1.1.tar.gz
|
||||
/tox-2.3.1.tar.gz
|
||||
|
||||
+43
-10
@@ -1,6 +1,6 @@
|
||||
%if 0%{?fedora} > 12
|
||||
# virtualenv for python3 is missing
|
||||
%global with_python3 0
|
||||
%global with_python3 1
|
||||
%endif
|
||||
|
||||
# Tests requiring Internet connections are disabled by default
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
%global pypiname tox
|
||||
Name: python-tox
|
||||
Version: 1.7.1
|
||||
Release: 3%{?dist}
|
||||
Version: 2.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Virtualenv-based automation of test activities
|
||||
|
||||
# file toxbootstrap.py is licensed under MIT License
|
||||
@@ -20,18 +20,18 @@ License: GPLv2+ and MIT
|
||||
URL: http://codespeak.net/tox
|
||||
Source0: http://pypi.python.org/packages/source/t/%{pypiname}/%{pypiname}-%{version}.tar.gz
|
||||
|
||||
Patch0: python-tox-Fix-command-expansion-and-parsing.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python-py
|
||||
Requires: python-virtualenv >= 1.11.2
|
||||
Requires: python-pluggy
|
||||
# required for check
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: python-py
|
||||
BuildRequires: pytest
|
||||
BuildRequires: python-virtualenv
|
||||
BuildRequires: python-virtualenv >= 1.11.2
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -49,6 +49,8 @@ can use for:
|
||||
%package -n python3-%{pypiname}
|
||||
Summary: Virtualenv-based automation of test activities
|
||||
Requires: python3-py
|
||||
Requires: python3-pluggy
|
||||
# python3-virtualenv is rhbz#537246
|
||||
Requires: python3-virtualenv
|
||||
BuildRequires: python3-py
|
||||
BuildRequires: python3-pytest
|
||||
@@ -66,9 +68,11 @@ can use for:
|
||||
boilerplate and merging CI and shell-based testing.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%prep
|
||||
%setup -q -n %{pypiname}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
# remove bundled egg-info
|
||||
rm -rf %{pypiname}.egg-info
|
||||
|
||||
%if 0%{?with_python3}
|
||||
rm -rf %{py3dir}
|
||||
@@ -109,21 +113,50 @@ popd
|
||||
#TOXENV=py26 %{__python} setup.py test
|
||||
#%endif
|
||||
|
||||
%if 0%{?fedora}>=17
|
||||
%if 0%{?fedora}>=17
|
||||
TOXENV=py27 %{__python} setup.py test
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%doc LICENSE ISSUES.txt doc
|
||||
%doc ISSUES.txt doc
|
||||
%license LICENSE
|
||||
%{_bindir}/%{pypiname}
|
||||
%{_bindir}/%{pypiname}-quickstart
|
||||
%{python_sitelib}/%{pypiname}
|
||||
%{python_sitelib}/%{pypiname}-%{version}-py2.?.egg-info
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python3-tox
|
||||
%{_bindir}/python3-%{pypiname}
|
||||
%{_bindir}/python3-%{pypiname}-quickstart
|
||||
%{python3_sitelib}/%{pypiname}
|
||||
%{python3_sitelib}/%{pypiname}-%{version}-py%{python3_version}.egg-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Feb 29 2016 Matthias Runge <mrunge@redhat.com> - 2.3.1-1
|
||||
- update to 2.3.1
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Nov 12 2015 Kalev Lember <klember@redhat.com> - 2.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||
|
||||
* Tue Aug 25 2015 Matthias Runge <mrunge@redhat.com> - 2.1.1-2
|
||||
- add requirement: python-pluggy
|
||||
|
||||
* Tue Aug 18 2015 Matthias Runge <mrunge@redhat.com> - 2.1.1-1
|
||||
- update to 2.1.1
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Tue Dec 16 2014 Matthias Runge <mrunge@redhat.com> - 1.8.1-1
|
||||
- update to 1.8.1
|
||||
|
||||
* Wed Aug 13 2014 Matthias Runge <mrunge@redhat.com> - 1.7.1-3
|
||||
- Fix ConfigError: ConfigError: substitution key 'posargs' not found
|
||||
(rhbz#1127961, rhbz#1128562)
|
||||
|
||||
Reference in New Issue
Block a user