update to 1.6.1
This commit is contained in:
parent
f3cb1e6174
commit
b16e8f3214
3 changed files with 55 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
/tox-1.4.2.zip
|
||||
/tox-1.6.1.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
%if 0%{?fedora} > 12
|
||||
%global with_python3 0
|
||||
%endif
|
||||
|
||||
# Tests requiring Internet connections are disabled by default
|
||||
# pass --with internet to run them (e.g. when doing a local rebuild
|
||||
# for sanity checks before committing)
|
||||
|
|
@ -6,15 +10,14 @@
|
|||
|
||||
%global pypiname tox
|
||||
Name: python-tox
|
||||
Version: 1.4.2
|
||||
Release: 9%{?dist}
|
||||
Version: 1.6.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Virtualenv-based automation of test activities
|
||||
|
||||
# file toxbootstrap.py is licensed under MIT License
|
||||
License: GPLv2+ and MIT
|
||||
URL: http://codespeak.net/tox
|
||||
Source0: http://pypi.python.org/packages/source/t/%{pypiname}/%{pypiname}-%{version}.zip
|
||||
#md5=dc52acf22eb57eaa33e704f8a54e7b34
|
||||
Source0: http://pypi.python.org/packages/source/t/%{pypiname}/%{pypiname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel
|
||||
|
|
@ -39,13 +42,53 @@ can use for:
|
|||
- acting as a frontend to Continuous Integration servers, greatly reducing
|
||||
boilerplate and merging CI and shell-based testing.
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-%{pypiname}
|
||||
Summary: Virtualenv-based automation of test activities
|
||||
Requires: python3-py
|
||||
Requires: python3-virtualenv
|
||||
BuildRequires: python3-py
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-virtualenv
|
||||
|
||||
%description -n python3-%{pypiname}
|
||||
Tox as is a generic virtualenv management and test command line tool you
|
||||
can use for:
|
||||
|
||||
- checking your package installs correctly with different Python versions
|
||||
and interpreters
|
||||
- running your tests in each of the environments, configuring your test tool
|
||||
of choice
|
||||
- acting as a frontend to Continuous Integration servers, greatly reducing
|
||||
boilerplate and merging CI and shell-based testing.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pypiname}-%{version}
|
||||
%if 0%{?with_python3}
|
||||
cp -a . %{py3dir}
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
%if 0%{?with_python3}
|
||||
pushd %{py3dir}
|
||||
%{__python3} setup.py build
|
||||
popd
|
||||
%endif # with_python3
|
||||
|
||||
|
||||
%install
|
||||
%if 0%{?with_python3}
|
||||
pushd %{py3dir}
|
||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||
mv %{buildroot}%{_bindir}/tox %{buildroot}%{_bindir}/python3-tox
|
||||
mv %{buildroot}%{_bindir}/tox-quickstart %{buildroot}%{_bindir}/python3-tox-quickstart
|
||||
popd
|
||||
%endif # with_python3
|
||||
|
||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
||||
|
||||
# if internet connection available, run tests
|
||||
|
|
@ -60,20 +103,24 @@ can use for:
|
|||
#TOXENV=py26 %{__python} setup.py test
|
||||
#%endif
|
||||
|
||||
%if 0%{?fedora}==17 || 0%{?fedora}==18
|
||||
%if 0%{?fedora}>=17
|
||||
TOXENV=py27 %{__python} setup.py test
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc LICENSE README.txt ISSUES.txt doc
|
||||
%doc LICENSE ISSUES.txt doc
|
||||
%{_bindir}/%{pypiname}
|
||||
%{_bindir}/%{pypiname}-quickstart
|
||||
%{python_sitelib}/%{pypiname}
|
||||
%{python_sitelib}/%{pypiname}-%{version}-py2.?.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Sep 24 2013 Matthias Runge <mrunge@redhat.com> - 1.6.1-1
|
||||
- update to 1.6.1
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
dc52acf22eb57eaa33e704f8a54e7b34 tox-1.4.2.zip
|
||||
853e9024d4e51f68045da8907def81c5 tox-1.6.1.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue