python-pip: update to 6.0.6

This commit is contained in:
Alessio Sergi 2015-01-04 12:46:55 +01:00
parent ebf7a56d2b
commit 8890c7fbf7

View file

@ -1,20 +1,20 @@
# Template file for 'python-pip' # Template file for 'python-pip'
pkgname=python-pip pkgname=python-pip
version=6.0.3 version=6.0.6
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="pip-${version}" wrksrc="pip-${version}"
build_style=python-module build_style=python-module
python_versions="2.7 3.4" python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools" hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-setuptools" depends="python"
pycompile_module="pip" pycompile_module="pip"
short_desc="The PyPA recommended tool for installing PyPI packages (Python2)" short_desc="The PyPA recommended tool for installing PyPI packages (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://pip.pypa.io/" homepage="https://pip.pypa.io/"
license="MIT" license="MIT"
distfiles="${PYPI_SITE}/p/pip/pip-${version}.tar.gz" distfiles="${PYPI_SITE}/p/pip/pip-${version}.tar.gz"
checksum=b091a35f5fa0faffac0b27b97e1e1e93ffe63b463c2ea8dbde0c1fb987933614 checksum=3a14091299dcdb9bab9e9004ae67ac401f2b1b14a7c98de074ca74fdddf4bfa0
pre_install() { pre_install() {
sed -i 's,#!/usr/bin/env python,&3.4,' build-3.4/lib/pip/__init__.py sed -i 's,#!/usr/bin/env python,&3.4,' build-3.4/lib/pip/__init__.py
@ -28,10 +28,10 @@ post_install() {
python3.4-pip_package() { python3.4-pip_package() {
noarch=yes noarch=yes
depends="python3.4"
pycompile_version="3.4" pycompile_version="3.4"
pycompile_module="pip" pycompile_module="pip"
depends="python3.4-setuptools" short_desc="${short_desc/Python2/Python3.4}"
short_desc="${short_desc//Python2/Python3.4}"
pkg_install() { pkg_install() {
vmove usr/bin/pip3 vmove usr/bin/pip3
vmove usr/bin/pip3.4 vmove usr/bin/pip3.4