Accepting request 314745 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/314745 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
04a5535310
commit
29b7311e90
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-py
|
||||
Version: 1.4.26
|
||||
Version: 1.4.28
|
||||
Release: 0
|
||||
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
|
||||
License: MIT
|
||||
@@ -25,8 +25,7 @@ Group: Development/Languages/Python
|
||||
Url: http://pylib.org
|
||||
Source: http://pypi.python.org/packages/source/p/py/py-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-setuptools
|
||||
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()")}
|
||||
@@ -49,14 +48,13 @@ the following tools and modules:
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
cd doc && make html && rm -r _build/html/.buildinfo # Generate HTML documentation
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README.txt doc/_build/html
|
||||
%doc LICENSE README.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user