pkgsrc/devel/py-astroid/Makefile
adam 16c8251ec3 py-astroid: updated to 2.2.5
What's New in astroid 2.2.5?
* The last except handler wins when inferring variables bound in an except handler.
2019-03-13 19:19:27 +00:00

30 lines
1,023 B
Makefile

# $NetBSD: Makefile,v 1.28 2019/03/13 19:19:27 adam Exp $
DISTNAME= astroid-2.2.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/}
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= https://github.com/pycqa/astroid
COMMENT= Rebuild a new abstract syntax tree from Python's ast
LICENSE= gnu-lgpl-v3
DEPENDS+= ${PYPKGPREFIX}-lazy-object-proxy-[0-9]*:../../devel/py-lazy-object-proxy
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-typed-ast-[0-9]*:../../devel/py-typed-ast
DEPENDS+= ${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 34
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
.endif
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"