mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-25 23:52:33 +02:00
37 lines
894 B
Plaintext
37 lines
894 B
Plaintext
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
|
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
|
pkgname=py-distutils-extra
|
|
pkgver=2.26
|
|
pkgrel=1
|
|
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"
|