forked from pool/python-py
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:
parent
04a5535310
commit
29b7311e90
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:28dd0b90d29b386afb552efc4e355c889f4639ce93658a7872a2150ece28bb89
|
||||
size 190617
|
3
py-1.4.28.tar.gz
Normal file
3
py-1.4.28.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:664dbb9fd86c26d26e90aa93d15b8a19c859128bb66b3905bef954eba737eeb5
|
||||
size 191592
|
5
python-py-doc.changes
Normal file
5
python-py-doc.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 30 13:45:03 UTC 2015 - aj@ajaissle.de
|
||||
|
||||
- Split documentation into separate package to avoid build loop
|
||||
|
62
python-py-doc.spec
Normal file
62
python-py-doc.spec
Normal file
@ -0,0 +1,62 @@
|
||||
#
|
||||
# spec file for package python-py-doc
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-py-doc
|
||||
Version: 1.4.28
|
||||
Release: 0
|
||||
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pylib.org
|
||||
Source: http://pypi.python.org/packages/source/p/py/py-%{version}.tar.gz
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
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()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
The py lib is a Python development support library featuring
|
||||
the following tools and modules:
|
||||
|
||||
* py.path: uniform local and svn path objects
|
||||
* py.apipkg: explicit API control and lazy-importing
|
||||
* py.iniconfig: easy parsing of .ini files
|
||||
* py.code: dynamic code generation and introspection
|
||||
* py.path: uniform local and svn path objects
|
||||
|
||||
This package contains the documentation for Babel
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n py-%{version}
|
||||
|
||||
%build
|
||||
cd doc && make html && rm -r _build/html/.buildinfo
|
||||
|
||||
%install
|
||||
# Only building documentation
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE doc/_build/html
|
||||
|
||||
%changelog
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 30 13:45:03 UTC 2015 - aj@ajaissle.de
|
||||
|
||||
- Split documentation into separate package to avoid build loop
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 22 15:13:02 UTC 2015 - tbechtold@suse.com
|
||||
|
||||
- update to 1.4.28:
|
||||
- fix issue64 -- dirpath regression when "abs=True" is passed.
|
||||
- fix issue59: point to new repo site
|
||||
- allow a new ensuresyspath="append" mode for py.path.local.pyimport()
|
||||
so that a neccessary import path is appended instead of prepended to
|
||||
sys.path
|
||||
- strike undocumented, untested argument to py.path.local.pypkgpath
|
||||
- speed up py.path.local.dirpath by a factor of 10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 4 14:25:30 UTC 2015 - tbechtold@suse.com
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user