Received: by mail.netbsd.org (Postfix, from userid 605) id 28F0984D65; Tue, 1 Jun 2021 05:14:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6507B84D25 for ; Tue, 1 Jun 2021 05:14:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id N38wtYMdCvx7 for ; Tue, 1 Jun 2021 05:14:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B6BD784CEA for ; Tue, 1 Jun 2021 05:14:56 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A9B48FA95; Tue, 1 Jun 2021 05:14:56 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1622524496248130" MIME-Version: 1.0 Date: Tue, 1 Jun 2021 05:14:56 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-astroid To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20210601051456.A9B48FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1622524496248130 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1622524496248130 Content-Disposition: inline Content-Length: 2342 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1622524496248130--