From dc9989fd5992e1a25f323e4993ebce1e76cc391ffaa0dd9e7658a80b4c59e9c0 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 17 Jan 2013 09:03:08 +0000 Subject: [PATCH] Accepting request 148575 from devel:languages:python Made required changes (forwarded request 148425 from posophe) OBS-URL: https://build.opensuse.org/request/show/148575 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py?expand=0&rev=6 --- py-1.4.12.zip | 3 +++ py-1.4.9.zip | 3 --- python-py.changes | 15 +++++++++++ python-py.spec | 4 +-- python3-py.changes | 5 ++++ python3-py.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 89 insertions(+), 5 deletions(-) create mode 100644 py-1.4.12.zip delete mode 100644 py-1.4.9.zip create mode 100644 python3-py.changes create mode 100644 python3-py.spec diff --git a/py-1.4.12.zip b/py-1.4.12.zip new file mode 100644 index 0000000..a34bc1f --- /dev/null +++ b/py-1.4.12.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36767367ba7517375dc5c1cb066e4f8fe3e05b7eacf3600c011fb510cc45122f +size 227103 diff --git a/py-1.4.9.zip b/py-1.4.9.zip deleted file mode 100644 index 0cad2af..0000000 --- a/py-1.4.9.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:75ad266f591624b6d8c62a99819558e1266aa043bbaf0185bb649b36f1bdded0 -size 224945 diff --git a/python-py.changes b/python-py.changes index b9bea86..1d6396e 100644 --- a/python-py.changes +++ b/python-py.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sat Jan 12 16:41:46 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + +------------------------------------------------------------------- +Sat Jan 12 16:40:43 UTC 2013 - p.drouand@gmail.com + +- Update to 1.4.12 version: + * fix python2.4 support - for pre-AST interpreters re-introduce + old way to find statements in exceptions (closes pytest issue 209) + * add tox.ini to distribution + * fix issue23 - print *,** args information in tracebacks, + thanks Manuel Jacob + ------------------------------------------------------------------- Fri Jun 22 13:34:17 UTC 2012 - saschpe@suse.de diff --git a/python-py.spec b/python-py.spec index 89ead61..bb972f1 100644 --- a/python-py.spec +++ b/python-py.spec @@ -1,7 +1,7 @@ # # spec file for package python-py # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-py -Version: 1.4.9 +Version: 1.4.12 Release: 0 Summary: Library with cross-python path, ini-parsing, io, code, log facilities License: MIT diff --git a/python3-py.changes b/python3-py.changes new file mode 100644 index 0000000..c1570c1 --- /dev/null +++ b/python3-py.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Jan 12 16:42:01 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + diff --git a/python3-py.spec b/python3-py.spec new file mode 100644 index 0000000..9b2bb4c --- /dev/null +++ b/python3-py.spec @@ -0,0 +1,64 @@ +# +# spec file for package python3-py +# +# Copyright (c) 2013 SUSE LINUX Products 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: python3-py +Version: 1.4.12 +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}.zip +# Don't use python3-sphinx it doesn't work for non-Factory repositories +BuildRequires: python-Sphinx +BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: python3-distribute +BuildRequires: unzip +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%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 + +%prep +%setup -q -n py-%{version} + +%build +python3 setup.py build +cd doc && make html && rm -r _build/html/.buildinfo # Generate HTML documentation + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%check +python3 setup.py test + +%files +%defattr(-,root,root,-) +%doc LICENSE README.txt doc/_build/html +%{python3_sitelib}/* + +%changelog