Hello community,

here is the log from the commit of package python3-setuptools for 
openSUSE:Factory checked in at 2015-08-28 08:24:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-setuptools (Old)
 and      /work/SRC/openSUSE:Factory/.python3-setuptools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-setuptools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-setuptools/python3-setuptools.changes    
2015-08-11 08:24:46.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-setuptools.new/python3-setuptools.changes   
    2015-08-28 08:24:15.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Aug 23 00:13:57 UTC 2015 - a...@gmx.de
+
+- update to version 18.2:
+  * Issue #412: More efficient directory search in "find_packages".
+
+-------------------------------------------------------------------

Old:
----
  setuptools-18.1.tar.gz

New:
----
  setuptools-18.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.h2Lta0/_old  2015-08-28 08:24:16.000000000 +0200
+++ /var/tmp/diff_new_pack.h2Lta0/_new  2015-08-28 08:24:16.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-setuptools
-Version:        18.1
+Version:        18.2
 Release:        0
 Url:            http://pypi.python.org/pypi/setuptools
 Summary:        Easily download, build, install, upgrade, and uninstall Python 
packages

++++++ setuptools-18.1.tar.gz -> setuptools-18.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.1/CHANGES.txt 
new/setuptools-18.2/CHANGES.txt
--- old/setuptools-18.1/CHANGES.txt     2015-08-02 20:51:01.000000000 +0200
+++ new/setuptools-18.2/CHANGES.txt     2015-08-19 18:45:47.000000000 +0200
@@ -3,6 +3,12 @@
 =======
 
 ----
+18.2
+----
+
+* Issue #412: More efficient directory search in ``find_packages``.
+
+----
 18.1
 ----
 
@@ -85,7 +91,7 @@
 15.1
 ----
 
-* Updated Packaging to 15.1 to address Packaging #28.
+* Updated to Packaging 15.1 to address Packaging #28.
 * Fix ``setuptools.sandbox._execfile()`` with Python 3.1.
 
 ----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.1/PKG-INFO new/setuptools-18.2/PKG-INFO
--- old/setuptools-18.1/PKG-INFO        2015-08-02 20:51:43.000000000 +0200
+++ new/setuptools-18.2/PKG-INFO        2015-08-19 18:46:16.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 18.1
+Version: 18.2
 Summary: Easily download, build, install, upgrade, and uninstall Python 
packages
 Home-page: https://bitbucket.org/pypa/setuptools
 Author: Python Packaging Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.1/docs/conf.py 
new/setuptools-18.2/docs/conf.py
--- old/setuptools-18.1/docs/conf.py    2015-06-18 14:36:06.000000000 +0200
+++ new/setuptools-18.2/docs/conf.py    2015-08-19 18:40:51.000000000 +0200
@@ -246,6 +246,10 @@
                                pattern=r"Packaging #(?P<packaging>\d+)",
                                url='{GH}/pypa/packaging/issues/{packaging}',
                        ),
+                       dict(
+                               pattern=r"[Pp]ackaging 
(?P<packaging_ver>\d+(\.\d+)+)",
+                               
url='{GH}/pypa/packaging/blob/{packaging_ver}/CHANGELOG.rst',
+                       ),
                ],
        ),
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.1/ez_setup.py 
new/setuptools-18.2/ez_setup.py
--- old/setuptools-18.1/ez_setup.py     2015-08-02 20:51:39.000000000 +0200
+++ new/setuptools-18.2/ez_setup.py     2015-08-07 20:01:18.000000000 +0200
@@ -30,7 +30,7 @@
 except ImportError:
     USER_SITE = None
 
-DEFAULT_VERSION = "18.1"
+DEFAULT_VERSION = "18.2"
 DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/";
 DEFAULT_SAVE_DIR = os.curdir
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.1/setup.cfg 
new/setuptools-18.2/setup.cfg
--- old/setuptools-18.1/setup.cfg       2015-08-02 20:51:43.000000000 +0200
+++ new/setuptools-18.2/setup.cfg       2015-08-19 18:46:16.000000000 +0200
@@ -1,7 +1,7 @@
 [egg_info]
 tag_build = 
-tag_svn_revision = 0
 tag_date = 0
+tag_svn_revision = 0
 
 [aliases]
 release = egg_info -RDb ''
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.1/setuptools/__init__.py 
new/setuptools-18.2/setuptools/__init__.py
--- old/setuptools-18.1/setuptools/__init__.py  2015-06-18 14:36:06.000000000 
+0200
+++ new/setuptools-18.2/setuptools/__init__.py  2015-08-07 20:05:29.000000000 
+0200
@@ -73,21 +73,24 @@
             yield pkg
 
     @staticmethod
-    def _all_dirs(base_path):
+    def _candidate_dirs(base_path):
         """
-        Return all dirs in base_path, relative to base_path
+        Return all dirs in base_path that might be packages.
         """
+        has_dot = lambda name: '.' in name
         for root, dirs, files in os.walk(base_path, followlinks=True):
+            # Exclude directories that contain a period, as they cannot be
+            #  packages. Mutate the list to avoid traversal.
+            dirs[:] = filterfalse(has_dot, dirs)
             for dir in dirs:
                 yield os.path.relpath(os.path.join(root, dir), base_path)
 
     @classmethod
     def _find_packages_iter(cls, base_path):
-        dirs = cls._all_dirs(base_path)
-        suitable = filterfalse(lambda n: '.' in n, dirs)
+        candidates = cls._candidate_dirs(base_path)
         return (
             path.replace(os.path.sep, '.')
-            for path in suitable
+            for path in candidates
             if cls._looks_like_package(os.path.join(base_path, path))
         )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.1/setuptools/version.py 
new/setuptools-18.2/setuptools/version.py
--- old/setuptools-18.1/setuptools/version.py   2015-08-02 20:51:39.000000000 
+0200
+++ new/setuptools-18.2/setuptools/version.py   2015-08-07 20:01:18.000000000 
+0200
@@ -1 +1 @@
-__version__ = '18.1'
+__version__ = '18.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.1/setuptools.egg-info/PKG-INFO 
new/setuptools-18.2/setuptools.egg-info/PKG-INFO
--- old/setuptools-18.1/setuptools.egg-info/PKG-INFO    2015-08-02 
20:51:43.000000000 +0200
+++ new/setuptools-18.2/setuptools.egg-info/PKG-INFO    2015-08-19 
18:46:15.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 18.1
+Version: 18.2
 Summary: Easily download, build, install, upgrade, and uninstall Python 
packages
 Home-page: https://bitbucket.org/pypa/setuptools
 Author: Python Packaging Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-18.1/setuptools.egg-info/zip-safe 
new/setuptools-18.2/setuptools.egg-info/zip-safe
--- old/setuptools-18.1/setuptools.egg-info/zip-safe    2015-03-15 
02:31:15.000000000 +0100
+++ new/setuptools-18.2/setuptools.egg-info/zip-safe    2015-08-07 
20:07:15.000000000 +0200
@@ -1 +1 @@
-
+


Reply via email to