Accepting request 133376 from home:poorboywilly:branches:devel:languages:python

Update to 1.2.1.  Note: dropped support for python 2.4.

OBS-URL: https://build.opensuse.org/request/show/133376
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=17
This commit is contained in:
Ismail Dönmez 2012-09-10 10:50:27 +00:00 committed by Git OBS Bridge
parent dd09f955ef
commit 8b9fd993e9
6 changed files with 57 additions and 13 deletions

View File

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

3
pip-1.2.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Sat Sep 8 22:31:31 UTC 2012 - os-dev@jacraig.com
- Update to 1.2.1:
* Fixed a regression introduced in 1.2 about raising an exception when
not finding any files to uninstall in the current environment.
- Changes from 1.2:
* **Dropped support for Python 2.4** The minimum supported Python version is
now Python 2.5.
* Fixed issue #605 - pypi mirror support broken on some DNS responses.
* Fixed issue #355 - pip uninstall removes files it didn't install.
* Fixed issues #493, #494, #440, and #573 related to improving support for
the user installation scheme.
* Write failure log to temp file if default location is not writable.
* Pull in submodules for git editable checkouts. Fixes #289 and #421.
* Use a temporary directory as the default build location outside of a
virtualenv. Fixes issues #339 and #381.
* Added support for specifying extras with local editables.
* Added ``--egg`` flag to request egg-style rather than flat installation.
Refs issue #3.
* Fixed issue #510 - prevent e.g. ``gmpy2-2.0.tar.gz`` from matching a
request to ``pip install gmpy``; sdist filename must begin with full
project name followed by a dash.
* Fixed issue #504 - allow package URLS to have querystrings.
* Fixed issue #58 - pip freeze now falls back to non-editable format rather
than blowing up if it can't determine the origin repository of an editable.
* Added a `__main__.py` file to enable `python -m pip` on Python versions
that support it.
* Fixed issue #487 - upgrade from VCS url of project that does exist on
index.
* Fixed issue #486 - fix upgrade from VCS url of project with no distribution
on index.
* Fixed issue #427 - clearer error message on a malformed VCS url.
* Added support for using any of the built in guaranteed algorithms in
``hashlib`` as a checksum hash.
* Fixed issue #321 - Raise an exception if current working directory can't be
found or accessed.
* Fixed issue #82 - Removed special casing of the user directory and use the
Python default instead.
* Fixed #436 - Only warn about version conflicts if there is actually one.
This re-enables using ``==dev`` in requirements files.
* Moved tests to be run on Travis CI: http://travis-ci.org/pypa/pip
* Added a better help formatter.
- Remove %check section: there is no test directory so it won't get executed.
- Fix Python 3 build.
-------------------------------------------------------------------
Mon Apr 30 13:34:45 UTC 2012 - toddrme2178@gmail.com

View File

@ -17,7 +17,7 @@
Name: python-pip
Version: 1.1
Version: 1.2.1
Release: 0
Url: http://www.pip-installer.org
Summary: Pip installs packages. Python packages. An easy_install replacement
@ -27,7 +27,6 @@ Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-nose
Requires: python-distribute
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@ -50,9 +49,6 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
cd tests && nosetests
%files
%defattr(-,root,root,-)
%doc AUTHORS.txt LICENSE.txt docs/*

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 8 22:31:31 UTC 2012 - os-dev@jacraig.com
- Fix Python 3 build.
-------------------------------------------------------------------
Mon Apr 30 13:34:45 UTC 2012 - toddrme2178@gmail.com

View File

@ -17,7 +17,7 @@
Name: python3-pip
Version: 1.1
Version: 1.2.1
Release: 0
Url: http://www.pip-installer.org
Summary: Pip installs packages. Python 3 packages. An easy_install replacement
@ -25,10 +25,10 @@ License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-distribute
BuildRequires: python3-nose
%if 0%{?suse_version} <= 1140
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
@ -58,9 +58,6 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
# remove file that conflicts with python 2 package
rm %{buildroot}%{_bindir}/pip
%check
cd tests && nosetests
%files
%defattr(-,root,root,-)
%doc AUTHORS.txt LICENSE.txt docs/*