mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py-virtualenv: new aport
This commit is contained in:
parent
89ec077462
commit
a6404ff4db
40
testing/py-virtualenv/APKBUILD
Normal file
40
testing/py-virtualenv/APKBUILD
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user