pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-astroid py-astroid: updated to 2.5.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e228b75dc18
branches:  trunk
changeset: 449410:5e228b75dc18
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Mar 30 09:20:16 2021 +0000

description:
py-astroid: updated to 2.5.2

What's New in astroid 2.5.2?
* Detects `import numpy` as a valid `numpy` import.
* Iterate over ``Keywords`` when using ``ClassDef.get_children``

diffstat:

 devel/py-astroid/Makefile |  10 +++++++---
 devel/py-astroid/distinfo |  10 +++++-----
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r acce259a1f27 -r 5e228b75dc18 devel/py-astroid/Makefile
--- a/devel/py-astroid/Makefile Tue Mar 30 09:12:35 2021 +0000
+++ b/devel/py-astroid/Makefile Tue Mar 30 09:20:16 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2021/03/01 08:49:11 adam Exp $
+# $NetBSD: Makefile,v 1.39 2021/03/30 09:20:16 adam Exp $
 
-DISTNAME=      astroid-2.5.1
+DISTNAME=      astroid-2.5.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}
@@ -11,11 +11,15 @@
 LICENSE=       gnu-lgpl-v3
 
 DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy>=1.4.0:../../devel/py-lazy-object-proxy
-DEPENDS+=      ${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
 DEPENDS+=      ${PYPKGPREFIX}-wrapt>=1.11:../../devel/py-wrapt
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=      ${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
+.endif
+
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
diff -r acce259a1f27 -r 5e228b75dc18 devel/py-astroid/distinfo
--- a/devel/py-astroid/distinfo Tue Mar 30 09:12:35 2021 +0000
+++ b/devel/py-astroid/distinfo Tue Mar 30 09:20:16 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.31 2021/03/01 08:49:11 adam Exp $
+$NetBSD: distinfo,v 1.32 2021/03/30 09:20:16 adam Exp $
 
-SHA1 (astroid-2.5.1.tar.gz) = 63f873188f4f40923edc258ad72d6b2987a7e11d
-RMD160 (astroid-2.5.1.tar.gz) = dc50748c8a9d023c287842f30fbf5927f3fbb29f
-SHA512 (astroid-2.5.1.tar.gz) = a0aaa95257961235abbbbc021cdb48da760f8b1856bbc0a7a8b98c53c69045cee4bfe575182a631f994765819e373b33b3a6eca052573128e8b36f2c23c250de
-Size (astroid-2.5.1.tar.gz) = 312511 bytes
+SHA1 (astroid-2.5.2.tar.gz) = 98fe02500535615b4979a256814c62d64f256b47
+RMD160 (astroid-2.5.2.tar.gz) = 9b742e8614c9abf652182318880b5f06106add33
+SHA512 (astroid-2.5.2.tar.gz) = 391d6b0981b4332fd074a568d33838cbd5d71e7200a3a7ba27bc96641d12be4a6452def0bb615a54e1fa6d1f1f6863a39d56cf3e503aba42ea0d0fdddbbb9102
+Size (astroid-2.5.2.tar.gz) = 312789 bytes



Home | Main Index | Thread Index | Old Index