Accepting request 221655 from devel:languages:python

- Update to version 2.1:
  * Issue #129: Suppress inspection of '*.whl' files when searching for files
    in a zip-imported file.
  * Issue #131: Fix RuntimeError when constructing an egg fetcher.
- Changes from version 2.0.2:
  * Fix NameError during installation with Python implementations (e.g. Jython)
    not containing parser module.
  * Fix NameError in sdist:re_finder.
- Changes from version 2.0.1:
  * Issue #124: Fixed error in list detection in upload_docs.
- Changes from version 2.0:
  * Issue #121: Exempt lib2to3 pickled grammars from DirectorySandbox.
  * Issue #41: Dropped support for Python 2.4 and Python 2.5. Clients requiring
    setuptools for those versions of Python should use setuptools 1.x.
  * Removed setuptools.command.easy_install.HAS_USER_SITE. Clients
    expecting this boolean variable should use site.ENABLE_USER_SITE
    instead.
  * Removed pkg_resources.ImpWrapper. Clients that expected this class
    should use pkgutil.ImpImporter instead.
- Changes from version 1.4.2:
  * Issue #116: Correct TypeError when reading a local package index on Python
    3.
- Changes from version 1.4.1:
  * Issue #114: Use sys.getfilesystemencoding for decoding config in
    bdist_wininst distributions.
  * Issue #105 and Issue #113: Establish a more robust technique for
    determining the terminal encoding
- Changes from version 1.4:
  * Issue #27: easy_install will now use credentials from .pypirc if
    present for connecting to the package index.

OBS-URL: https://build.opensuse.org/request/show/221655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2014-02-26 05:54:57 +00:00 committed by Git OBS Bridge
commit 21c3873de9
4 changed files with 93 additions and 29 deletions

View File

@ -1,3 +1,68 @@
-------------------------------------------------------------------
Fri Jan 31 14:25:55 UTC 2014 - speilicke@suse.com
- Update to version 2.1:
* Issue #129: Suppress inspection of '*.whl' files when searching for files
in a zip-imported file.
* Issue #131: Fix RuntimeError when constructing an egg fetcher.
- Changes from version 2.0.2:
* Fix NameError during installation with Python implementations (e.g. Jython)
not containing parser module.
* Fix NameError in sdist:re_finder.
- Changes from version 2.0.1:
* Issue #124: Fixed error in list detection in upload_docs.
- Changes from version 2.0:
* Issue #121: Exempt lib2to3 pickled grammars from DirectorySandbox.
* Issue #41: Dropped support for Python 2.4 and Python 2.5. Clients requiring
setuptools for those versions of Python should use setuptools 1.x.
* Removed setuptools.command.easy_install.HAS_USER_SITE. Clients
expecting this boolean variable should use site.ENABLE_USER_SITE
instead.
* Removed pkg_resources.ImpWrapper. Clients that expected this class
should use pkgutil.ImpImporter instead.
- Changes from version 1.4.2:
* Issue #116: Correct TypeError when reading a local package index on Python
3.
- Changes from version 1.4.1:
* Issue #114: Use sys.getfilesystemencoding for decoding config in
bdist_wininst distributions.
* Issue #105 and Issue #113: Establish a more robust technique for
determining the terminal encoding
- Changes from version 1.4:
* Issue #27: easy_install will now use credentials from .pypirc if
present for connecting to the package index.
* Pull Request #21: Omit unwanted newlines in package_index._encode_auth
when the username/password pair length indicates wrapping.
- Changes from version 1.3.2:
* Issue #99: Fix filename encoding issues in SVN support.
- Changes from version 1.3.1:
* Remove exuberant warning in SVN support when SVN is not used.
- Changes from version 1.3:
* Address security vulnerability in SSL match_hostname check as reported in
Python #17997.
* Prefer backports.ssl_match_hostname
<https://pypi.python.org/pypi/backports.ssl_match_hostname>_ for backport
implementation if present.
* Correct NameError in ssl_support module (socket.error).
- Changes from version 1.2:
* Issue #26: Add support for SVN 1.7. Special thanks to Philip Thiem for the
contribution.
* Issue #93: Wheels are now distributed with every release. Note that as
reported in Issue #108, as of Pip 1.4, scripts aren't installed properly
from wheels. Therefore, if using Pip to install setuptools from a wheel,
the easy_install command will not be available.
* Setuptools "natural" launcher support, introduced in 1.0, is now officially
supported.
- Changes from version 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.
- New dependency on python-xml
- Fix update-alternatives usage
-------------------------------------------------------------------
Fri Nov 8 13:29:36 UTC 2013 - aj@ajaissle.de
@ -10,7 +75,7 @@ Fri Nov 8 13:29:36 UTC 2013 - aj@ajaissle.de
Fri Oct 11 08:40:08 UTC 2013 - speilicke@suse.com
- Update to version 1.1.6:
+ Distribute #349: ``sandbox.execfile`` now opens the target file in binary
+ Distribute #349: sandbox.execfile now opens the target file in binary
mode, thus honoring a BOM in the file when compiled.
- Changes from version 1.1.5:
+ Issue #69: Second attempt at fix (logic was reversed).
@ -22,41 +87,41 @@ Fri Oct 11 08:40:08 UTC 2013 - speilicke@suse.com
+ Issue #69: Correct issue where 404 errors are returned for URLs with
fragments in them (such as #egg=).
- Changes from version 1.1.1:
+ Issue #75: Add ``--insecure`` option to ez_setup.py to accommodate
+ Issue #75: Add --insecure option to ez_setup.py to accommodate
environments where a trusted SSL connection cannot be validated.
+ Issue #76: Fix AttributeError in upload command with Python 2.4.
- Changes from version 1.1:
+ Issue #71 (Distribute #333): EasyInstall now puts less emphasis on the
condition when a host is blocked via ``--allow-hosts``.
+ Issue #72: Restored Python 2.4 compatibility in ``ez_setup.py``.
condition when a host is blocked via --allow-hosts.
+ Issue #72: Restored Python 2.4 compatibility in ez_setup.py.
- Changes from version 1.0:
+ Issue #60: On Windows, Setuptools supports deferring to another launcher,
such as Vinay Sajip's `pylauncher <https://bitbucket.org/pypa/pylauncher>`_
such as Vinay Sajip's pylauncher <https://bitbucket.org/pypa/pylauncher>_
(included with Python 3.3) to launch console and GUI scripts and not install
its own launcher executables. This experimental functionality is currently
only enabled if the ``SETUPTOOLS_LAUNCHER`` environment variable is set to
only enabled if the SETUPTOOLS_LAUNCHER environment variable is set to
"natural". In the future, this behavior may become default, but only after
it has matured and seen substantial adoption. The ``SETUPTOOLS_LAUNCHER``
it has matured and seen substantial adoption. The SETUPTOOLS_LAUNCHER
also accepts "executable" to force the default behavior of creating launcher
executables.
+ Issue #63: Bootstrap script (ez_setup.py) now prefers Powershell, curl, or
wget for retrieving the Setuptools tarball for improved security of the
install. The script will still fall back to a simple ``urlopen`` on
install. The script will still fall back to a simple urlopen on
platforms that do not have these tools.
+ Issue #65: Deprecated the ``Features`` functionality.
+ Issue #52: In ``VerifyingHTTPSConn``, handle a tunnelled (proxied)
+ Issue #65: Deprecated the Features functionality.
+ Issue #52: In VerifyingHTTPSConn, handle a tunnelled (proxied)
connection.
+ Backward-Incompatible Changes:
This release includes a couple of backward-incompatible changes, but most if
not all users will find 1.0 a drop-in replacement for 0.9.
- Issue #50: Normalized API of environment marker support. Specifically,
removed line number and filename from SyntaxErrors when returned from
`pkg_resources.invalid_marker`. Any clients depending on the specific
pkg_resources.invalid_marker. Any clients depending on the specific
string representation of exceptions returned by that function may need to
be updated to account for this change.
- Issue #50: SyntaxErrors generated by `pkg_resources.invalid_marker` are
- Issue #50: SyntaxErrors generated by pkg_resources.invalid_marker are
normalized for cross-implementation consistency.
- Removed ``--ignore-conflicts-at-my-risk`` and ``--delete-conflicting``
- Removed --ignore-conflicts-at-my-risk and --delete-conflicting
options to easy_install. These options have been deprecated since 0.6a11.
- Unify changes format

View File

@ -1,7 +1,7 @@
#
# spec file for package python-setuptools
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: python-setuptools
Version: 1.1.7
Version: 2.1
Release: 0
Url: http://pypi.python.org/pypi/setuptools
Summary: Easily download, build, install, upgrade, and uninstall Python packages
@ -29,8 +29,10 @@ Source2: zpl.txt
Patch1: setuptools-0.6c9-create-sitedir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-xml
# needed for SLE
Requires: python
Requires: python-xml
Requires(post): update-alternatives
Requires(postun): update-alternatives
# NOTE(saschpe): Distribute was merged into 0.7.x, so even though distribute
@ -59,22 +61,18 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm %{buildroot}%{_bindir}/easy_install
ln -s %{_bindir}/easy_install-%{py_ver} %{buildroot}%{_bindir}/easy_install
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
touch %{buildroot}%{_sysconfdir}/alternatives/easy_install
ln -sf %{_sysconfdir}/alternatives/easy_install %{buildroot}/%{_bindir}/easy_install
%check
python setup.py test
%pre
# Since /usr/bin/easy_install became ghosted to be used with update-alternatives,
# we have to get rid of the old binary:
[[ ! -L %{_bindir}/easy_install ]] && rm -f %{_bindir}/easy_install
exit 0
%post
update-alternatives \
--install %{_bindir}/easy_install easy_install %{_bindir}/easy_install-%{py_ver} 20
%preun
%postun
if [ $1 -eq 0 ] ; then
update-alternatives --remove easy_install %{_bindir}/easy_install-%{py_ver}
fi
@ -82,12 +80,13 @@ fi
%files
%defattr(-,root,root,-)
%doc CHANGES.txt README.txt
%ghost %{_bindir}/easy_install
%{_bindir}/easy_install
%{_bindir}/easy_install-%{py_ver}
%ghost %{_sysconfdir}/alternatives/easy_install
%{python_sitelib}/_markerlib
%{python_sitelib}/setuptools
%{python_sitelib}/setuptools-%{version}-py%{py_ver}.egg-info
%python_sitelib/easy_install.py*
%python_sitelib/pkg_resources.py*
%{python_sitelib}/easy_install.py*
%{python_sitelib}/pkg_resources.py*
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b35e3d7c79cfdb5b38cfc71f4b0deab4350c1176fc4bb05bfa8945504ecfb028
size 682308

3
setuptools-2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a722d75f4daae00979c2b43d9a40e1b68fb9ebbb4617fd548377b955e49618d5
size 784576