aboutsummaryrefslogtreecommitdiffstats
path: root/main/py2-pip/APKBUILD
blob: 18de4af88b0d7116d3422dfbf41fbd23e44aa03d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"