Hello community, here is the log from the commit of package python3-py for openSUSE:Factory checked in at 2015-06-01 09:51:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-py (Old) and /work/SRC/openSUSE:Factory/.python3-py.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-py" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-py/python3-py.changes 2015-05-11 19:49:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-py.new/python3-py.changes 2015-06-01 09:51:56.000000000 +0200 @@ -1,0 +2,7 @@ +Sat May 30 02:32:54 UTC 2015 - a...@gmx.de + +- update to version 1.4.28: + * fix issue64 – dirpath regression when “abs=True” is passed. Thanks + Gilles Dartiguelongue. + +------------------------------------------------------------------- Old: ---- py-1.4.27.tar.gz New: ---- py-1.4.28.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-py.spec ++++++ --- /var/tmp/diff_new_pack.CJpJOl/_old 2015-06-01 09:51:57.000000000 +0200 +++ /var/tmp/diff_new_pack.CJpJOl/_new 2015-06-01 09:51:57.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-py -Version: 1.4.27 +Version: 1.4.28 Release: 0 Summary: Library with cross-python path, ini-parsing, io, code, log facilities License: MIT ++++++ py-1.4.27.tar.gz -> py-1.4.28.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.27/CHANGELOG new/py-1.4.28/CHANGELOG --- old/py-1.4.27/CHANGELOG 2015-05-07 11:36:24.000000000 +0200 +++ new/py-1.4.28/CHANGELOG 2015-05-22 08:30:55.000000000 +0200 @@ -1,3 +1,9 @@ +1.4.28 +================================================== + +- fix issue64 -- dirpath regression when "abs=True" is passed. + Thanks Gilles Dartiguelongue. + 1.4.27 ================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.27/PKG-INFO new/py-1.4.28/PKG-INFO --- old/py-1.4.27/PKG-INFO 2015-05-07 11:36:24.000000000 +0200 +++ new/py-1.4.28/PKG-INFO 2015-05-22 08:30:56.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: py -Version: 1.4.27 +Version: 1.4.28 Summary: library with cross-python path, ini-parsing, io, code, log facilities Home-page: http://pylib.readthedocs.org/ Author: holger krekel, Ronny Pfannschmidt, Benjamin Peterson and others diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.27/py/__init__.py new/py-1.4.28/py/__init__.py --- old/py-1.4.27/py/__init__.py 2015-05-07 11:36:24.000000000 +0200 +++ new/py-1.4.28/py/__init__.py 2015-05-22 08:30:55.000000000 +0200 @@ -8,7 +8,7 @@ (c) Holger Krekel and others, 2004-2014 """ -__version__ = '1.4.27' +__version__ = '1.4.28' from py import _apipkg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.27/py/_path/local.py new/py-1.4.28/py/_path/local.py --- old/py-1.4.27/py/_path/local.py 2015-05-07 11:36:24.000000000 +0200 +++ new/py-1.4.28/py/_path/local.py 2015-05-22 08:30:55.000000000 +0200 @@ -304,13 +304,15 @@ raise ValueError("invalid part specification %r" % name) return res - def dirpath(self, *args): + def dirpath(self, *args, **kwargs): """ return the directory path joined with any given path arguments. """ - path = object.__new__(self.__class__) - path.strpath = dirname(self.strpath) - if args: - path = path.join(*args) - return path + if not kwargs: + path = object.__new__(self.__class__) + path.strpath = dirname(self.strpath) + if args: + path = path.join(*args) + return path + return super(LocalPath, self).dirpath(*args, **kwargs) def join(self, *args, **kwargs): """ return a new path by appending all 'args' as path diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.27/py.egg-info/PKG-INFO new/py-1.4.28/py.egg-info/PKG-INFO --- old/py-1.4.27/py.egg-info/PKG-INFO 2015-05-07 11:36:24.000000000 +0200 +++ new/py-1.4.28/py.egg-info/PKG-INFO 2015-05-22 08:30:56.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: py -Version: 1.4.27 +Version: 1.4.28 Summary: library with cross-python path, ini-parsing, io, code, log facilities Home-page: http://pylib.readthedocs.org/ Author: holger krekel, Ronny Pfannschmidt, Benjamin Peterson and others diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.27/setup.py new/py-1.4.28/setup.py --- old/py-1.4.27/setup.py 2015-05-07 11:36:24.000000000 +0200 +++ new/py-1.4.28/setup.py 2015-05-22 08:30:55.000000000 +0200 @@ -7,7 +7,7 @@ name='py', description='library with cross-python path, ini-parsing, io, code, log facilities', long_description = open('README.txt').read(), - version='1.4.27', + version='1.4.28', url='http://pylib.readthedocs.org/', license='MIT license', platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.27/testing/path/test_local.py new/py-1.4.28/testing/path/test_local.py --- old/py-1.4.27/testing/path/test_local.py 2015-05-07 11:36:24.000000000 +0200 +++ new/py-1.4.28/testing/path/test_local.py 2015-05-22 08:30:55.000000000 +0200 @@ -34,6 +34,12 @@ p = tmpdir.join("..//%s/" % tmpdir.basename) assert p == tmpdir + @skiponwin32 + def test_dirpath_abs_no_abs(self, tmpdir): + p = tmpdir.join('foo') + assert p.dirpath('/bar') == tmpdir.join('bar') + assert tmpdir.dirpath('/bar', abs=True) == py.path.local('/bar') + def test_gethash(self, tmpdir): md5 = py.builtin._tryimport('md5', 'hashlib').md5 lib = py.builtin._tryimport('sha', 'hashlib')