Search
SailfishOS Open Build Service
>
Projects
>
home:nodevel
:
python3-pandas
>
python3-py
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
[-]
[+]
Added
python3-py.spec
@@ -0,0 +1,229 @@ +# +# spec file for package python3-py +# +# Copyright (c) 2016 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/ +# + +%{?!py3_ver: %global py3_ver 3.4} +%{?!python3_sitearch: %global python3_sitearch /usr/lib/python%{py3_ver}/site-packages/} +%{?!python3_sitelib: %global python3_sitelib /usr/lib/python%{py3_ver}/site-packages/} + +Name: python3-py +Version: 1.4.31 +Release: 38.1 +Summary: Library with cross-python path, ini-parsing, io, code, log facilities +License: MIT +Group: Development/Languages/Python +Url: http://pylib.readthedocs.org/ +Source: https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz +BuildRequires: python3-base +BuildRequires: python3-devel +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 + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc LICENSE README.txt +%{python3_sitelib}/* + +%changelog +* Sun May 8 2016 arun@gmx.de +- specfile: + * changed to https for source url + * updated source url to files.pythonhosted.org +* Sat Nov 28 2015 arun@gmx.de +- update to version 1.4.31: + * fix local().copy(dest, mode=True) to also work with unicode. + * pass better error message with svn EEXIST paths +* Wed Jul 8 2015 toddrme2178@gmail.com +- Split documentation into separate package to avoid build loop +* Tue Jun 30 2015 arun@gmx.de +- update to version 1.4.30: + * fix issue68 an assert with a multiline list comprehension was not + reported correctly. Thanks Henrik Heibuerger. +- changes from version 1.4.29: + * fix issue55: revert a change to the statement finding algorithm + which is used by pytest for generating tracebacks. Thanks Daniel + Hahler for initial analysis. + * fix pytest issue254 for when traceback rendering can’t find valid + source code. Thanks Ionel Cristian Maries. +* Sat May 30 2015 arun@gmx.de +- update to version 1.4.28: + * fix issue64 – dirpath regression when “abs=True” is passed. Thanks + Gilles Dartiguelongue. +* Sat May 9 2015 arun@gmx.de +- update to version 1.4.27: + * avoid calling normpath twice in py.path.local + * py.builtin._reraise properly reraises under Python3 now. + * fix issue53 - remove module index, thanks jenisys. + * allow posix path separators when "fnmatch" is called. Thanks + Christian Long for the complete PR. +* Fri Jan 2 2015 arun@gmx.de +- specfile: + * update copyright year + * update url +- update to version 1.4.26: + * avoid calling normpath twice in py.path.local + * py.builtin._reraise properly reraises under Python3 now. + * fix issue53 - remove module index, thanks jenisys. + * allow posix path separators when "fnmatch" is called. Thanks Christian Long for the complete PR. +* Sun Oct 5 2014 toms@opensuse.org +- Update to 1.4.25 + - fix issue52: vaguely fix py25 compat of py.path.local (it's not + officially supported), also fix docs + - fix pytest issue 589: when checking if we have a recursion error + check for the specific "maximum recursion depth" text of the + exception. + Changes in 1.4.24: +- Fix retrieving source when an else: line has an other statement on + the same line. +- add localpath read_text/write_text/read_bytes/write_bytes methods + as shortcuts and clearer bytes/text interfaces for read/write. + Adapted from a PR from Paul Moore. + Changes in 1.4.23: +- use newer apipkg version which makes attribute access on + alias modules resolve to None rather than an ImportError. + This helps with code that uses inspect.getframeinfo() + on py34 which causes a complete walk on sys.modules + thus triggering the alias module to resolve and blowing + up with ImportError. The negative side is that something + like "py.test.X" will now result in None instead of + "importerror: pytest" if pytest is not installed. + But you shouldn't import "py.test" anyway anymore. +- adapt one svn test to only check for any exception instead + of specific ones because different svn versions cause different + errors and we don't care. +* Thu Aug 7 2014 toddrme2178@gmail.com +- Remove python3-pytest <--> python3-py dependency cycle. +* Wed Jul 30 2014 toddrme2178@gmail.com +- Update to 1.4.22 + - refactor class-level registry on ForkedFunc child start/finish + event to become instance based (i.e. passed into the constructor) +- Update to 1.4.21 + - ForkedFunc now has class-level register_on_start/on_exit() + methods to allow adding information in the boxed process. + Thanks Marc Schlaich. + - ForkedFunc in the child opens in "auto-flush" mode for + stdout/stderr so that when a subprocess dies you can see + its output even if it didn't flush itself. + - refactor traceback generation in light of pytest issue 364 + (shortening tracebacks). you can now set a new traceback style + on a per-entry basis such that a caller can force entries to be + isplayed as short or long entries. + - win32: py.path.local.sysfind(name) will preferrably return files with + extensions so that if "X" and "X.bat" or "X.exe" is on the PATH, + one of the latter two will be returned. +- Enable unit tests +* Tue Jul 15 2014 toddrme2178@gmail.com +- Update to version 1.4.21: + - ForkedFunc now has class-level register_on_start/on_exit() + methods to allow adding information in the boxed process. + Thanks Marc Schlaich. + - ForkedFunc in the child opens in "auto-flush" mode for + stdout/stderr so that when a subprocess dies you can see + its output even if it didn't flush itself. + - refactor traceback generation in light of pytest issue 364 + (shortening tracebacks). you can now set a new traceback style + on a per-entry basis such that a caller can force entries to be + isplayed as short or long entries. + - win32: py.path.local.sysfind(name) will preferrably return files with + extensions so that if "X" and "X.bat" or "X.exe" is on the PATH, + one of the latter two will be returned. +- python3-Sphinx is much more mature. It seems to work fine now. + So switch to it from python-Sphinx +* Wed Apr 23 2014 toddrme2178@gmail.com +- Update to version 1.4.20: + + ignore unicode decode errors in xmlescape. Thanks Anatoly Bubenkoff. + + on python2 modify traceback.format_exception_only to match python3 + behaviour, namely trying to print unicode for Exception instances + + use a safer way for serializing exception reports (helps to fix + pytest issue413) +- Drop %%check section, we never ran tests. That would need python-pytest + and introduce a cycle +* Fri Jan 3 2014 mvyskocil@suse.com +- update to 1.4.19: + - merge in apipkg fixes + - some micro-optimizations in py/_code/code.py for speeding + up pytest runs. Thanks Alex Gaynor for initiative. + - check PY_COLORS=1 or PY_COLORS=0 to force coloring/not-coloring + for py.io.TerminalWriter() independently from capabilities + of the output file. Thanks Marc Abramowitz for the PR. + - some fixes to unicode handling in assertion handling. + Thanks for the PR to Floris Bruynooghe. (This helps + to fix pytest issue 319). + - depend on setuptools presence, remove distribute_setup + * 1.4.18: + - introduce path.ensure_dir() as a synonym for ensure(..., dir=1) + - some unicode/python3 related fixes wrt to path manipulations + (if you start passing unicode particular in py2 you might + still get problems, though) + * 1.4.17: + - make py.io.TerminalWriter() prefer colorama if it is available + and avoid empty lines when separator-lines are printed by + being defensive and reducing the working terminalwidth by 1 + - introduce optional "expanduser" argument to py.path.local + to that local("~", expanduser=True) gives the home + directory of "user". + * 1.4.16: + - fix issue35 - define __gt__ ordering between a local path + and strings