pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Oct 28 07:38:07 UTC 2017

Modified Files:
        pkgsrc/lang: Makefile
Added Files:
        pkgsrc/lang/py-asttokens: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.467 -r1.468 pkgsrc/lang/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-asttokens/DESCR \
    pkgsrc/lang/py-asttokens/Makefile pkgsrc/lang/py-asttokens/PLIST \
    pkgsrc/lang/py-asttokens/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/Makefile
diff -u pkgsrc/lang/Makefile:1.467 pkgsrc/lang/Makefile:1.468
--- pkgsrc/lang/Makefile:1.467  Mon Oct 16 17:01:50 2017
+++ pkgsrc/lang/Makefile        Sat Oct 28 07:38:07 2017
@@ -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+=    php71
 SUBDIR+=       picoc
 SUBDIR+=       pict
 SUBDIR+=       polyml
+SUBDIR+=       py-asttokens
 SUBDIR+=       py-basicproperty
 SUBDIR+=       py-byterun
 SUBDIR+=       py-cxfreeze

Added files:

Index: pkgsrc/lang/py-asttokens/DESCR
diff -u /dev/null pkgsrc/lang/py-asttokens/DESCR:1.1
--- /dev/null   Sat Oct 28 07:38:07 2017
+++ pkgsrc/lang/py-asttokens/DESCR      Sat Oct 28 07:38:07 2017
@@ -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.
Index: pkgsrc/lang/py-asttokens/Makefile
diff -u /dev/null pkgsrc/lang/py-asttokens/Makefile:1.1
--- /dev/null   Sat Oct 28 07:38:07 2017
+++ pkgsrc/lang/py-asttokens/Makefile   Sat Oct 28 07:38:07 2017
@@ -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"
Index: pkgsrc/lang/py-asttokens/PLIST
diff -u /dev/null pkgsrc/lang/py-asttokens/PLIST:1.1
--- /dev/null   Sat Oct 28 07:38:07 2017
+++ pkgsrc/lang/py-asttokens/PLIST      Sat Oct 28 07:38:07 2017
@@ -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
Index: pkgsrc/lang/py-asttokens/distinfo
diff -u /dev/null pkgsrc/lang/py-asttokens/distinfo:1.1
--- /dev/null   Sat Oct 28 07:38:07 2017
+++ pkgsrc/lang/py-asttokens/distinfo   Sat Oct 28 07:38:07 2017
@@ -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