diff --git a/py-1.4.26.tar.gz b/py-1.4.26.tar.gz deleted file mode 100644 index 8eeff54..0000000 --- a/py-1.4.26.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28dd0b90d29b386afb552efc4e355c889f4639ce93658a7872a2150ece28bb89 -size 190617 diff --git a/py-1.4.28.tar.gz b/py-1.4.28.tar.gz new file mode 100644 index 0000000..defd5ca --- /dev/null +++ b/py-1.4.28.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:664dbb9fd86c26d26e90aa93d15b8a19c859128bb66b3905bef954eba737eeb5 +size 191592 diff --git a/python-py-doc.changes b/python-py-doc.changes new file mode 100644 index 0000000..de2be9b --- /dev/null +++ b/python-py-doc.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Jun 30 13:45:03 UTC 2015 - aj@ajaissle.de + +- Split documentation into separate package to avoid build loop + diff --git a/python-py-doc.spec b/python-py-doc.spec new file mode 100644 index 0000000..b36219b --- /dev/null +++ b/python-py-doc.spec @@ -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 diff --git a/python-py.changes b/python-py.changes index 5de62c8..0edf8aa 100644 --- a/python-py.changes +++ b/python-py.changes @@ -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 diff --git a/python-py.spec b/python-py.spec index e6de223..4ea8153 100644 --- a/python-py.spec +++ b/python-py.spec @@ -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