mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 16:21:38 +01:00
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
|
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
|
pkgname=py-distutils-extra
|
|
pkgver=2.38
|
|
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="4e4c9bee92a3ca8bfd915f3adcf14648 python-distutils-extra-2.38.tar.gz"
|
|
sha256sums="3d100d5d3492f40b3e7a6a4500f71290bfa91e2c50dc31ba8e3ff9b5d82ca153 python-distutils-extra-2.38.tar.gz"
|
|
sha512sums="bbaea59a8f251f354e6cf3799b67c12225095cc869c7c4e299e719ad7bcfd1292cff99f95ab25f04fb9c3e2432da5ea614ee76154781388c47960fdf2c90a3d7 python-distutils-extra-2.38.tar.gz"
|