diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-30 15:07:00 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-30 15:07:08 +0200 |
commit | a6404ff4db96a7bf4fb762a5fdf9ccf9d6b669ff (patch) | |
tree | 2210f21094b0273ff124397b4d4eff7a07f7728f /testing/py-virtualenv | |
parent | 89ec07746225ae1f45cb7582198340ffd1891f25 (diff) | |
download | aports-a6404ff4db96a7bf4fb762a5fdf9ccf9d6b669ff.tar.bz2 aports-a6404ff4db96a7bf4fb762a5fdf9ccf9d6b669ff.tar.xz |
testing/py-virtualenv: new aport
Diffstat (limited to 'testing/py-virtualenv')
-rw-r--r-- | testing/py-virtualenv/APKBUILD | 40 |
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..d898625ad1 --- /dev/null +++ b/testing/py-virtualenv/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-virtualenv +pkgver=12.1.1 +pkgrel=0 +pkgdesc="Virtual Python Environment builder" +url="https://virtualenv.pypa.io/" +arch="all" +license="MIT" +depends="python py-setuptools" +depends_dev="" +makedepends=" python-dev" +install="" +subpackages= +source="https://pypi.python.org/packages/source/v/virtualenv/virtualenv-$pkgver.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="901ecbf302f5de9fdb31d843290b7217 virtualenv-12.1.1.tar.gz" +sha256sums="3c88cf7df114c32cf0651d12f979b8db556d992d647493e5bdbbe2828be40007 virtualenv-12.1.1.tar.gz" +sha512sums="63f70eb723ef1d3a9bcd5513a954a9744337ac943d3bea2c852b1b3df4b323c67b5af4ff42eb33de10f20b76e635627d1f99f53d556fa4674c8aac48965eca58 virtualenv-12.1.1.tar.gz" |