summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3efca5a9edb416e69d49165d1634d39d9642bf5e (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.4
pkgrel=1
pkgdesc="Annotate AST trees with source code positions"
url="https://github.com/gristlabs/asttokens"
depends=('python' 'python-six')
makedepends=('python-setuptools')
license=('Apache 2.0')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
md5sums=('3e90edd0656e9d86daf7a7909e583a3d')

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

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