diff --git a/python/asttokens/README b/python/asttokens/README index 409a44dc4e..7d6d688690 100644 --- a/python/asttokens/README +++ b/python/asttokens/README @@ -6,7 +6,7 @@ the particular text that resulted in those nodes, for example for automated refactoring or highlighting. It works with Python2 and Python3 and can annotate both trees built by -ast, and those built by astroid. +ast, and those built by astroid, but the script build only python3. This (source) is downloaded from pypi.org/projects/asttokens as the github site may not have a complete sourcecode zip. diff --git a/python/asttokens/asttokens.SlackBuild b/python/asttokens/asttokens.SlackBuild index 58bcb28559..583f470ba0 100644 --- a/python/asttokens/asttokens.SlackBuild +++ b/python/asttokens/asttokens.SlackBuild @@ -42,9 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -84,7 +81,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; #lets do both python2 and python3 -python setup.py install --root=$PKG +#python setup.py install --root=$PKG python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/asttokens/asttokens.info b/python/asttokens/asttokens.info index 95e9987eb5..255b94aab2 100644 --- a/python/asttokens/asttokens.info +++ b/python/asttokens/asttokens.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/ed/e0/7e5af07a090b9ef4f88e29b6 MD5SUM="af0ff280c88a37516e38a7b3086ad487" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python2-setuptools-scm python3-wheel python-toml" +REQUIRES="python3-setuptools-scm-opt python3-wheel python3-toml" MAINTAINER="Tim Dickson" EMAIL="dickson.tim@googlemail.com"