aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-virtualenv/APKBUILD
blob: d898625ad14054260999a4e91757856ad36a4c26 (plain) (blame)
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: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-virtualenv
pkgver=12.1.1
pkgrel=0
pkgdesc="Virtual Python Environment builder"
url="https://virtualenv.pypa.io/"
arch="all"
license="MIT"
depends="python py-setuptools"
depends_dev=""
makedepends=" python-dev"
install=""
subpackages=
source="https://pypi.python.org/packages/source/v/virtualenv/virtualenv-$pkgver.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="901ecbf302f5de9fdb31d843290b7217  virtualenv-12.1.1.tar.gz"
sha256sums="3c88cf7df114c32cf0651d12f979b8db556d992d647493e5bdbbe2828be40007  virtualenv-12.1.1.tar.gz"
sha512sums="63f70eb723ef1d3a9bcd5513a954a9744337ac943d3bea2c852b1b3df4b323c67b5af4ff42eb33de10f20b76e635627d1f99f53d556fa4674c8aac48965eca58  virtualenv-12.1.1.tar.gz"