Date: Mon, 27 Nov 2017 11:28:54 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454942 - in head/devel: . py-asttokens py-flake8-import-order py3-asttokens py3-flake8-import-order Message-ID: <201711271128.vARBSsE5001186@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Nov 27 11:28:54 2017 New Revision: 454942 URL: https://svnweb.freebsd.org/changeset/ports/454942 Log: - Add devel/py{,3}-asttokens, missing dependency for py{,3}-flake8-import-order 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. WWW: https://pypi.python.org/pypi/asttokens Approved by: portmgr (bdrewery) Added: head/devel/py-asttokens/ head/devel/py-asttokens/Makefile (contents, props changed) head/devel/py-asttokens/distinfo (contents, props changed) head/devel/py-asttokens/pkg-descr (contents, props changed) head/devel/py3-asttokens/ head/devel/py3-asttokens/Makefile (contents, props changed) Modified: head/devel/Makefile head/devel/py-flake8-import-order/Makefile head/devel/py3-flake8-import-order/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Nov 27 09:17:19 2017 (r454941) +++ head/devel/Makefile Mon Nov 27 11:28:54 2017 (r454942) @@ -4255,6 +4255,7 @@ SUBDIR += py-aspyct SUBDIR += py-astor SUBDIR += py-astroid + SUBDIR += py-asttokens SUBDIR += py-async_timeout SUBDIR += py-asyncio SUBDIR += py-atomiclong @@ -5081,6 +5082,7 @@ SUBDIR += py27-setuptools SUBDIR += py3-Jinja2 SUBDIR += py3-apipkg + SUBDIR += py3-asttokens SUBDIR += py3-babel SUBDIR += py3-cffi SUBDIR += py3-click Added: head/devel/py-asttokens/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-asttokens/Makefile Mon Nov 27 11:28:54 2017 (r454942) @@ -0,0 +1,33 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= asttokens +PORTVERSION= 1.1.6 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Annotate AST trees with source code positions + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six + +USES?= python +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3000 +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ + ${PYTHON_PKGNAMEPREFIX}astroid>0:devel/py-astroid + +# not supported on 3.x due to missing test depends +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test +.endif + +.include <bsd.port.post.mk> Added: head/devel/py-asttokens/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-asttokens/distinfo Mon Nov 27 11:28:54 2017 (r454942) @@ -0,0 +1,3 @@ +TIMESTAMP = 1510150148 +SHA256 (asttokens-1.1.6.tar.gz) = 97f568e6eaf9a133850bd5370193ef10a459fc9fff0c8954e986a30b44415a88 +SIZE (asttokens-1.1.6.tar.gz) = 32925 Added: head/devel/py-asttokens/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-asttokens/pkg-descr Mon Nov 27 11:28:54 2017 (r454942) @@ -0,0 +1,9 @@ +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. + +WWW: https://pypi.python.org/pypi/asttokens Modified: head/devel/py-flake8-import-order/Makefile ============================================================================== --- head/devel/py-flake8-import-order/Makefile Mon Nov 27 09:17:19 2017 (r454941) +++ head/devel/py-flake8-import-order/Makefile Mon Nov 27 11:28:54 2017 (r454942) @@ -3,6 +3,7 @@ PORTNAME= flake8-import-order PORTVERSION= 0.15 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,7 +14,8 @@ COMMENT= Flake8 and pylama plugin that checks the orde LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pycodestyle>=0:devel/py-pycodestyle +RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pycodestyle>=0:devel/py-pycodestyle \ + ${PYTHON_PKGNAMEPREFIX}asttokens>=0:devel/py-asttokens USES?= python USE_PYTHON= autoplist distutils Added: head/devel/py3-asttokens/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3-asttokens/Makefile Mon Nov 27 11:28:54 2017 (r454942) @@ -0,0 +1,10 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../py-asttokens + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py3-six + +USES= python:3 + +.include "${MASTERDIR}/Makefile" Modified: head/devel/py3-flake8-import-order/Makefile ============================================================================== --- head/devel/py3-flake8-import-order/Makefile Mon Nov 27 09:17:19 2017 (r454941) +++ head/devel/py3-flake8-import-order/Makefile Mon Nov 27 11:28:54 2017 (r454942) @@ -3,7 +3,8 @@ MASTERDIR= ${.CURDIR}/../py-flake8-import-order -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycodestyle>=0:devel/py3-pycodestyle +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycodestyle>=0:devel/py3-pycodestyle \ + ${PYTHON_PKGNAMEPREFIX}asttokens>=0:devel/py3-asttokens USES= python:3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711271128.vARBSsE5001186>