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.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c4bc09000eb
branches:  trunk
changeset: 392331:1c4bc09000eb
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Feb 28 09:17:41 2019 +0000

description:
py-astroid: updated to 2.2.0

What's New in astroid 2.2.0?
* Fix a bug concerning inference of calls to numpy function that should not return Tuple or List instances.
* typed_ast gets installed for Python 3.7, meaning type comments can now work on 3.7.
* Fix a bug concerning inference of unary operators on numpy types.
* Fix a crash with typing.NamedTuple and empty fields.
* Add a proper strerror inference to the OSError exceptions.
* Support non-const nodes as values of Enum attributes.
* Fix a crash in the enum brain tip caused by non-assign members in class definitions.
* brain_numpy returns an undefined type for numpy methods to avoid assignment-from-no-return
* Fix a bug where a call to a function that has been previously called via
  functools.partial was wrongly inferred
* Fix a recursion error caused by inferring the slice builtin.
* Remove the restriction that "old style classes" cannot have a MRO.
  This does not make sense any longer given that we run against Python 3
  code.
* Added more builtin exceptions attributes.
* Add a registry for builtin exception models.
* Add brain tips for http.client.
* Prevent crashing when processing enums with mixed single and double quotes.
* typing types have the __args__ property.
* Fix a bug where an Attribute used as a base class was triggering a crash
* Added special support for enum.IntFlag
* Extend detection of data classes defined with attr
* Fix typo in description for brain_attrs

diffstat:

 devel/py-astroid/Makefile |  10 ++++------
 devel/py-astroid/PLIST    |   5 ++++-
 devel/py-astroid/distinfo |  10 +++++-----
 3 files changed, 13 insertions(+), 12 deletions(-)

diffs (68 lines):

diff -r 1ccb387ecbc8 -r 1c4bc09000eb devel/py-astroid/Makefile
--- a/devel/py-astroid/Makefile Thu Feb 28 09:06:47 2019 +0000
+++ b/devel/py-astroid/Makefile Thu Feb 28 09:17:41 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2018/12/27 16:03:09 joerg Exp $
+# $NetBSD: Makefile,v 1.24 2019/02/28 09:17:41 adam Exp $
 
-DISTNAME=      astroid-2.1.0
+DISTNAME=      astroid-2.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}
@@ -12,6 +12,7 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy-[0-9]*:../../devel/py-lazy-object-proxy
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-typed-ast-[0-9]*:../../devel/py-typed-ast
 DEPENDS+=      ${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
@@ -19,12 +20,9 @@
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-.if !empty(_PYTHON_VERSION:M34)
+.if ${_PYTHON_VERSION} == 34
 DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
 .endif
-.if !empty(_PYTHON_VERSION:M3[456])
-DEPENDS+=      ${PYPKGPREFIX}-typed-ast-[0-9]*:../../devel/py-typed-ast
-.endif
 
 USE_LANGUAGES= # none
 
diff -r 1ccb387ecbc8 -r 1c4bc09000eb devel/py-astroid/PLIST
--- a/devel/py-astroid/PLIST    Thu Feb 28 09:06:47 2019 +0000
+++ b/devel/py-astroid/PLIST    Thu Feb 28 09:17:41 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2018/11/26 09:00:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/02/28 09:17:41 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -52,6 +52,9 @@
 ${PYSITELIB}/astroid/brain/brain_hashlib.py
 ${PYSITELIB}/astroid/brain/brain_hashlib.pyc
 ${PYSITELIB}/astroid/brain/brain_hashlib.pyo
+${PYSITELIB}/astroid/brain/brain_http.py
+${PYSITELIB}/astroid/brain/brain_http.pyc
+${PYSITELIB}/astroid/brain/brain_http.pyo
 ${PYSITELIB}/astroid/brain/brain_io.py
 ${PYSITELIB}/astroid/brain/brain_io.pyc
 ${PYSITELIB}/astroid/brain/brain_io.pyo
diff -r 1ccb387ecbc8 -r 1c4bc09000eb devel/py-astroid/distinfo
--- a/devel/py-astroid/distinfo Thu Feb 28 09:06:47 2019 +0000
+++ b/devel/py-astroid/distinfo Thu Feb 28 09:17:41 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2018/11/26 09:00:52 adam Exp $
+$NetBSD: distinfo,v 1.17 2019/02/28 09:17:41 adam Exp $
 
-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
+SHA1 (astroid-2.2.0.tar.gz) = 67e8dc3eb009c24e0c9ab375845f74be2c5c119a
+RMD160 (astroid-2.2.0.tar.gz) = 4f0a278084b80c8557b4402b74ad6a74ee604125
+SHA512 (astroid-2.2.0.tar.gz) = e84b57d9c1ae0514a5b083801e8b4f89af3ebf608e68c6941c3cff35f325fce4efdb21618d11b35fd4b46d4e841f645772e7e92b67a088fbe11626f400b09dda
+Size (astroid-2.2.0.tar.gz) = 280554 bytes



Home | Main Index | Thread Index | Old Index