aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Dodrill <shadowh511@gmail.com>2013-11-18 14:27:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-18 14:27:57 +0000
commit93162f2a0e62989a38a9a8ff4dfb1328dc845ed7 (patch)
tree6c5aab9ce01df65596309a7a0d542e54b6084cd6
parent5b64324adb052951daf75f4fc196e323fc7774ca (diff)
downloadaports-93162f2a0e62989a38a9a8ff4dfb1328dc845ed7.tar.bz2
aports-93162f2a0e62989a38a9a8ff4dfb1328dc845ed7.tar.xz
testing/py-virtualenv: new aport
Virtual Python Environment builder http://www.virtualenv.org/en/latest/
-rw-r--r--testing/py-virtualenv/APKBUILD40
1 files changed, 40 insertions, 0 deletions
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 <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"