aboutsummaryrefslogtreecommitdiffstats
path: root/main/py2-pip
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-30 21:07:58 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-30 23:34:46 +0200
commit0170371a59cdeaaf072eeb844b840a02165a4b53 (patch)
tree645b27af6fe1f8a3b3f973bccb294d7e99885f4f /main/py2-pip
parent3c9019b3f91d0699eae35563ba6a83afb00b6f1c (diff)
downloadaports-0170371a59cdeaaf072eeb844b840a02165a4b53.tar.bz2
aports-0170371a59cdeaaf072eeb844b840a02165a4b53.tar.xz
main/py-pip: rename to py2-pip
Python 3 already includes pip, so there will not be py3-pip.
Diffstat (limited to 'main/py2-pip')
-rw-r--r--main/py2-pip/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/py2-pip/APKBUILD b/main/py2-pip/APKBUILD
new file mode 100644
index 0000000000..18de4af88b
--- /dev/null
+++ b/main/py2-pip/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+# Note: Python 3 already includes pip, so py3-pip is not needed.
+pkgname=py2-pip
+_pkgname=pip
+pkgver=8.1.2
+pkgrel=0
+pkgdesc="A tool for installing and managing Python packages"
+url="http://www.pip-installer.org"
+arch="noarch"
+license="MIT"
+provides="py-pip"
+replaces="py-pip"
+depends="python2 py-setuptools"
+makedepends="python2-dev py-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://github.com/pypa/pip/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python2 setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="f65cbd43e06f4444ff66c25721a9ba02 py2-pip-8.1.2.tar.gz"
+sha256sums="8dae1fb72e29c2b6ff6ed267861179216bf98d3bda6d30e527dbed0db5ac7e1d py2-pip-8.1.2.tar.gz"
+sha512sums="a189a991fe41c2fb1a1b8d80ab7151cd8177d13fa668d91669debf72741ce6adde2187aeb3b67cde16d24af94129598945dd8ec74732f1443f8bc078dc7b9813 py2-pip-8.1.2.tar.gz"