summaryrefslogtreecommitdiffstats
path: root/testing/py-virtualenv/APKBUILD
blob: 3b4768a978b7f03df1a23e06c7a7af5f7c0c9e0f (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
# Contributor: Sam Dodrill <shadowh511@gmail.com>
# Maintainer: Sam Dodrill <shadowh511@gmail.com>
pkgname=py-virtualenv
pkgver=1.10.1
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="https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz"

_builddir="$srcdir/virtualenv-$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="3a04aa2b32c76c83725ed4d9918e362e  virtualenv-1.10.1.tar.gz"
sha256sums="857449d69b9ec7d058dcc2e37c53d3895432300881aa61fd2ade178a807b0aa7  virtualenv-1.10.1.tar.gz"
sha512sums="f6fabd466778113fadcfb2f3785d1a36c556105ba43d8d130fdcb77702a914ab5d5dc2c81271ff0e439fbf96a8be8bc94d88fde47108f2b8659f71fae370067d  virtualenv-1.10.1.tar.gz"