summaryrefslogtreecommitdiff
path: root/pcr/python2-pkgtools/PKGBUILD
blob: 7060dc416fd4c333a266e40ae4f7e192ff5fc1e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Contributor: Fabien Devaux <fdev31 at gmail dot com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>

pkgname=python2-pkgtools
pkgver=0.7.1
pkgrel=1
pkgdesc="Python packages tools"
arch=('any')
url="http://pkgtools.readthedocs.org/en/latest/"
license=('MIT')
depends=('python2')
makedepends=('python2-distribute')
source=(http://pypi.python.org/packages/source/p/pkgtools/pkgtools-${pkgver}.tar.gz)

build() {
   cd "${srcdir}/pkgtools-${pkgver}"
   python2 setup.py build || exit 1
   python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1
}