diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8d8ebcb48e9a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Wed Nov 8 19:35:35 UTC 2017 +pkgbase = python-asttokens + pkgdesc = Annotate AST trees with source code positions + pkgver = 1.1.6 + pkgrel = 1 + url = https://github.com/gristlabs/asttokens + arch = any + license = Apache 2.0 + makedepends = python3 + depends = python + source = https://pypi.python.org/packages/04/e4/760448c4f1cdbb78f74efde30c4f18ce51814124708b665aeed8379d1d85/asttokens-1.1.6.tar.gz + md5sums = 867bbdc5f91b12e8bd094fba79b9da9c + +pkgname = python-asttokens + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fd34abc20c4c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintaner: Hugo Osvaldo Barrera <hugo@barrera.io> +# Automatically generated by pip2arch on 2017-11-08 + +pkgname=python-asttokens +pkgver=1.1.6 +pkgrel=1 +pkgdesc="Annotate AST trees with source code positions" +url="https://github.com/gristlabs/asttokens" +depends=('python' ) +makedepends=('python3' ) +license=('Apache 2.0') +arch=('any') +source=('https://pypi.python.org/packages/04/e4/760448c4f1cdbb78f74efde30c4f18ce51814124708b665aeed8379d1d85/asttokens-1.1.6.tar.gz') +md5sums=('867bbdc5f91b12e8bd094fba79b9da9c') + +build() { + cd $srcdir/asttokens-1.1.6 + python setup.py build +} + +package() { + cd $srcdir/asttokens-1.1.6 + python setup.py install --root="$pkgdir" --optimize=1 +} |