pkgsrc/devel/py-astroid/Makefile
adam b9452062bc py-astroid: updated to 1.6.5
1.6.5
*  Don't propagate Uninferable objects when inferring BinOps
*  Protect against passing lookup_class to non-class proxied objects
   In some cases the _proxied object points to another Instance, not to the
   Class of an Instance node (usually this happens with enum and with our
   hardcoded inference support for this library). Instead of getting a TypeError,
   we check before if the _proxied matches what we expect.
2018-06-07 06:33:54 +00:00

27 lines
969 B
Makefile

# $NetBSD: Makefile,v 1.17 2018/06/07 06:33:54 adam Exp $
DISTNAME= astroid-1.6.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}-wrapt-[0-9]*:../../devel/py-wrapt
.include "../../lang/python/pyversion.mk"
.if "${PYPKGPREFIX}" == "py27"
DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache-[0-9]*:../../devel/py-backports.functools_lru_cache
DEPENDS+= ${PYPKGPREFIX}-enum34>-1.1.3:../../devel/py-enum34
DEPENDS+= ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
.endif
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"