Date: Sun, 16 Apr 2017 11:07:41 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438635 - head/devel/py-astroid Message-ID: <201704161107.v3GB7feN072632@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Apr 16 11:07:41 2017 New Revision: 438635 URL: https://svnweb.freebsd.org/changeset/ports/438635 Log: Add missing RUN_DEPENDS - Update COMMENT - Add LICENSE_FILE - Sort RUN_DEPENDS - Allow concurrent installation (USE_PYTHON=concurrent) - Update pkg-descr - Update WWW - Add GitHub repository to WWW - Bump PORTREVISION for dependency change - Take maintainership Modified: head/devel/py-astroid/Makefile head/devel/py-astroid/pkg-descr Modified: head/devel/py-astroid/Makefile ============================================================================== --- head/devel/py-astroid/Makefile Sun Apr 16 11:07:36 2017 (r438634) +++ head/devel/py-astroid/Makefile Sun Apr 16 11:07:41 2017 (r438635) @@ -2,21 +2,34 @@ PORTNAME= astroid PORTVERSION= 1.5.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Extension for Python compiler.ast module +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= abstract syntax tree for Python with inference support LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING.LESSER -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wrapt>0:devel/py-wrapt \ - ${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>0:devel/py-lazy-object-proxy \ - ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=0:devel/py-lazy-object-proxy \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}wrapt>=0:devel/py-wrapt -USES= python -USE_PYTHON= autoplist distutils NO_ARCH= yes +USE_PYTHON= autoplist concurrent distutils +USES= python + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3300 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=0:devel/py-backports.functools_lru_cache +.endif + +.if ${PYTHON_REL} < 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>=0:devel/py-enum34 \ + ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/devel/py-astroid/pkg-descr ============================================================================== --- head/devel/py-astroid/pkg-descr Sun Apr 16 11:07:36 2017 (r438634) +++ head/devel/py-astroid/pkg-descr Sun Apr 16 11:07:41 2017 (r438635) @@ -1,6 +1,14 @@ -The aim of this module is to provide a common base representation -of python source code for projects such as pychecker, pyreverse, -pylint... Well, actually the development of this library is essentially -governed by pylint's needs. It used to be called logilab-astng. +The aim of this module is to provide a common base representation of python +source code for projects such as pychecker, pyreverse, pylint... Well, actually +the development of this library is essentially governed by pylint's needs. It +used to be called logilab-astng. -WWW: https://bitbucket.org/logilab/astroid/ +It provides a compatible representation which comes from the _ast module. It +rebuilds the tree generated by the builtin _ast module by recursively walking +down the AST and building an extended ast. The new node classes have additional +methods and attributes for different usages. They include some support for +static inference and local name scopes. Furthermore, astroid builds partial +trees by inspecting living objects. + +WWW: https://pypi.python.org/pypi/astroid +WWW: https://github.com/PyCQA/astroid
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704161107.v3GB7feN072632>