# Maintainer: Adrian Chaves Fernandez (Gallaecio) # Contributor: Giuseppe CalĂ  pkgbase=python-distutils-extra pkgname=('python3-distutils-extra' 'python2-distutils-extra') pkgver=2.39 pkgrel=2 pkgdesc='Enhancements to the Python build system' arch=('x86_64') license=('GPL') url=https://launchpad.net/python-distutils-extra makedepends=('python2-setuptools' 'python3-setuptools' 'intltool' 'python3') source=(http://launchpad.net/$pkgbase/trunk/$pkgver/+download/$pkgbase-$pkgver.tar.gz) md5sums=('16e06db0ef73a35b4bff4b9eed5699b5') package_python2-distutils-extra() { depends=('intltool' 'python2') cd "${srcdir}/$pkgbase-$pkgver" python2 setup.py install --root="${pkgdir}" } package_python3-distutils-extra() { depends=('intltool' 'python3') cd "${srcdir}/$pkgbase-$pkgver" python3 setup.py install --root="${pkgdir}" }