pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang py-asttokens: added version 1.1.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4cf83773dbba
branches:  trunk
changeset: 370926:4cf83773dbba
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 28 07:38:07 2017 +0000

description:
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:

 lang/Makefile              |   3 ++-
 lang/py-asttokens/DESCR    |   6 ++++++
 lang/py-asttokens/Makefile |  21 +++++++++++++++++++++
 lang/py-asttokens/PLIST    |  21 +++++++++++++++++++++
 lang/py-asttokens/distinfo |   6 ++++++
 5 files changed, 56 insertions(+), 1 deletions(-)

diffs (87 lines):

diff -r 68e23e0acd30 -r 4cf83773dbba lang/Makefile
--- a/lang/Makefile     Sat Oct 28 06:55:17 2017 +0000
+++ b/lang/Makefile     Sat Oct 28 07:38:07 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.467 2017/10/16 17:01:50 adam Exp $
+# $NetBSD: Makefile,v 1.468 2017/10/28 07:38:07 adam Exp $
 #
 
 COMMENT=       Programming languages
@@ -173,6 +173,7 @@
 SUBDIR+=       picoc
 SUBDIR+=       pict
 SUBDIR+=       polyml
+SUBDIR+=       py-asttokens
 SUBDIR+=       py-basicproperty
 SUBDIR+=       py-byterun
 SUBDIR+=       py-cxfreeze
diff -r 68e23e0acd30 -r 4cf83773dbba lang/py-asttokens/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-asttokens/DESCR   Sat Oct 28 07:38:07 2017 +0000
@@ -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 -r 68e23e0acd30 -r 4cf83773dbba lang/py-asttokens/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-asttokens/Makefile        Sat Oct 28 07:38:07 2017 +0000
@@ -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@localhost
+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 -r 68e23e0acd30 -r 4cf83773dbba lang/py-asttokens/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-asttokens/PLIST   Sat Oct 28 07:38:07 2017 +0000
@@ -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 -r 68e23e0acd30 -r 4cf83773dbba lang/py-asttokens/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-asttokens/distinfo        Sat Oct 28 07:38:07 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index