diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-31 11:59:22 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-31 11:59:22 +0100 |
commit | 385d2008f65994bbe486c4f6b9778c68ff644663 (patch) | |
tree | 61322a67306b5d3c4fc46848ddc7d1694e1270d1 /main/py-virtualenv | |
parent | 74620c96e881cc849c347c2018c451cf0a1f418f (diff) | |
download | aports-385d2008f65994bbe486c4f6b9778c68ff644663.tar.bz2 aports-385d2008f65994bbe486c4f6b9778c68ff644663.tar.xz |
main/seafile: more seafile deps move to main
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" |