diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-02 07:49:54 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-02 07:51:22 +0700 |
commit | 5d3b7371d20ddaa21b5626d083098b3a52a0b9ab (patch) | |
tree | 30320bafb486be5b8b101f7c3f0c60b974048bfb /python/asttokens | |
parent | 4e6761af2a28bb986272b9ef3184583ed003b52a (diff) |
python/asttokens: Build python3 only now.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/asttokens')
-rw-r--r-- | python/asttokens/README | 2 | ||||
-rw-r--r-- | python/asttokens/asttokens.SlackBuild | 5 | ||||
-rw-r--r-- | python/asttokens/asttokens.info | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/python/asttokens/README b/python/asttokens/README index 409a44dc4eaa9..7d6d688690b2b 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 58bcb28559781..583f470ba0dc8 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 95e9987eb51ac..255b94aab2ed5 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" |