From 93162f2a0e62989a38a9a8ff4dfb1328dc845ed7 Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Mon, 18 Nov 2013 14:27:41 +0000 Subject: testing/py-virtualenv: new aport Virtual Python Environment builder http://www.virtualenv.org/en/latest/ --- testing/py-virtualenv/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/py-virtualenv/APKBUILD diff --git a/testing/py-virtualenv/APKBUILD b/testing/py-virtualenv/APKBUILD new file mode 100644 index 0000000000..3b4768a978 --- /dev/null +++ b/testing/py-virtualenv/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Sam Dodrill +# Maintainer: Sam Dodrill +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" -- cgit v1.2.3