- Update to version 1.4:

* **BACKWARD INCOMPATIBLE** pip now only installs stable versions by default,
    and offers a new --pre option to also find pre-release and development
    versions. (Pull #834)
  * **BACKWARD INCOMPATIBLE** Dropped support for Python 2.5. The minimum
    supported Python version for pip 1.4 is Python 2.6.
  * Added support for installing and building wheel archives.
    Thanks Daniel Holth, Marcus Smith, Paul Moore, and Michele Lacchia
    (Pull #845)
  * Applied security patch to pip's ssl support related to certificate DNS
    wildcard matching (http://bugs.python.org/issue17980).
  * To satisfy pip's setuptools requirement, pip now recommends setuptools>=0.8,
    not distribute. setuptools and distribute are now merged into one project
    called 'setuptools'. (Pull #1003)
  * pip will now warn when installing a file that is either hosted externally to
    the index or cannot be verified with a hash. In the future pip will default
    to not installing them and will require the flags --allow-external NAME, and
    --allow-insecure NAME respectively. (Pull #985)
  * If an already-downloaded or cached file has a bad hash, re-download it rather
    than erroring out. (Issue #963).
  * pip bundle and support for installing from pybundle files is now
    considered deprecated and will be removed in pip v1.5.
  * Fixed a number of issues (#413, #709, #634, #602, and #939) related to
    cleaning up and not reusing build directories. (Pull #865, #948)
  * Added a User Agent so that pip is identifiable in logs. (Pull #901)
  * Added ssl and --user support to get-pip.py. Thanks Gabriel de Perthuis.
    (Pull #895)
  * Fixed the proxy support, which was broken in pip 1.3.x (Pull #840)
  * Fixed issue #32 - pip fails when server does not send content-type header.
    Thanks Hugo Lopes Tavares and Kelsey Hightower (Pull #872).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=26
This commit is contained in:
Sascha Peilicke 2013-07-29 14:47:58 +00:00 committed by Git OBS Bridge
parent e7e7bfc1bc
commit 77499bad92
4 changed files with 76 additions and 20 deletions

View File

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

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

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

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Mon Jul 29 14:49:27 UTC 2013 - speilicke@suse.com
- Update to version 1.4:
* **BACKWARD INCOMPATIBLE** pip now only installs stable versions by default,
and offers a new --pre option to also find pre-release and development
versions. (Pull #834)
* **BACKWARD INCOMPATIBLE** Dropped support for Python 2.5. The minimum
supported Python version for pip 1.4 is Python 2.6.
* Added support for installing and building wheel archives.
Thanks Daniel Holth, Marcus Smith, Paul Moore, and Michele Lacchia
(Pull #845)
* Applied security patch to pip's ssl support related to certificate DNS
wildcard matching (http://bugs.python.org/issue17980).
* To satisfy pip's setuptools requirement, pip now recommends setuptools>=0.8,
not distribute. setuptools and distribute are now merged into one project
called 'setuptools'. (Pull #1003)
* pip will now warn when installing a file that is either hosted externally to
the index or cannot be verified with a hash. In the future pip will default
to not installing them and will require the flags --allow-external NAME, and
--allow-insecure NAME respectively. (Pull #985)
* If an already-downloaded or cached file has a bad hash, re-download it rather
than erroring out. (Issue #963).
* pip bundle and support for installing from pybundle files is now
considered deprecated and will be removed in pip v1.5.
* Fixed a number of issues (#413, #709, #634, #602, and #939) related to
cleaning up and not reusing build directories. (Pull #865, #948)
* Added a User Agent so that pip is identifiable in logs. (Pull #901)
* Added ssl and --user support to get-pip.py. Thanks Gabriel de Perthuis.
(Pull #895)
* Fixed the proxy support, which was broken in pip 1.3.x (Pull #840)
* Fixed issue #32 - pip fails when server does not send content-type header.
Thanks Hugo Lopes Tavares and Kelsey Hightower (Pull #872).
* "Vendorized" distlib as pip.vendor.distlib (https://distlib.readthedocs.org/).
* Fixed git VCS backend with git 1.8.3. (Pull #967)
- Require setuptools instead of distribute again (merged upstream)
- Use update-alternatives for parallel-installability with Python3
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 8 13:12:37 UTC 2013 - alexandre@exatati.com.br Fri Mar 8 13:12:37 UTC 2013 - alexandre@exatati.com.br
@ -44,7 +82,7 @@ Fri Mar 8 13:12:37 UTC 2013 - alexandre@exatati.com.br
* Added support for --no-index in requirements files. * Added support for --no-index in requirements files.
* Added "pip show" command to get information about an installed * Added "pip show" command to get information about an installed
package. Fixes #131. Thanks Kelsey Hightower and Rafael Caricio. package. Fixes #131. Thanks Kelsey Hightower and Rafael Caricio.
* Added `--root` option for "pip install" to specify root * Added --root option for "pip install" to specify root
directory. Behaves like the same option in distutils but also directory. Behaves like the same option in distutils but also
plays nice with pip's egg-info. Thanks Przemek Wrzos. plays nice with pip's egg-info. Thanks Przemek Wrzos.
(Issue #253 / Pull #693) (Issue #253 / Pull #693)
@ -67,15 +105,15 @@ Sat Sep 8 22:31:31 UTC 2012 - os-dev@jacraig.com
* Use a temporary directory as the default build location outside of a * Use a temporary directory as the default build location outside of a
virtualenv. Fixes issues #339 and #381. virtualenv. Fixes issues #339 and #381.
* Added support for specifying extras with local editables. * Added support for specifying extras with local editables.
* Added ``--egg`` flag to request egg-style rather than flat installation. * Added --egg flag to request egg-style rather than flat installation.
Refs issue #3. Refs issue #3.
* Fixed issue #510 - prevent e.g. ``gmpy2-2.0.tar.gz`` from matching a * 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 request to pip install gmpy; sdist filename must begin with full
project name followed by a dash. project name followed by a dash.
* Fixed issue #504 - allow package URLS to have querystrings. * Fixed issue #504 - allow package URLS to have querystrings.
* Fixed issue #58 - pip freeze now falls back to non-editable format rather * 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. 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 * Added a __main__.py file to enable python -m pip on Python versions
that support it. that support it.
* Fixed issue #487 - upgrade from VCS url of project that does exist on * Fixed issue #487 - upgrade from VCS url of project that does exist on
index. index.
@ -83,13 +121,13 @@ Sat Sep 8 22:31:31 UTC 2012 - os-dev@jacraig.com
on index. on index.
* Fixed issue #427 - clearer error message on a malformed VCS url. * Fixed issue #427 - clearer error message on a malformed VCS url.
* Added support for using any of the built in guaranteed algorithms in * Added support for using any of the built in guaranteed algorithms in
``hashlib`` as a checksum hash. hashlib as a checksum hash.
* Fixed issue #321 - Raise an exception if current working directory can't be * Fixed issue #321 - Raise an exception if current working directory can't be
found or accessed. found or accessed.
* Fixed issue #82 - Removed special casing of the user directory and use the * Fixed issue #82 - Removed special casing of the user directory and use the
Python default instead. Python default instead.
* Fixed #436 - Only warn about version conflicts if there is actually one. * Fixed #436 - Only warn about version conflicts if there is actually one.
This re-enables using ``==dev`` in requirements files. This re-enables using ==dev in requirements files.
* Moved tests to be run on Travis CI: http://travis-ci.org/pypa/pip * Moved tests to be run on Travis CI: http://travis-ci.org/pypa/pip
* Added a better help formatter. * Added a better help formatter.
- Remove %check section: there is no test directory so it won't get executed. - Remove %check section: there is no test directory so it won't get executed.
@ -161,17 +199,17 @@ Sat Sep 17 13:04:36 UTC 2011 - ocefpaf@gmail.com
- Update to 1.0.2 - Update to 1.0.2
* Fixed docs issues. * Fixed docs issues.
* Fixed issue #295 - Reinstall a package when using the ``install -I`` * Fixed issue #295 - Reinstall a package when using the install -I
option option
* Fixed issue #283 - Finds a Git tag pointing to same commit as * Fixed issue #283 - Finds a Git tag pointing to same commit as
origin/master origin/master
* Fixed issue #279 - Use absolute path for path to docs in setup.py * Fixed issue #279 - Use absolute path for path to docs in setup.py
* Fixed issue #320 - Correctly handle exceptions on Python3. * Fixed issue #320 - Correctly handle exceptions on Python3.
* Fixed issue #314 - Correctly parse ``--editable`` lines in requirements * Fixed issue #314 - Correctly parse --editable lines in requirements
files files
- Updates from 1.0.1 - Updates from 1.0.1
* Start to use git-flow. * Start to use git-flow.
* Fixed issue #274 - `find_command` should not raise AttributeError * Fixed issue #274 - find_command should not raise AttributeError
* Fixed issue #273 - respect Content-Disposition header. * Fixed issue #273 - respect Content-Disposition header.
* Fixed issue #233 - pathext handling on Windows. * Fixed issue #233 - pathext handling on Windows.
* Fixed issue #252 - svn+svn protocol. * Fixed issue #252 - svn+svn protocol.
@ -184,7 +222,7 @@ Sat Sep 17 13:04:36 UTC 2011 - ocefpaf@gmail.com
* Fixed finding of VCS binaries to not be fooled by same-named directories. * Fixed finding of VCS binaries to not be fooled by same-named directories.
* Fixed uninstall of packages from system Python for users of Debian/Ubuntu * Fixed uninstall of packages from system Python for users of Debian/Ubuntu
python-setuptools package (workaround until fixed in Debian and Ubuntu). python-setuptools package (workaround until fixed in Debian and Ubuntu).
* Added `get-pip.py https://raw.github.com/pypa/pip/master/contrib/get-pip.py * Added get-pip.py https://raw.github.com/pypa/pip/master/contrib/get-pip.py
- Updates from 0.8.3 - Updates from 0.8.3
* Fixed issue #14 - No uninstall-on-upgrade with URL package. * Fixed issue #14 - No uninstall-on-upgrade with URL package.
* Fixed issue #163 - Egg name not properly resolved. * Fixed issue #163 - Egg name not properly resolved.

View File

@ -17,7 +17,7 @@
Name: python-pip Name: python-pip
Version: 1.3.1 Version: 1.4
Release: 0 Release: 0
Url: http://www.pip-installer.org Url: http://www.pip-installer.org
Summary: Pip installs packages. Python packages. An easy_install replacement Summary: Pip installs packages. Python packages. An easy_install replacement
@ -26,8 +26,10 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distribute BuildRequires: python-setuptools
Requires: python-distribute Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %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()")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else %else
@ -49,10 +51,26 @@ python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%pre
# Since /usr/bin/pip became ghosted to be used with update-alternatives, we have to get rid
# of the old binary resulting from the non-update-alternativies-ified package:
[[ ! -L %{_bindir}/pip ]] && rm -f %{_bindir}/pip
exit 0
%post
update-alternatives --install %{_bindir}/pip pip %{_bindir}/pip-%{py_ver} 20
%preun
if [ $1 -eq 0 ] ; then
update-alternatives --remove pip %{_bindir}/pip-%{py_ver}
fi
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS.txt LICENSE.txt docs/* %doc AUTHORS.txt CHANGES.txt LICENSE.txt README.rst
%{_bindir}/pip* %ghost %{_bindir}/pip
%{python_sitelib}/* %{_bindir}/pip-%{py_ver}
%{python_sitelib}/pip-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/pip
%changelog %changelog