Commit 0d5f7ff3 authored by AlmAck's avatar AlmAck

python-distutils-extra created python3 and python2 version

parent c8041646
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
pkgname=python2-distutils-extra
_pkgname=python-distutils-extra
pkgbase=python-distutils-extra
pkgname=('python3-distutils-extra' 'python2-distutils-extra')
pkgver=2.38
pkgrel=1
pkgrel=2
pkgdesc='Enhancements to the Python build system'
arch=('x86_64')
license=('GPL')
url=https://launchpad.net/python-distutils-extra
depends=('intltool' 'python2')
makedepends=('python-distribute')
replaces=(python-distutils-extra)
provides=(python-distutils-extra)
source=(http://launchpad.net/$_pkgname/trunk/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
makedepends=('python2-setuptools' 'python3-setuptools' 'intltool')
source=(http://launchpad.net/$pkgbase/trunk/$pkgver/+download/$pkgbase-$pkgver.tar.gz)
md5sums=('4e4c9bee92a3ca8bfd915f3adcf14648')
package() {
cd "${srcdir}/$_pkgname-$pkgver"
package_python2-distutils-extra() {
depends=('intltool' 'python2')
replaces=('python-distutils-extra')
provides=('python-distutils-extra')
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}"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment