pkgsrc/devel/py-astroid/Makefile
adam 7f2e1d61b9 py-astroid: updated to 2.11.4
What's New in astroid 2.11.4?
=============================
* Fix ``col_offset`` attribute for nodes involving ``with`` on ``PyPy``.

* Fixed a crash involving two starred expressions: one inside a comprehension,
  both inside a call.

* Made ``FunctionDef.implicit_parameters`` return 1 for methods by making
  ``FunctionDef.is_bound`` return ``True``, as it does for class methods.

* Fixed a crash when ``_filter_stmts`` encounters an ``EmptyNode``.
2022-05-03 17:50:49 +00:00

27 lines
853 B
Makefile

# $NetBSD: Makefile,v 1.56 2022/05/03 17:50:49 adam Exp $
DISTNAME= astroid-2.11.4
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-v2.1
DEPENDS+= ${PYPKGPREFIX}-lazy-object-proxy>=1.4.0:../../devel/py-lazy-object-proxy
DEPENDS+= ${PYPKGPREFIX}-wrapt>=1.11:../../devel/py-wrapt
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 310
DEPENDS+= ${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10:../../devel/py-typing-extensions
.endif
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"