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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-04-16 11:07:41 +00:00
parent ab5b2a644a
commit ae6dc9afac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438635
2 changed files with 34 additions and 13 deletions

View file

@ -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.mk>
.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.post.mk>

View file

@ -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