pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-astroid



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jun  1 05:14:56 UTC 2021

Modified Files:
        pkgsrc/devel/py-astroid: Makefile distinfo

Log Message:
py-astroid: updated to 2.5.7

What's New in astroid 2.5.7?

* Fix six.with_metaclass transformation so it doesn't break user defined transformations.
* Fix detection of relative imports.
* Fix inference of instance attributes defined in base classes
* Update `infer_named_tuple` brain to reject namedtuple definitions
  that would raise ValueError
* Do not set instance attributes on builtin object()
* Fix some spurious cycles detected in ``context.path`` leading to more cases
  that can now be inferred
* Add ``kind`` field to ``Const`` nodes, matching the structure of the built-in ast Const.
  The kind field is "u" if the literal is a u-prefixed string, and ``None`` otherwise.
* Fix property inference in class contexts for properties defined on the metaclass
* Update enum brain to fix definition of __members__ for subclass-defined Enums
* Update random brain to fix a crash with inference of some sequence elements
* Fix inference of attributes defined in a base class that is an inner class
* Allow inferring a return value of None for non-abstract empty functions and
  functions with no return statements (implicitly returning None)
* scm_setuptools has been added to the packaging.
* Astroid's tags are now the standard form ``vX.Y.Z`` and not ``astroid-X.Y.Z`` anymore.
* Add initial support for Pattern Matching in Python 3.10


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/devel/py-astroid/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/py-astroid/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-astroid/Makefile
diff -u pkgsrc/devel/py-astroid/Makefile:1.42 pkgsrc/devel/py-astroid/Makefile:1.43
--- pkgsrc/devel/py-astroid/Makefile:1.42       Mon Apr 26 12:58:24 2021
+++ pkgsrc/devel/py-astroid/Makefile    Tue Jun  1 05:14:56 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2021/04/26 12:58:24 adam Exp $
+# $NetBSD: Makefile,v 1.43 2021/06/01 05:14:56 adam Exp $
 
-DISTNAME=      astroid-2.5.6
+DISTNAME=      astroid-2.5.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}
@@ -10,6 +10,7 @@ HOMEPAGE=     https://github.com/pycqa/astro
 COMMENT=       Rebuild a new abstract syntax tree from Python's ast
 LICENSE=       gnu-lgpl-v2.1
 
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy>=1.4.0:../../devel/py-lazy-object-proxy
 DEPENDS+=      ${PYPKGPREFIX}-wrapt>=1.11:../../devel/py-wrapt
 
@@ -18,6 +19,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} < 38
 DEPENDS+=      ${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
 .endif
 
 USE_LANGUAGES= # none

Index: pkgsrc/devel/py-astroid/distinfo
diff -u pkgsrc/devel/py-astroid/distinfo:1.34 pkgsrc/devel/py-astroid/distinfo:1.35
--- pkgsrc/devel/py-astroid/distinfo:1.34       Mon Apr 26 12:58:24 2021
+++ pkgsrc/devel/py-astroid/distinfo    Tue Jun  1 05:14:56 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.34 2021/04/26 12:58:24 adam Exp $
+$NetBSD: distinfo,v 1.35 2021/06/01 05:14:56 adam Exp $
 
-SHA1 (astroid-2.5.6.tar.gz) = 2ba28a0ed97e8746362698a7e6411213bb18125a
-RMD160 (astroid-2.5.6.tar.gz) = 78b9142845906811e17aa7b337b38dc437fc2008
-SHA512 (astroid-2.5.6.tar.gz) = f622e0a1d76a2b85ff95751c663a2d057164ee1ad3543483e12910444fd447428cb57fe79c3484fe6c99f6c762eaf2933f1dec0bed1531116d157c1d45560e22
-Size (astroid-2.5.6.tar.gz) = 181541 bytes
+SHA1 (astroid-2.5.7.tar.gz) = f2c6fcdee28db4a21cb11b8c9fa6e6b6eb453556
+RMD160 (astroid-2.5.7.tar.gz) = 657ec2ccb9e1153deaebfaa5e77e60fe6c199bb8
+SHA512 (astroid-2.5.7.tar.gz) = e9f77ceac0d918e2ff8a123c4894e460a4fb574e92db9d9936b51b8f732d3103766ca87bba0d85c86d8eb6ce7a2ffa699ffee6345bf67ed26fea571b9e869ea2
+Size (astroid-2.5.7.tar.gz) = 183983 bytes



Home | Main Index | Thread Index | Old Index