Sat Oct 28 07:38:07 2017 UTC ()
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.


(adam)
diff -r1.467 -r1.468 pkgsrc/lang/Makefile
diff -r0 -r1.1 pkgsrc/lang/py-asttokens/DESCR
diff -r0 -r1.1 pkgsrc/lang/py-asttokens/Makefile
diff -r0 -r1.1 pkgsrc/lang/py-asttokens/PLIST
diff -r0 -r1.1 pkgsrc/lang/py-asttokens/distinfo

cvs diff -r1.467 -r1.468 pkgsrc/lang/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/Makefile 2017/10/16 17:01:50 1.467
+++ pkgsrc/lang/Makefile 2017/10/28 07:38:07 1.468
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.467 2017/10/16 17:01:50 adam Exp $ 1# $NetBSD: Makefile,v 1.468 2017/10/28 07:38:07 adam Exp $
2# 2#
3 3
4COMMENT= Programming languages 4COMMENT= Programming languages
5 5
6SUBDIR+= Cg-compiler 6SUBDIR+= Cg-compiler
7SUBDIR+= LuaJIT 7SUBDIR+= LuaJIT
8SUBDIR+= LuaJIT2 8SUBDIR+= LuaJIT2
9SUBDIR+= STk 9SUBDIR+= STk
10SUBDIR+= a60 10SUBDIR+= a60
11SUBDIR+= abcl 11SUBDIR+= abcl
12SUBDIR+= algol68g 12SUBDIR+= algol68g
13SUBDIR+= asn1c 13SUBDIR+= asn1c
14SUBDIR+= awka 14SUBDIR+= awka
@@ -163,26 +163,27 @@ SUBDIR+= parrot @@ -163,26 +163,27 @@ SUBDIR+= parrot
163SUBDIR+= pcc 163SUBDIR+= pcc
164SUBDIR+= pcc-current 164SUBDIR+= pcc-current
165SUBDIR+= pear 165SUBDIR+= pear
166SUBDIR+= perl5 166SUBDIR+= perl5
167SUBDIR+= pfe 167SUBDIR+= pfe
168SUBDIR+= pforth 168SUBDIR+= pforth
169#SUBDIR+= php # only contains Makefile fragments 169#SUBDIR+= php # only contains Makefile fragments
170SUBDIR+= php56 170SUBDIR+= php56
171SUBDIR+= php70 171SUBDIR+= php70
172SUBDIR+= php71 172SUBDIR+= php71
173SUBDIR+= picoc 173SUBDIR+= picoc
174SUBDIR+= pict 174SUBDIR+= pict
175SUBDIR+= polyml 175SUBDIR+= polyml
 176SUBDIR+= py-asttokens
176SUBDIR+= py-basicproperty 177SUBDIR+= py-basicproperty
177SUBDIR+= py-byterun 178SUBDIR+= py-byterun
178SUBDIR+= py-cxfreeze 179SUBDIR+= py-cxfreeze
179SUBDIR+= py-execjs 180SUBDIR+= py-execjs
180SUBDIR+= py-hy 181SUBDIR+= py-hy
181SUBDIR+= py-js2py 182SUBDIR+= py-js2py
182SUBDIR+= py-jsparser 183SUBDIR+= py-jsparser
183SUBDIR+= py-parso 184SUBDIR+= py-parso
184SUBDIR+= py-pyrex 185SUBDIR+= py-pyrex
185SUBDIR+= py-pythonz 186SUBDIR+= py-pythonz
186SUBDIR+= py-six 187SUBDIR+= py-six
187SUBDIR+= py27-html-docs 188SUBDIR+= py27-html-docs
188SUBDIR+= py34-html-docs 189SUBDIR+= py34-html-docs

File Added: pkgsrc/lang/py-asttokens/DESCR
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.

File Added: pkgsrc/lang/py-asttokens/Makefile
# $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"

File Added: pkgsrc/lang/py-asttokens/PLIST
@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

File Added: pkgsrc/lang/py-asttokens/distinfo
$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