From owner-svn-ports-head@freebsd.org Mon Nov 27 11:28:56 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97F27DFE8F5; Mon, 27 Nov 2017 11:28:56 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 69DB56D156; Mon, 27 Nov 2017 11:28:56 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vARBStU2001193; Mon, 27 Nov 2017 11:28:55 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vARBSsE5001186; Mon, 27 Nov 2017 11:28:54 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201711271128.vARBSsE5001186@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 27 Nov 2017 11:28:54 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/devel: . py-asttokens py-flake8-import-order py3-asttokens py3-flake8-import-order X-SVN-Commit-Revision: 454942 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 11:28:56 -0000 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 +# $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 + +.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 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 +# $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