summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-12-21 09:57:44 +0000
committeradam <adam@pkgsrc.org>2017-12-21 09:57:44 +0000
commite8e2a2d88c4ad62528d63610f0166ab0a1654f3e (patch)
tree418fae4263d6706e1811242e301b6e661394f3b2
parent43936af2463e59043144a7e3d5ef634feee999e8 (diff)
downloadpkgsrc-e8e2a2d88c4ad62528d63610f0166ab0a1654f3e.tar.gz
astroid: updated to 1.6.0
1.6.0: * When verifying duplicates classes in MRO, ignore on-the-fly generated classes * Add brain tip for attrs library to prevent unsupported-assignment-operation false positives * file_stream was removed, since it was deprecated for three releases Instead one should use the .stream() method. * Vast improvements to numpy support * Add brain tips for curses * Add brain tips for UUID.int * The result of using object.__new__ as class decorator is correctly inferred as instance * Enums created with functional syntax are now iterable * Enums created with functional syntax are now subscriptable * Don't crash when getting the string representation of BadUnaryOperationMessage In some cases, when the operand does not have a .name attribute, getting the string representation of a BadUnaryOperationMessage leads to a crash. * Don't raise DuplicateBaseError when classes at different locations are used For instance, one can implement a namedtuple base class, which gets reused on a class with the same name later on in the file. Until now, we considered these two classes as being the same, because they shared the name, but in fact they are different, being created at different locations and through different means. * The func form of namedtuples with keywords is now understood * Dunder class at method level is now inferred as the class of the method
-rw-r--r--devel/py-astroid/Makefile8
-rw-r--r--devel/py-astroid/PLIST14
-rw-r--r--devel/py-astroid/distinfo10
3 files changed, 20 insertions, 12 deletions
diff --git a/devel/py-astroid/Makefile b/devel/py-astroid/Makefile
index 17a1b44eddd..5ac5b14a383 100644
--- a/devel/py-astroid/Makefile
+++ b/devel/py-astroid/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2017/09/03 08:53:07 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2017/12/21 09:57:44 adam Exp $
-DISTNAME= astroid-1.5.3
+DISTNAME= astroid-1.6.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/}
@@ -23,9 +23,5 @@ DEPENDS+= ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
USE_LANGUAGES= # none
-do-test:
- cd ${WRKSRC}/astroid/tests && \
- ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -p "unittest*.py"
-
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-astroid/PLIST b/devel/py-astroid/PLIST
index c96f6b25bcc..13154bd6d58 100644
--- a/devel/py-astroid/PLIST
+++ b/devel/py-astroid/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/07/16 20:14:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/12/21 09:57:44 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -22,12 +22,18 @@ ${PYSITELIB}/astroid/astpeephole.pyo
${PYSITELIB}/astroid/bases.py
${PYSITELIB}/astroid/bases.pyc
${PYSITELIB}/astroid/bases.pyo
+${PYSITELIB}/astroid/brain/brain_attrs.py
+${PYSITELIB}/astroid/brain/brain_attrs.pyc
+${PYSITELIB}/astroid/brain/brain_attrs.pyo
${PYSITELIB}/astroid/brain/brain_builtin_inference.py
${PYSITELIB}/astroid/brain/brain_builtin_inference.pyc
${PYSITELIB}/astroid/brain/brain_builtin_inference.pyo
${PYSITELIB}/astroid/brain/brain_collections.py
${PYSITELIB}/astroid/brain/brain_collections.pyc
${PYSITELIB}/astroid/brain/brain_collections.pyo
+${PYSITELIB}/astroid/brain/brain_curses.py
+${PYSITELIB}/astroid/brain/brain_curses.pyc
+${PYSITELIB}/astroid/brain/brain_curses.pyo
${PYSITELIB}/astroid/brain/brain_dateutil.py
${PYSITELIB}/astroid/brain/brain_dateutil.pyc
${PYSITELIB}/astroid/brain/brain_dateutil.pyo
@@ -88,6 +94,9 @@ ${PYSITELIB}/astroid/brain/brain_threading.pyo
${PYSITELIB}/astroid/brain/brain_typing.py
${PYSITELIB}/astroid/brain/brain_typing.pyc
${PYSITELIB}/astroid/brain/brain_typing.pyo
+${PYSITELIB}/astroid/brain/brain_uuid.py
+${PYSITELIB}/astroid/brain/brain_uuid.pyc
+${PYSITELIB}/astroid/brain/brain_uuid.pyo
${PYSITELIB}/astroid/builder.py
${PYSITELIB}/astroid/builder.pyc
${PYSITELIB}/astroid/builder.pyo
@@ -282,6 +291,9 @@ ${PYSITELIB}/astroid/tests/testdata/python3/data/unicode_package/core/__init__.p
${PYSITELIB}/astroid/tests/unittest_brain.py
${PYSITELIB}/astroid/tests/unittest_brain.pyc
${PYSITELIB}/astroid/tests/unittest_brain.pyo
+${PYSITELIB}/astroid/tests/unittest_brain_numpy.py
+${PYSITELIB}/astroid/tests/unittest_brain_numpy.pyc
+${PYSITELIB}/astroid/tests/unittest_brain_numpy.pyo
${PYSITELIB}/astroid/tests/unittest_builder.py
${PYSITELIB}/astroid/tests/unittest_builder.pyc
${PYSITELIB}/astroid/tests/unittest_builder.pyo
diff --git a/devel/py-astroid/distinfo b/devel/py-astroid/distinfo
index 73a385ef6e0..0fb2ba1a501 100644
--- a/devel/py-astroid/distinfo
+++ b/devel/py-astroid/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/07/16 20:14:15 adam Exp $
+$NetBSD: distinfo,v 1.6 2017/12/21 09:57:44 adam Exp $
-SHA1 (astroid-1.5.3.tar.gz) = e654225ab5bd2788e5e246b156910990bf33cde6
-RMD160 (astroid-1.5.3.tar.gz) = 3f3491fe28e2c365fa86cacb265d24f7d0d6c9e7
-SHA512 (astroid-1.5.3.tar.gz) = 2a224d9bf8e41059a1316d80738cdc0f1e4c4e0f987baf3969710bae7192466b708c7942cd7e4eeccea55582ce70bb687c96b9e7dece3229ae4cffc558aa2319
-Size (astroid-1.5.3.tar.gz) = 240617 bytes
+SHA1 (astroid-1.6.0.tar.gz) = 90634b0d4751b92345d0ac8394721a300cb16b4e
+RMD160 (astroid-1.6.0.tar.gz) = dc1ddc07e0eec671fe5454d180b34b95e89306a8
+SHA512 (astroid-1.6.0.tar.gz) = 6a384b2bd3b4ee686c2f9a69d10f4391e5950869d75808312b2715a620ba7caa706bd88a5e021ea2250cf16ff8013cf0b332faee0b07dd7b5e1baf11e65d0ac3
+Size (astroid-1.6.0.tar.gz) = 255715 bytes