aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-virtualenv/APKBUILD
blob: 29250eae5ad01e45102aebcb8973b1c1398be6b7 (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: Sam Dodrill <shadowh511@gmail.com>
# Maintainer: Sam Dodrill <shadowh511@gmail.com>
pkgname=py-virtualenv
_pkgname=virtualenv
pkgver=1.11.6
pkgrel=0
pkgdesc="Virtual Python Environment builder"
url="http://www.virtualenv.org/en/latest/"
arch="noarch"
license="MIT"
depends="python py-pip"
depends_dev=""
makedepends="python-dev"
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="f61cdd983d2c4e6aeabb70b1060d6f49  virtualenv-1.11.6.tar.gz"
sha256sums="3e7a4c151e2ee97f51db0215bfd2a073b04a91e9786df6cb67c916f16abe04f7  virtualenv-1.11.6.tar.gz"
sha512sums="e0bb565495f5261a25ff68c4f553e9eeb8a0748bd707915d5a56ac841570012e6ab89f5647ec233745558903e6ddb516bac356d38f06a557f94d29475b0d6568  virtualenv-1.11.6.tar.gz"