15
0
forked from pool/python-six
Todd R
2015-07-29 12:57:25 +00:00
committed by Git OBS Bridge
parent 358e812c83
commit 67eeb13a64

View File

@@ -15,9 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# NOTE(saschpe): git invocation and pythonpath issues with testrepository
# enable testing with a build conditional (off by default):
%bcond_with test
Name: python-six
Version: 1.9.0
@@ -29,11 +26,9 @@ Group: Development/Libraries/Python
Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
%if %{with test}
# Test requirements:
BuildRequires: python-py
BuildRequires: python-pytest
%endif
%if 0%{?suse_version} <= 1110
BuildRequires: python-argparse
Requires: python-argparse
@@ -61,10 +56,8 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if %{with test}
%check
python test_six.py
%endif
%files
%defattr(-,root,root)