commit python3-path.py for openSUSE:Factory
Hello community, here is the log from the commit of package python3-path.py for openSUSE:Factory checked in at 2015-11-18 22:33:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-path.py (Old) and /work/SRC/openSUSE:Factory/.python3-path.py.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-path.py" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-path.py/python3-path.py.changes 2015-09-30 05:50:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-path.py.new/python3-path.py.changes 2015-11-18 22:33:56.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Oct 8 16:43:14 UTC 2015 - arun@gmx.de + +- update to version 8.1.2: + * #105: By using unicode literals, avoid errors rendering the + backslash in __get_owner_windows. + +------------------------------------------------------------------- Old: ---- path.py-8.1.1.tar.gz New: ---- path.py-8.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-path.py.spec ++++++ --- /var/tmp/diff_new_pack.uTrIV0/_old 2015-11-18 22:33:56.000000000 +0100 +++ /var/tmp/diff_new_pack.uTrIV0/_new 2015-11-18 22:33:56.000000000 +0100 @@ -17,19 +17,19 @@ Name: python3-path.py -Version: 8.1.1 +Version: 8.1.2 Release: 0 Summary: A module wrapper for os.path License: MIT Group: Development/Languages/Python Url: http://github.com/jaraco/path.py Source: http://pypi.python.org/packages/source/p/path.py/path.py-%{version}.tar.gz +BuildRequires: python3-appdirs BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-runner >= 2.6 BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm -BuildRequires: python3-appdirs Requires: python3-appdirs BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch ++++++ path.py-8.1.1.tar.gz -> path.py-8.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/path.py-8.1.1/.hgtags new/path.py-8.1.2/.hgtags --- old/path.py-8.1.1/.hgtags 2015-09-10 09:59:51.000000000 +0200 +++ new/path.py-8.1.2/.hgtags 2015-10-04 16:00:56.000000000 +0200 @@ -33,3 +33,4 @@ 936d47e8d38319be37b06f0e05b1356eeaf7390e 8.0 06219e4168be20471a7ceedf617f7464c0e63f6b 8.1 095ad9f1f5db19d1dfc69f67d66e63b38f50270b 8.1.1 +66874c317d1692313127a0c7310e19f64fdc7bd0 8.1.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/path.py-8.1.1/CHANGES.rst new/path.py-8.1.2/CHANGES.rst --- old/path.py-8.1.1/CHANGES.rst 2015-08-27 18:26:36.000000000 +0200 +++ new/path.py-8.1.2/CHANGES.rst 2015-10-04 16:00:47.000000000 +0200 @@ -1,3 +1,14 @@ +8.1.2 +----- + +- #105: By using unicode literals, avoid errors rendering the + backslash in __get_owner_windows. + +8.1.1 +----- + +Reluctantly restored reference to path.path in ``__all__``. + 8.1 --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/path.py-8.1.1/PKG-INFO new/path.py-8.1.2/PKG-INFO --- old/path.py-8.1.1/PKG-INFO 2015-09-10 10:00:02.000000000 +0200 +++ new/path.py-8.1.2/PKG-INFO 2015-10-04 16:02:32.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: path.py -Version: 8.1.1 +Version: 8.1.2 Summary: A module wrapper for os.path Home-page: http://github.com/jaraco/path.py Author: Jason R. Coombs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/path.py-8.1.1/docs/api.rst new/path.py-8.1.2/docs/api.rst --- old/path.py-8.1.1/docs/api.rst 2013-10-27 19:03:16.000000000 +0100 +++ new/path.py-8.1.2/docs/api.rst 2015-10-04 15:58:04.000000000 +0200 @@ -2,6 +2,10 @@ API === +.. important:: + The documented methods' signatures are not always correct. + See :class:`path.Path`. + .. automodule:: path :members: :undoc-members: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/path.py-8.1.1/docs/conf.py new/path.py-8.1.2/docs/conf.py --- old/path.py-8.1.1/docs/conf.py 2015-08-09 21:47:58.000000000 +0200 +++ new/path.py-8.1.2/docs/conf.py 2015-10-04 15:58:04.000000000 +0200 @@ -10,7 +10,7 @@ version = re.match('[^.]+[.][^.]+', release).group(0) pygments_style = 'sphinx' -html_theme = 'default' +html_theme = 'alabaster' html_static_path = ['_static'] htmlhelp_basename = 'pathpydoc' templates_path = ['_templates'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/path.py-8.1.1/path.py new/path.py-8.1.2/path.py --- old/path.py-8.1.1/path.py 2015-09-10 09:57:54.000000000 +0200 +++ new/path.py-8.1.2/path.py 2015-10-04 15:48:59.000000000 +0200 @@ -33,6 +33,8 @@ f.chmod(0o755) """ +from __future__ import unicode_literals + import sys import warnings import os @@ -74,7 +76,6 @@ string_types = str, text_type = str getcwdu = os.getcwd -u = lambda x: x def surrogate_escape(error): """ @@ -91,7 +92,6 @@ string_types = __builtin__.basestring, text_type = __builtin__.unicode getcwdu = os.getcwdu - u = lambda x: codecs.unicode_escape_decode(x)[0] codecs.register_error('surrogateescape', surrogate_escape) @contextlib.contextmanager @@ -110,12 +110,12 @@ __all__ = ['Path', 'CaseInsensitivePattern'] -LINESEPS = [u('\r\n'), u('\r'), u('\n')] -U_LINESEPS = LINESEPS + [u('\u0085'), u('\u2028'), u('\u2029')] +LINESEPS = ['\r\n', '\r', '\n'] +U_LINESEPS = LINESEPS + ['\u0085', '\u2028', '\u2029'] NEWLINE = re.compile('|'.join(LINESEPS)) U_NEWLINE = re.compile('|'.join(U_LINESEPS)) -NL_END = re.compile(u(r'(?:{0})$').format(NEWLINE.pattern)) -U_NL_END = re.compile(u(r'(?:{0})$').format(U_NEWLINE.pattern)) +NL_END = re.compile(r'(?:{0})$'.format(NEWLINE.pattern)) +U_NL_END = re.compile(r'(?:{0})$'.format(U_NEWLINE.pattern)) try: @@ -202,6 +202,8 @@ @simple_cache def using_module(cls, module): subclass_name = cls.__name__ + '_' + module.__name__ + if PY2: + subclass_name = str(subclass_name) bases = (cls,) ns = {'module': module} return type(subclass_name, bases, ns) @@ -1086,11 +1088,11 @@ return os.lstat(self) def __get_owner_windows(self): - r""" + """ Return the name of the owner of this file or directory. Follow symbolic links. - Return a name of the form ``ur'DOMAIN\User Name'``; may be a group. + Return a name of the form ``r'DOMAIN\\User Name'``; may be a group. .. seealso:: :attr:`owner` """ @@ -1098,7 +1100,7 @@ self, win32security.OWNER_SECURITY_INFORMATION) sid = desc.GetSecurityDescriptorOwner() account, domain, typecode = win32security.LookupAccountSid(None, sid) - return domain + u('\\') + account + return domain + '\\' + account def __get_owner_unix(self): """ @@ -1558,6 +1560,8 @@ @classmethod def for_class(cls, path_cls): name = 'Multi' + path_cls.__name__ + if PY2: + name = str(name) return type(name, (cls, path_cls), {}) @classmethod diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/path.py-8.1.1/path.py.egg-info/PKG-INFO new/path.py-8.1.2/path.py.egg-info/PKG-INFO --- old/path.py-8.1.1/path.py.egg-info/PKG-INFO 2015-09-10 10:00:02.000000000 +0200 +++ new/path.py-8.1.2/path.py.egg-info/PKG-INFO 2015-10-04 16:02:32.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: path.py -Version: 8.1.1 +Version: 8.1.2 Summary: A module wrapper for os.path Home-page: http://github.com/jaraco/path.py Author: Jason R. Coombs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/path.py-8.1.1/setup.cfg new/path.py-8.1.2/setup.cfg --- old/path.py-8.1.1/setup.cfg 2015-09-10 10:00:02.000000000 +0200 +++ new/path.py-8.1.2/setup.cfg 2015-10-04 16:02:32.000000000 +0200 @@ -7,6 +7,6 @@ [egg_info] tag_build = -tag_date = 0 tag_svn_revision = 0 +tag_date = 0
participants (1)
-
root@hilbert.suse.de