summaryrefslogtreecommitdiff
path: root/lang/py-asttokens
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-10-28 07:38:07 +0000
committeradam <adam@pkgsrc.org>2017-10-28 07:38:07 +0000
commit3f3eccdac39839d14827af4ecc7fe74c6d49cfb8 (patch)
tree1e90c62b6d26f65e64394e003f56521cf417ba2d /lang/py-asttokens
parente81855aec5f4b093338ce2818266494c311eb7fc (diff)
downloadpkgsrc-3f3eccdac39839d14827af4ecc7fe74c6d49cfb8.tar.gz
py-asttokens: added version 1.1.6
The asttokens module annotates Python abstract syntax trees (ASTs) with the positions of tokens and text in the source code that generated them. It makes it possible for tools that work with logical AST nodes to find the particular text that resulted in those nodes, for example for automated refactoring or highlighting.
Diffstat (limited to 'lang/py-asttokens')
-rw-r--r--lang/py-asttokens/DESCR6
-rw-r--r--lang/py-asttokens/Makefile21
-rw-r--r--lang/py-asttokens/PLIST21
-rw-r--r--lang/py-asttokens/distinfo6
4 files changed, 54 insertions, 0 deletions
diff --git a/lang/py-asttokens/DESCR b/lang/py-asttokens/DESCR
new file mode 100644
index 00000000000..2762337a7d8
--- /dev/null
+++ b/lang/py-asttokens/DESCR
@@ -0,0 +1,6 @@
+The asttokens module annotates Python abstract syntax trees (ASTs) with the
+positions of tokens and text in the source code that generated them.
+
+It makes it possible for tools that work with logical AST nodes to find the
+particular text that resulted in those nodes, for example for automated
+refactoring or highlighting.
diff --git a/lang/py-asttokens/Makefile b/lang/py-asttokens/Makefile
new file mode 100644
index 00000000000..def1dce6e01
--- /dev/null
+++ b/lang/py-asttokens/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/10/28 07:38:07 adam Exp $
+
+DISTNAME= asttokens-1.1.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= lang python
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/asttokens/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/gristlabs/asttokens
+COMMENT= Annotate AST trees with source code positions
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+BUILD_DEPENDS+= ${PYPKGPREFIX}-astroid-[0-9]*:../../devel/py-astroid
+BUILD_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/py-asttokens/PLIST b/lang/py-asttokens/PLIST
new file mode 100644
index 00000000000..17f32955be7
--- /dev/null
+++ b/lang/py-asttokens/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/28 07:38:07 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/asttokens/__init__.py
+${PYSITELIB}/asttokens/__init__.pyc
+${PYSITELIB}/asttokens/__init__.pyo
+${PYSITELIB}/asttokens/asttokens.py
+${PYSITELIB}/asttokens/asttokens.pyc
+${PYSITELIB}/asttokens/asttokens.pyo
+${PYSITELIB}/asttokens/line_numbers.py
+${PYSITELIB}/asttokens/line_numbers.pyc
+${PYSITELIB}/asttokens/line_numbers.pyo
+${PYSITELIB}/asttokens/mark_tokens.py
+${PYSITELIB}/asttokens/mark_tokens.pyc
+${PYSITELIB}/asttokens/mark_tokens.pyo
+${PYSITELIB}/asttokens/util.py
+${PYSITELIB}/asttokens/util.pyc
+${PYSITELIB}/asttokens/util.pyo
diff --git a/lang/py-asttokens/distinfo b/lang/py-asttokens/distinfo
new file mode 100644
index 00000000000..4ff1213d87a
--- /dev/null
+++ b/lang/py-asttokens/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/10/28 07:38:07 adam Exp $
+
+SHA1 (asttokens-1.1.6.tar.gz) = 209004427e8b0c3c09139c2b782321e1410fbc3c
+RMD160 (asttokens-1.1.6.tar.gz) = 5b80f776702a88cacf18f0c22812289a8d1977c7
+SHA512 (asttokens-1.1.6.tar.gz) = 2b835e7a88c0d503bb185293d3fc008e285d1e0818ce59091ac622af7717ba95036b5d5c6b23d6e14ae7f660b48bc0333d9e0e48e8c110a25f41f75883a46ee2
+Size (asttokens-1.1.6.tar.gz) = 32925 bytes