blob: 84e5dcf0c0639b4f2f0f8dff115f1195ad75fae6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Contributor (Arch): Fabien Devaux <fdev31 at gmail dot com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
pkgname=python2-pkgtools
pkgver=0.7.3
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)
md5sums=('f23b4aaf2fb4893df8f5225a9edb6a07')
build() {
cd "${srcdir}/pkgtools-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/pkgtools-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|