1
0

- Reduce buildrequires as long as the testsuite and doc build isn't fixed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=2
This commit is contained in:
Sascha Peilicke 2013-04-29 14:11:59 +00:00 committed by Git OBS Bridge
parent e9e2212cdf
commit 8c88c70cd6
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 29 14:14:25 UTC 2013 - speilicke@suse.com
- Reduce buildrequires as long as the testsuite and doc build isn't fixed
-------------------------------------------------------------------
Mon Apr 29 13:06:10 UTC 2013 - dmueller@suse.com

View File

@ -25,13 +25,14 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/w/waitress/waitress-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-Sphinx
BuildRequires: python-nose
BuildRequires: python-docutils
# Test requirements:
#BuildRequires: python-nose
# Documentation requirements:
#BuildRequires: python-Sphinx
#BuildRequires: python-docutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
BuildArch: noarch
%endif
@ -50,16 +51,18 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ .
%setup -q -n waitress-%{version}
%build
CFLAGS="%{optflags}" python setup.py build
python setup.py build
#python setup.py build_sphinx
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
#%check
#%%check
#python setup.py test
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt README.rst
%{python_sitelib}/*
%changelog