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:           Mon Nov 26 09:00:52 UTC 2018

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

Log Message:
py-astroid: updated to 2.1.0

What's New in astroid 2.1.0?

* threading.Lock.acquire has the timeout parameter now.

* Pass parameters by keyword name when inferring sequences.

* Correct line numbering for f-strings for complex embedded expressions

  When a f-string contained a complex expression, such as an attribute access,
  we weren't cloning all the subtree of the f-string expression for attaching the correct
  line number. This problem is coming from the builtin AST parser which gives for the f-string
  and for its underlying elements the line number 1, but this is causing all sorts of bugs and
  problems in pylint, which expects correct line numbering.

* Add support for argparse.Namespace

* async functions are now inferred as AsyncGenerator when inferring their call result.

* Filter out Uninferable when inferring the call result result of a class with an uninferable __call__ method.

* Make compatible with AST changes in Python 3.8.

* Subscript inference (e.g. "a[i]") now pays attention to multiple inferred values for value
  (e.g. "a") and slice (e.g. "i")


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-astroid/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-astroid/PLIST
cvs rdiff -u -r1.15 -r1.16 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.21 pkgsrc/devel/py-astroid/Makefile:1.22
--- pkgsrc/devel/py-astroid/Makefile:1.21       Fri Aug 10 12:16:23 2018
+++ pkgsrc/devel/py-astroid/Makefile    Mon Nov 26 09:00:52 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2018/08/10 12:16:23 adam Exp $
+# $NetBSD: Makefile,v 1.22 2018/11/26 09:00:52 adam Exp $
 
-DISTNAME=      astroid-2.0.4
+DISTNAME=      astroid-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}

Index: pkgsrc/devel/py-astroid/PLIST
diff -u pkgsrc/devel/py-astroid/PLIST:1.7 pkgsrc/devel/py-astroid/PLIST:1.8
--- pkgsrc/devel/py-astroid/PLIST:1.7   Tue Jul 17 10:05:46 2018
+++ pkgsrc/devel/py-astroid/PLIST       Mon Nov 26 09:00:52 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2018/07/17 10:05:46 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2018/11/26 09:00:52 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -22,6 +22,9 @@ ${PYSITELIB}/astroid/as_string.pyo
 ${PYSITELIB}/astroid/bases.py
 ${PYSITELIB}/astroid/bases.pyc
 ${PYSITELIB}/astroid/bases.pyo
+${PYSITELIB}/astroid/brain/brain_argparse.py
+${PYSITELIB}/astroid/brain/brain_argparse.pyc
+${PYSITELIB}/astroid/brain/brain_argparse.pyo
 ${PYSITELIB}/astroid/brain/brain_attrs.py
 ${PYSITELIB}/astroid/brain/brain_attrs.pyc
 ${PYSITELIB}/astroid/brain/brain_attrs.pyo

Index: pkgsrc/devel/py-astroid/distinfo
diff -u pkgsrc/devel/py-astroid/distinfo:1.15 pkgsrc/devel/py-astroid/distinfo:1.16
--- pkgsrc/devel/py-astroid/distinfo:1.15       Fri Aug 10 12:16:23 2018
+++ pkgsrc/devel/py-astroid/distinfo    Mon Nov 26 09:00:52 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2018/08/10 12:16:23 adam Exp $
+$NetBSD: distinfo,v 1.16 2018/11/26 09:00:52 adam Exp $
 
-SHA1 (astroid-2.0.4.tar.gz) = d06c88f278df392176968df5594c324f7e8ed9b9
-RMD160 (astroid-2.0.4.tar.gz) = 4f525192794b7c408c719e4d9731801c2a697b96
-SHA512 (astroid-2.0.4.tar.gz) = 20e9f0230ce520e60d74e7ddf24906e7a4ab7b04c0d3199674cd09f9d6406bbc73225d1a49f07c7f947deeee8c71924df227d4d6c7e34633643f81bdde677894
-Size (astroid-2.0.4.tar.gz) = 273871 bytes
+SHA1 (astroid-2.1.0.tar.gz) = ac519ddec365cf36ca26e175999e5c92b9c1eda6
+RMD160 (astroid-2.1.0.tar.gz) = d44ca4b42d075d31d45512c7ef7f8897a80c6d98
+SHA512 (astroid-2.1.0.tar.gz) = ca200d51613782a85c3f164e9ef55bac1de288c45e7662645ef080cc84a88e34499b2a924b130e9215418842c25352bb948c02d569ac45c251ac37bc57f0dcd8
+Size (astroid-2.1.0.tar.gz) = 276196 bytes



Home | Main Index | Thread Index | Old Index