blob: 6f02a36b26c07838237d7a3b936cc0bd5462ed1d (
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
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pip
_pkgname=pip
pkgver=1.4.1
pkgrel=0
pkgdesc="A tool for installing and managing Python packages"
url="http://www.pip-installer.org"
arch="noarch"
license="MIT"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="6afbb46aeb48abac658d4df742bff714 pip-1.4.1.tar.gz"
sha256sums="4e7a06554711a624c35d0c646f63674b7f6bfc7f80221bf1eb1f631bd890d04e pip-1.4.1.tar.gz"
sha512sums="8ddeafa90f58c976c3af6493ee8c92f1592b85df9ba23b9d89f5d2d343975ccc94eff92a53f0753322169208f0522fca1c34be324ae1eb06a5298b67a801afee pip-1.4.1.tar.gz"
|