forked from pool/python-wsgi_intercept
- Don't install testsuite globally
- Run testsuite - Fix requirement list - Recommend python-requests for the requests-based backend (don't recommend httplib2, it isn't any better than the stdlib module 'httplib' due to it's SSL insufficencies) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
1ecb786cc5
commit
f7cc06f990
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 17 15:47:55 UTC 2014 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Don't install testsuite globally
|
||||||
|
- Run testsuite
|
||||||
|
- Fix requirement list
|
||||||
|
- Recommend python-requests for the requests-based backend
|
||||||
|
(don't recommend httplib2, it isn't any better than the stdlib
|
||||||
|
module 'httplib' due to it's SSL insufficencies)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 17 10:09:12 UTC 2014 - dmueller@suse.com
|
Fri Jan 17 10:09:12 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
@@ -27,14 +27,11 @@ Source: http://pypi.python.org/packages/source/w/wsgi_intercept/wsgi_int
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
# Test requirements:
|
# Test requirements:
|
||||||
BuildRequires: python-Paste
|
|
||||||
BuildRequires: python-WebTest
|
|
||||||
BuildRequires: python-httplib2
|
BuildRequires: python-httplib2
|
||||||
#BuildRequires: python-mechanize
|
|
||||||
#BuildRequires: python-mechanoid
|
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
#BuildRequires: python-webunit
|
BuildRequires: python-pytest >= 2.4
|
||||||
#BuildRequires: python-zope.testbrowser
|
BuildRequires: python-requests
|
||||||
|
Recommends: python-requests
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
@@ -57,13 +54,14 @@ python setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
rm -rf %{buildroot}%{python_sitelib}/test
|
||||||
|
|
||||||
#NOTE(saschpe): Fix broken tests
|
%check
|
||||||
#%%check
|
nosetests
|
||||||
#python setup.py test
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/wsgi_intercept-0.6.0-py2.7.egg-info
|
||||||
|
%{python_sitelib}/wsgi_intercept
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user