blob: 5e1020ab5b0b1135da684f6e6d29c291950fd554 (
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=13.1.2
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="b989598f068d64b32dead530eb25589a virtualenv-13.1.2.tar.gz"
sha256sums="aabc8ef18cddbd8a2a9c7f92bc43e2fea54b1147330d65db920ef3ce9812e3dc virtualenv-13.1.2.tar.gz"
sha512sums="7ba753e866b20dcba90b4e0c84da2860a4bd8ee7698c4154b38937ac990e0d140e5116e6c08df995ee7fa5c24d9f64b28ab062f365d48fef52fe477285bfaef9 virtualenv-13.1.2.tar.gz"
|