summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1e7f3ce6e36f36cd9caf618279768d567736353 (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
# Maintaner: Hugo Osvaldo Barrera <hugo@barrera.io>
# Automatically generated by pip2arch on 2017-11-08

pkgname=python-asttokens
_pkgname=asttokens
pkgver=2.0.3
pkgrel=1
pkgdesc="Annotate AST trees with source code positions"
url="https://github.com/gristlabs/asttokens"
depends=('python' )
makedepends=('python-setuptools')
license=('Apache 2.0')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
md5sums=('8a9211d70cb5630207b74c1e40b2134d')

build() {
    cd $srcdir/asttokens-$pkgver
    python setup.py build
}

package() {
    cd $srcdir/asttokens-$pkgver
    python setup.py install --root="$pkgdir" --optimize=1 
}