Package Details: python-asttokens 2.0.5-2

Git Clone URL: (read-only, click to copy)
Package Base: python-asttokens
Description: Annotate AST trees with source code positions
Upstream URL:
Licenses: Apache 2.0
Submitter: whynothugo
Maintainer: whynothugo
Last Packager: whynothugo
Votes: 5
Popularity: 0.85
First Submitted: 2017-11-08 19:36
Last Updated: 2021-09-07 11:43

Latest Comments

lmartinez-mirror commented on 2021-09-06 17:15

Now I know why, this package is missing python-setuptools-scm in its makedepends. It'll build without python-wheel and python-pip afterwards. I'll post a patch with a fix, among other things.

diff --git a/PKGBUILD b/PKGBUILD
index 47b6f7a..9a0a526 100644
@@ -1,14 +1,15 @@
 # Maintaner: Hugo Osvaldo Barrera <>
+# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
 # Automatically generated by pip2arch on 2017-11-08

 pkgdesc="Annotate AST trees with source code positions"
-depends=('python' 'python-six')
+makedepends=('python-setuptools' 'python-setuptools-scm')
 license=('Apache 2.0')
@@ -21,5 +22,5 @@ build() {

 package() {
     cd $srcdir/asttokens-$pkgver
-    python install --root="$pkgdir" --optimize=1 
+    python install --root="$pkgdir" --optimize=1 --skip-build

whynothugo commented on 2021-07-19 17:04

It builds for me without python-wheel.

lmartinez-mirror commented on 2021-06-23 01:39

Just a reminder that this package needs python-pip and python-wheel to build successfully.

lmartinez-mirror commented on 2021-04-02 03:13

Package requires python-pip and possibly python-wheel in its makedepends() to build properly.

whynothugo commented on 2020-11-16 09:35

Updated, thanks!