mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 09:11:38 +01:00
testing/py-distutils-extra: new aport
This commit is contained in:
parent
6bd8f02648
commit
3acecadcdf
36
testing/py-distutils-extra/APKBUILD
Normal file
36
testing/py-distutils-extra/APKBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
||||
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
||||
pkgname=py-distutils-extra
|
||||
pkgver=2.26
|
||||
pkgrel=0
|
||||
pkgdesc="enhanced distutils package for python"
|
||||
url="http://launchpad.net/python-distutils-extra"
|
||||
arch="noarch"
|
||||
license="GPL"
|
||||
depends="py-setuptools"
|
||||
makedepends="python-dev"
|
||||
install=""
|
||||
source="http://launchpad.net/python-distutils-extra/trunk/$pkgver/+download/python-distutils-extra-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir"/python-distutils-extra-$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 --root="$pkgdir" || return 1
|
||||
}
|
||||
|
||||
md5sums="7caded30a45907b5cdb10ac4182846eb python-distutils-extra-2.26.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user