diff options
Diffstat (limited to 'main/py2-pip')
-rw-r--r-- | main/py2-pip/APKBUILD | 31 |
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" |