diff options
Diffstat (limited to 'main/py-virtualenv')
-rw-r--r-- | main/py-virtualenv/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-virtualenv/APKBUILD b/main/py-virtualenv/APKBUILD new file mode 100644 index 0000000000..29250eae5a --- /dev/null +++ b/main/py-virtualenv/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Sam Dodrill <shadowh511@gmail.com> +# Maintainer: Sam Dodrill <shadowh511@gmail.com> +pkgname=py-virtualenv +_pkgname=virtualenv +pkgver=1.11.6 +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="f61cdd983d2c4e6aeabb70b1060d6f49 virtualenv-1.11.6.tar.gz" +sha256sums="3e7a4c151e2ee97f51db0215bfd2a073b04a91e9786df6cb67c916f16abe04f7 virtualenv-1.11.6.tar.gz" +sha512sums="e0bb565495f5261a25ff68c4f553e9eeb8a0748bd707915d5a56ac841570012e6ab89f5647ec233745558903e6ddb516bac356d38f06a557f94d29475b0d6568 virtualenv-1.11.6.tar.gz" |