Commit 93162f2a authored by Sam Dodrill's avatar Sam Dodrill Committed by Natanael Copa

testing/py-virtualenv: new aport

Virtual Python Environment builder
http://www.virtualenv.org/en/latest/
parent 5b64324a
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment