SHA256
1
0
forked from pool/python-py

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
This commit is contained in:
Stephan Kulow 2013-01-17 09:03:08 +00:00 committed by Git OBS Bridge
parent 4e2f397d6c
commit dc9989fd59
6 changed files with 89 additions and 5 deletions

3
py-1.4.12.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36767367ba7517375dc5c1cb066e4f8fe3e05b7eacf3600c011fb510cc45122f
size 227103

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75ad266f591624b6d8c62a99819558e1266aa043bbaf0185bb649b36f1bdded0
size 224945

View File

@ -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

View File

@ -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

5
python3-py.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Jan 12 16:42:01 UTC 2013 - p.drouand@gmail.com
- Initial python3 support

64
python3-py.spec Normal file
View File

@ -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