Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| acd6a5049f | |||
| 0492cc2907 |
@@ -1,6 +1,3 @@
|
|||||||
/tox-1.4.2.zip
|
/tox-1.4.2.zip
|
||||||
/tox-1.6.1.tar.gz
|
/tox-1.6.1.tar.gz
|
||||||
/tox-1.7.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
|
|
||||||
|
|||||||
+10
-43
@@ -1,6 +1,6 @@
|
|||||||
%if 0%{?fedora} > 12
|
%if 0%{?fedora} > 12
|
||||||
# virtualenv for python3 is missing
|
# virtualenv for python3 is missing
|
||||||
%global with_python3 1
|
%global with_python3 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Tests requiring Internet connections are disabled by default
|
# Tests requiring Internet connections are disabled by default
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
%global pypiname tox
|
%global pypiname tox
|
||||||
Name: python-tox
|
Name: python-tox
|
||||||
Version: 2.3.1
|
Version: 1.7.1
|
||||||
Release: 1%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Virtualenv-based automation of test activities
|
Summary: Virtualenv-based automation of test activities
|
||||||
|
|
||||||
# file toxbootstrap.py is licensed under MIT License
|
# file toxbootstrap.py is licensed under MIT License
|
||||||
@@ -20,18 +20,18 @@ License: GPLv2+ and MIT
|
|||||||
URL: http://codespeak.net/tox
|
URL: http://codespeak.net/tox
|
||||||
Source0: http://pypi.python.org/packages/source/t/%{pypiname}/%{pypiname}-%{version}.tar.gz
|
Source0: http://pypi.python.org/packages/source/t/%{pypiname}/%{pypiname}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: python-tox-Fix-command-expansion-and-parsing.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
Requires: python-py
|
Requires: python-py
|
||||||
Requires: python-virtualenv >= 1.11.2
|
Requires: python-virtualenv >= 1.11.2
|
||||||
Requires: python-pluggy
|
|
||||||
# required for check
|
# required for check
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
BuildRequires: python-py
|
BuildRequires: python-py
|
||||||
BuildRequires: pytest
|
BuildRequires: pytest
|
||||||
BuildRequires: python-virtualenv >= 1.11.2
|
BuildRequires: python-virtualenv
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -49,8 +49,6 @@ can use for:
|
|||||||
%package -n python3-%{pypiname}
|
%package -n python3-%{pypiname}
|
||||||
Summary: Virtualenv-based automation of test activities
|
Summary: Virtualenv-based automation of test activities
|
||||||
Requires: python3-py
|
Requires: python3-py
|
||||||
Requires: python3-pluggy
|
|
||||||
# python3-virtualenv is rhbz#537246
|
|
||||||
Requires: python3-virtualenv
|
Requires: python3-virtualenv
|
||||||
BuildRequires: python3-py
|
BuildRequires: python3-py
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
@@ -68,11 +66,9 @@ can use for:
|
|||||||
boilerplate and merging CI and shell-based testing.
|
boilerplate and merging CI and shell-based testing.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pypiname}-%{version}
|
%setup -q -n %{pypiname}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
# remove bundled egg-info
|
|
||||||
rm -rf %{pypiname}.egg-info
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
@@ -113,50 +109,21 @@ popd
|
|||||||
#TOXENV=py26 %{__python} setup.py test
|
#TOXENV=py26 %{__python} setup.py test
|
||||||
#%endif
|
#%endif
|
||||||
|
|
||||||
%if 0%{?fedora}>=17
|
%if 0%{?fedora}>=17
|
||||||
TOXENV=py27 %{__python} setup.py test
|
TOXENV=py27 %{__python} setup.py test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc ISSUES.txt doc
|
%doc LICENSE ISSUES.txt doc
|
||||||
%license LICENSE
|
|
||||||
%{_bindir}/%{pypiname}
|
%{_bindir}/%{pypiname}
|
||||||
%{_bindir}/%{pypiname}-quickstart
|
%{_bindir}/%{pypiname}-quickstart
|
||||||
%{python_sitelib}/%{pypiname}
|
%{python_sitelib}/%{pypiname}
|
||||||
%{python_sitelib}/%{pypiname}-%{version}-py2.?.egg-info
|
%{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
|
%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
|
* Wed Aug 13 2014 Matthias Runge <mrunge@redhat.com> - 1.7.1-3
|
||||||
- Fix ConfigError: ConfigError: substitution key 'posargs' not found
|
- Fix ConfigError: ConfigError: substitution key 'posargs' not found
|
||||||
(rhbz#1127961, rhbz#1128562)
|
(rhbz#1127961, rhbz#1128562)
|
||||||
|
|||||||
Reference in New Issue
Block a user