aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-virtualenv/APKBUILD
blob: 9e466505b83772f28efd32cec73ce40232ff94e7 (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=12.0.7
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="e08796f79d112f3bfa6653cc10840114  virtualenv-12.0.7.tar.gz"
sha256sums="d681db1766cdc8aa1b37eb18252c264b775f971166c2bf658a9618c1f3d28741  virtualenv-12.0.7.tar.gz"
sha512sums="bac06dc5cef4a4643fef4d95a1c236318a2ff3011d026134e17833b2a456d48410fcf086eb7e68e65d0756ec2b415b1f846812356d95a0f2224ec5c72775715d  virtualenv-12.0.7.tar.gz"