pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-astroid astroid: updated to 1.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/309f62fcc5ab
branches:  trunk
changeset: 372948:309f62fcc5ab
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 21 09:57:44 2017 +0000

description:
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

diffstat:

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

diffs (85 lines):

diff -r 6eab1bf9879d -r 309f62fcc5ab devel/py-astroid/Makefile
--- a/devel/py-astroid/Makefile Thu Dec 21 09:47:55 2017 +0000
+++ b/devel/py-astroid/Makefile Thu Dec 21 09:57:44 2017 +0000
@@ -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 @@
 
 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 -r 6eab1bf9879d -r 309f62fcc5ab devel/py-astroid/PLIST
--- a/devel/py-astroid/PLIST    Thu Dec 21 09:47:55 2017 +0000
+++ b/devel/py-astroid/PLIST    Thu Dec 21 09:57:44 2017 +0000
@@ -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/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_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/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 -r 6eab1bf9879d -r 309f62fcc5ab devel/py-astroid/distinfo
--- a/devel/py-astroid/distinfo Thu Dec 21 09:47:55 2017 +0000
+++ b/devel/py-astroid/distinfo Thu Dec 21 09:57:44 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index