Hello community, here is the log from the commit of package python-setuptools for openSUSE:Factory checked in at 2013-11-10 15:07:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-setuptools (Old) and /work/SRC/openSUSE:Factory/.python-setuptools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-setuptools" Changes: -------- --- /work/SRC/openSUSE:Factory/python-setuptools/python-setuptools.changes 2013-10-11 12:55:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-setuptools.new/python-setuptools.changes 2013-11-10 15:07:48.000000000 +0100 @@ -1,0 +2,8 @@ +Fri Nov 8 13:29:36 UTC 2013 - aj@ajaissle.de + +- New upstream version + * Fixed behavior of NameError handling in 'script template (dev).py' (script launcher for 'develop' installs). + * ez_setup.py now ensures partial downloads are cleaned up following a failed download. + * Distribute #363 and Issue #55: Skip an sdist test that fails on locales other than UTF-8. + +------------------------------------------------------------------- Old: ---- setuptools-1.1.6.tar.gz New: ---- setuptools-1.1.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-setuptools.spec ++++++ --- /var/tmp/diff_new_pack.UKqAOG/_old 2013-11-10 15:07:49.000000000 +0100 +++ /var/tmp/diff_new_pack.UKqAOG/_new 2013-11-10 15:07:49.000000000 +0100 @@ -17,7 +17,7 @@ Name: python-setuptools -Version: 1.1.6 +Version: 1.1.7 Release: 0 Url: http://pypi.python.org/pypi/setuptools Summary: Easily download, build, install, upgrade, and uninstall Python packages ++++++ setuptools-1.1.6.tar.gz -> setuptools-1.1.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/CHANGES (links).txt new/setuptools-1.1.7/CHANGES (links).txt --- old/setuptools-1.1.6/CHANGES (links).txt 2013-09-18 16:20:13.000000000 +0200 +++ new/setuptools-1.1.7/CHANGES (links).txt 2013-10-28 02:44:40.000000000 +0100 @@ -3,6 +3,17 @@ ======= ----- +1.1.7 +----- + +* Fixed behavior of NameError handling in 'script template (dev).py' (script + launcher for 'develop' installs). +* ``ez_setup.py`` now ensures partial downloads are cleaned up following + a failed download. +* `Distribute #363 https://bitbucket.org/tarek/distribute/issue/363`_ and `Issue #55 https://bitbucket.org/pypa/setuptools/issue/55`_: Skip an sdist test that fails on locales + other than UTF-8. + +----- 1.1.6 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/CHANGES.txt new/setuptools-1.1.7/CHANGES.txt --- old/setuptools-1.1.6/CHANGES.txt 2013-09-18 16:09:31.000000000 +0200 +++ new/setuptools-1.1.7/CHANGES.txt 2013-10-28 02:40:40.000000000 +0100 @@ -3,6 +3,17 @@ ======= ----- +1.1.7 +----- + +* Fixed behavior of NameError handling in 'script template (dev).py' (script + launcher for 'develop' installs). +* ``ez_setup.py`` now ensures partial downloads are cleaned up following + a failed download. +* Distribute #363 and Issue #55: Skip an sdist test that fails on locales + other than UTF-8. + +----- 1.1.6 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/PKG-INFO new/setuptools-1.1.7/PKG-INFO --- old/setuptools-1.1.6/PKG-INFO 2013-09-18 16:20:17.000000000 +0200 +++ new/setuptools-1.1.7/PKG-INFO 2013-10-28 02:44:44.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: setuptools -Version: 1.1.6 +Version: 1.1.7 Summary: Easily download, build, install, upgrade, and uninstall Python packages Home-page: https://pypi.python.org/pypi/setuptools Author: Python Packaging Authority @@ -186,6 +186,17 @@ ======= ----- + 1.1.7 + ----- + + * Fixed behavior of NameError handling in 'script template (dev).py' (script + launcher for 'develop' installs). + * ``ez_setup.py`` now ensures partial downloads are cleaned up following + a failed download. + * `Distribute #363 https://bitbucket.org/tarek/distribute/issue/363`_ and `Issue #55 https://bitbucket.org/pypa/setuptools/issue/55`_: Skip an sdist test that fails on locales + other than UTF-8. + + ----- 1.1.6 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/ez_setup.py new/setuptools-1.1.7/ez_setup.py --- old/setuptools-1.1.6/ez_setup.py 2013-09-12 15:59:59.000000000 +0200 +++ new/setuptools-1.1.7/ez_setup.py 2013-10-28 02:29:46.000000000 +0100 @@ -29,7 +29,7 @@ except ImportError: USER_SITE = None -DEFAULT_VERSION = "1.1.6" +DEFAULT_VERSION = "1.1.7" DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/" def _python_cmd(*args): @@ -151,6 +151,18 @@ return _do_download(version, download_base, to_dir, download_delay) +def _clean_check(cmd, target): + """ + Run the command to download target. If the command fails, clean up before + re-raising the error. + """ + try: + subprocess.check_call(cmd) + except subprocess.CalledProcessError: + if os.access(target, os.F_OK): + os.unlink(target) + raise + def download_file_powershell(url, target): """ Download the file at url to target using Powershell (which will validate @@ -162,7 +174,7 @@ '-Command', "(new-object System.Net.WebClient).DownloadFile(%(url)r, %(target)r)" % vars(), ] - subprocess.check_call(cmd) + _clean_check(cmd, target) def has_powershell(): if platform.system() != 'Windows': @@ -182,7 +194,7 @@ def download_file_curl(url, target): cmd = ['curl', url, '--silent', '--output', target] - subprocess.check_call(cmd) + _clean_check(cmd, target) def has_curl(): cmd = ['curl', '--version'] @@ -200,7 +212,7 @@ def download_file_wget(url, target): cmd = ['wget', url, '--quiet', '--output-document', target] - subprocess.check_call(cmd) + _clean_check(cmd, target) def has_wget(): cmd = ['wget', '--version'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setup.cfg new/setuptools-1.1.7/setup.cfg --- old/setuptools-1.1.6/setup.cfg 2013-09-18 16:20:17.000000000 +0200 +++ new/setuptools-1.1.7/setup.cfg 2013-10-28 02:44:44.000000000 +0100 @@ -1,7 +1,7 @@ [egg_info] tag_build = -tag_date = 0 tag_svn_revision = 0 +tag_date = 0 [aliases] release = egg_info -RDb '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setuptools/script template (dev).py new/setuptools-1.1.7/setuptools/script template (dev).py --- old/setuptools-1.1.6/setuptools/script template (dev).py 2013-09-06 15:20:42.000000000 +0200 +++ new/setuptools-1.1.7/setuptools/script template (dev).py 2013-10-28 02:29:46.000000000 +0100 @@ -1,9 +1,11 @@ # EASY-INSTALL-DEV-SCRIPT: %(spec)r,%(script_name)r __requires__ = """%(spec)r""" -from pkg_resources import require; require("""%(spec)r""") +import sys +from pkg_resources import require +require("""%(spec)r""") del require __file__ = """%(dev_path)r""" -try: +if sys.version_info < (3, 0): execfile(__file__) -except NameError: +else: exec(compile(open(__file__).read(), __file__, 'exec')) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setuptools/tests/test_sdist.py new/setuptools-1.1.7/setuptools/tests/test_sdist.py --- old/setuptools-1.1.6/setuptools/tests/test_sdist.py 2013-09-06 15:20:43.000000000 +0200 +++ new/setuptools-1.1.7/setuptools/tests/test_sdist.py 2013-10-28 02:31:17.000000000 +0100 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """sdist tests""" - +import locale import os import shutil import sys @@ -10,6 +10,7 @@ import unicodedata from setuptools.compat import StringIO, unicode +from setuptools.tests.py26compat import skipIf from setuptools.command.sdist import sdist from setuptools.command.egg_info import manifest_maker from setuptools.dist import Distribution @@ -318,6 +319,8 @@ filename = filename.decode('latin-1') self.assertFalse(filename in cmd.filelist.files) + @skipIf(sys.version_info >= (3,) and locale.getpreferredencoding() != 'UTF-8', + 'Unittest fails if locale is not utf-8 but the manifests is recorded correctly') def test_sdist_with_utf8_encoded_filename(self): # Test for #303. dist = Distribution(SETUP_ATTRS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setuptools/version.py new/setuptools-1.1.7/setuptools/version.py --- old/setuptools-1.1.6/setuptools/version.py 2013-09-12 15:59:59.000000000 +0200 +++ new/setuptools-1.1.7/setuptools/version.py 2013-10-28 02:29:46.000000000 +0100 @@ -1 +1 @@ -__version__ = '1.1.6' +__version__ = '1.1.7' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setuptools.egg-info/PKG-INFO new/setuptools-1.1.7/setuptools.egg-info/PKG-INFO --- old/setuptools-1.1.6/setuptools.egg-info/PKG-INFO 2013-09-18 16:20:14.000000000 +0200 +++ new/setuptools-1.1.7/setuptools.egg-info/PKG-INFO 2013-10-28 02:44:42.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: setuptools -Version: 1.1.6 +Version: 1.1.7 Summary: Easily download, build, install, upgrade, and uninstall Python packages Home-page: https://pypi.python.org/pypi/setuptools Author: Python Packaging Authority @@ -186,6 +186,17 @@ ======= ----- + 1.1.7 + ----- + + * Fixed behavior of NameError handling in 'script template (dev).py' (script + launcher for 'develop' installs). + * ``ez_setup.py`` now ensures partial downloads are cleaned up following + a failed download. + * `Distribute #363 https://bitbucket.org/tarek/distribute/issue/363`_ and `Issue #55 https://bitbucket.org/pypa/setuptools/issue/55`_: Skip an sdist test that fails on locales + other than UTF-8. + + ----- 1.1.6 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setuptools.egg-info/SOURCES.txt new/setuptools-1.1.7/setuptools.egg-info/SOURCES.txt --- old/setuptools-1.1.6/setuptools.egg-info/SOURCES.txt 2013-09-18 16:20:17.000000000 +0200 +++ new/setuptools-1.1.7/setuptools.egg-info/SOURCES.txt 2013-10-28 02:44:44.000000000 +0100 @@ -59,6 +59,7 @@ setuptools.egg-info/SOURCES.txt setuptools.egg-info/dependency_links.txt setuptools.egg-info/entry_points.txt +setuptools.egg-info/entry_points.txt.orig setuptools.egg-info/requires.txt setuptools.egg-info/top_level.txt setuptools.egg-info/zip-safe diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setuptools.egg-info/entry_points.txt new/setuptools-1.1.7/setuptools.egg-info/entry_points.txt --- old/setuptools-1.1.6/setuptools.egg-info/entry_points.txt 2013-09-18 16:20:14.000000000 +0200 +++ new/setuptools-1.1.7/setuptools.egg-info/entry_points.txt 2013-10-28 02:44:42.000000000 +0100 @@ -1,62 +1,62 @@ -[distutils.setup_keywords] -packages = setuptools.dist:check_packages -install_requires = setuptools.dist:check_requirements -eager_resources = setuptools.dist:assert_string_list -include_package_data = setuptools.dist:assert_bool -convert_2to3_doctests = setuptools.dist:assert_string_list -package_data = setuptools.dist:check_package_data -use_2to3_exclude_fixers = setuptools.dist:assert_string_list -test_suite = setuptools.dist:check_test_suite -tests_require = setuptools.dist:check_requirements -use_2to3 = setuptools.dist:assert_bool -exclude_package_data = setuptools.dist:check_package_data -test_loader = setuptools.dist:check_importable -extras_require = setuptools.dist:check_extras -use_2to3_fixers = setuptools.dist:assert_string_list -namespace_packages = setuptools.dist:check_nsp -zip_safe = setuptools.dist:assert_bool -dependency_links = setuptools.dist:assert_string_list -entry_points = setuptools.dist:check_entry_points - [setuptools.file_finders] svn_cvs = setuptools.command.sdist:_default_revctrl [egg_info.writers] +eager_resources.txt = setuptools.command.egg_info:overwrite_arg depends.txt = setuptools.command.egg_info:warn_depends_obsolete top_level.txt = setuptools.command.egg_info:write_toplevel_names -entry_points.txt = setuptools.command.egg_info:write_entries +namespace_packages.txt = setuptools.command.egg_info:overwrite_arg requires.txt = setuptools.command.egg_info:write_requirements PKG-INFO = setuptools.command.egg_info:write_pkg_info -eager_resources.txt = setuptools.command.egg_info:overwrite_arg dependency_links.txt = setuptools.command.egg_info:overwrite_arg -namespace_packages.txt = setuptools.command.egg_info:overwrite_arg +entry_points.txt = setuptools.command.egg_info:write_entries + +[setuptools.installation] +eggsecutable = setuptools.command.easy_install:bootstrap + +[console_scripts] +easy_install = setuptools.command.easy_install:main +easy_install-3.3 = setuptools.command.easy_install:main [distutils.commands] +bdist_wininst = setuptools.command.bdist_wininst:bdist_wininst rotate = setuptools.command.rotate:rotate -bdist_egg = setuptools.command.bdist_egg:bdist_egg -install_scripts = setuptools.command.install_scripts:install_scripts -install_egg_info = setuptools.command.install_egg_info:install_egg_info -build_py = setuptools.command.build_py:build_py build_ext = setuptools.command.build_ext:build_ext -install = setuptools.command.install:install -sdist = setuptools.command.sdist:sdist -upload_docs = setuptools.command.upload_docs:upload_docs -saveopts = setuptools.command.saveopts:saveopts +install_lib = setuptools.command.install_lib:install_lib develop = setuptools.command.develop:develop +saveopts = setuptools.command.saveopts:saveopts +build_py = setuptools.command.build_py:build_py +upload_docs = setuptools.command.upload_docs:upload_docs +egg_info = setuptools.command.egg_info:egg_info +install_egg_info = setuptools.command.install_egg_info:install_egg_info +bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm +sdist = setuptools.command.sdist:sdist alias = setuptools.command.alias:alias +easy_install = setuptools.command.easy_install:easy_install register = setuptools.command.register:register -setopt = setuptools.command.setopt:setopt -egg_info = setuptools.command.egg_info:egg_info test = setuptools.command.test:test -easy_install = setuptools.command.easy_install:easy_install -install_lib = setuptools.command.install_lib:install_lib -bdist_wininst = setuptools.command.bdist_wininst:bdist_wininst -bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm - -[setuptools.installation] -eggsecutable = setuptools.command.easy_install:bootstrap +bdist_egg = setuptools.command.bdist_egg:bdist_egg +install = setuptools.command.install:install +install_scripts = setuptools.command.install_scripts:install_scripts +setopt = setuptools.command.setopt:setopt -[console_scripts] -easy_install = setuptools.command.easy_install:main -easy_install-3.3 = setuptools.command.easy_install:main +[distutils.setup_keywords] +entry_points = setuptools.dist:check_entry_points +extras_require = setuptools.dist:check_extras +zip_safe = setuptools.dist:assert_bool +install_requires = setuptools.dist:check_requirements +eager_resources = setuptools.dist:assert_string_list +test_suite = setuptools.dist:check_test_suite +namespace_packages = setuptools.dist:check_nsp +convert_2to3_doctests = setuptools.dist:assert_string_list +include_package_data = setuptools.dist:assert_bool +test_loader = setuptools.dist:check_importable +use_2to3_fixers = setuptools.dist:assert_string_list +dependency_links = setuptools.dist:assert_string_list +exclude_package_data = setuptools.dist:check_package_data +packages = setuptools.dist:check_packages +use_2to3_exclude_fixers = setuptools.dist:assert_string_list +package_data = setuptools.dist:check_package_data +tests_require = setuptools.dist:check_requirements +use_2to3 = setuptools.dist:assert_bool diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setuptools.egg-info/entry_points.txt.orig new/setuptools-1.1.7/setuptools.egg-info/entry_points.txt.orig --- old/setuptools-1.1.6/setuptools.egg-info/entry_points.txt.orig 1970-01-01 01:00:00.000000000 +0100 +++ new/setuptools-1.1.7/setuptools.egg-info/entry_points.txt.orig 2013-10-26 17:24:41.000000000 +0200 @@ -0,0 +1,62 @@ +[egg_info.writers] +entry_points.txt = setuptools.command.egg_info:write_entries +requires.txt = setuptools.command.egg_info:write_requirements +depends.txt = setuptools.command.egg_info:warn_depends_obsolete +dependency_links.txt = setuptools.command.egg_info:overwrite_arg +eager_resources.txt = setuptools.command.egg_info:overwrite_arg +top_level.txt = setuptools.command.egg_info:write_toplevel_names +namespace_packages.txt = setuptools.command.egg_info:overwrite_arg +PKG-INFO = setuptools.command.egg_info:write_pkg_info + +[distutils.commands] +sdist = setuptools.command.sdist:sdist +setopt = setuptools.command.setopt:setopt +egg_info = setuptools.command.egg_info:egg_info +build_ext = setuptools.command.build_ext:build_ext +upload_docs = setuptools.command.upload_docs:upload_docs +develop = setuptools.command.develop:develop +bdist_egg = setuptools.command.bdist_egg:bdist_egg +alias = setuptools.command.alias:alias +test = setuptools.command.test:test +install_egg_info = setuptools.command.install_egg_info:install_egg_info +bdist_wininst = setuptools.command.bdist_wininst:bdist_wininst +register = setuptools.command.register:register +install = setuptools.command.install:install +build_py = setuptools.command.build_py:build_py +saveopts = setuptools.command.saveopts:saveopts +rotate = setuptools.command.rotate:rotate +install_lib = setuptools.command.install_lib:install_lib +bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm +install_scripts = setuptools.command.install_scripts:install_scripts +easy_install = setuptools.command.easy_install:easy_install + +[distutils.setup_keywords] +install_requires = setuptools.dist:check_requirements +eager_resources = setuptools.dist:assert_string_list +convert_2to3_doctests = setuptools.dist:assert_string_list +exclude_package_data = setuptools.dist:check_package_data +use_2to3_exclude_fixers = setuptools.dist:assert_string_list +dependency_links = setuptools.dist:assert_string_list +test_suite = setuptools.dist:check_test_suite +use_2to3 = setuptools.dist:assert_bool +namespace_packages = setuptools.dist:check_nsp +packages = setuptools.dist:check_packages +package_data = setuptools.dist:check_package_data +extras_require = setuptools.dist:check_extras +tests_require = setuptools.dist:check_requirements +test_loader = setuptools.dist:check_importable +use_2to3_fixers = setuptools.dist:assert_string_list +entry_points = setuptools.dist:check_entry_points +zip_safe = setuptools.dist:assert_bool +include_package_data = setuptools.dist:assert_bool + +[setuptools.file_finders] +svn_cvs = setuptools.command.sdist:_default_revctrl + +[setuptools.installation] +eggsecutable = setuptools.command.easy_install:bootstrap + +[console_scripts] +easy_install = setuptools.command.easy_install:main +easy_install-3.3 = setuptools.command.easy_install:main + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setuptools.egg-info/requires.txt new/setuptools-1.1.7/setuptools.egg-info/requires.txt --- old/setuptools-1.1.6/setuptools.egg-info/requires.txt 2013-09-18 16:20:14.000000000 +0200 +++ new/setuptools-1.1.7/setuptools.egg-info/requires.txt 2013-10-28 02:44:42.000000000 +0100 @@ -3,11 +3,11 @@ [ssl:sys_platform=='win32' and python_version=='2.4'] ctypes==1.0.2 -[ssl:python_version in '2.4, 2.5'] -ssl==1.16 - [certs] certifi==0.0.8 +[ssl:python_version in '2.4, 2.5'] +ssl==1.16 + [ssl:sys_platform=='win32'] wincertstore==0.1 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-1.1.6/setuptools.egg-info/top_level.txt new/setuptools-1.1.7/setuptools.egg-info/top_level.txt --- old/setuptools-1.1.6/setuptools.egg-info/top_level.txt 2013-09-18 16:20:14.000000000 +0200 +++ new/setuptools-1.1.7/setuptools.egg-info/top_level.txt 2013-10-28 02:44:42.000000000 +0100 @@ -1,4 +1,4 @@ -_markerlib setuptools easy_install pkg_resources +_markerlib -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org