pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-astroid 1.5.3:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c02802c279b
branches:  trunk
changeset: 365438:5c02802c279b
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jul 16 20:14:15 2017 +0000

description:
1.5.3:

* enum34 dependency is forced to be at least version 1.1.3. Fixes spurious
bug related to enum classes being falsy in boolean context, which caused
_Inconsistent Hierarchy_ `RuntimeError` in `singledispatch` module.

* Do not raise an exception when uninferable value is unpacked in ``with`` statement.

* Lock objects from ``threading`` module are now correctly recognised
  as context managers.

diffstat:

 devel/py-astroid/Makefile |   16 +++++-
 devel/py-astroid/PLIST    |  110 ++++++++++++++++++++++++++++++++++++++++++---
 devel/py-astroid/distinfo |   10 ++--
 3 files changed, 119 insertions(+), 17 deletions(-)

diffs (290 lines):

diff -r e2a1a0a7d0ab -r 5c02802c279b devel/py-astroid/Makefile
--- a/devel/py-astroid/Makefile Sun Jul 16 20:10:37 2017 +0000
+++ b/devel/py-astroid/Makefile Sun Jul 16 20:14:15 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2017/02/28 17:15:24 fhajny Exp $
+# $NetBSD: Makefile,v 1.10 2017/07/16 20:14:15 adam Exp $
 
-DISTNAME=      astroid-1.4.9
+DISTNAME=      astroid-1.5.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}
@@ -10,13 +10,21 @@
 COMMENT=       Rebuild a new abstract syntax tree from Python's ast
 LICENSE=       gnu-lgpl-v3
 
+DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy-[0-9]*:../../devel/py-lazy-object-proxy
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 DEPENDS+=      ${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
-DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy-[0-9]*:../../devel/py-lazy-object-proxy
+
+.include "../../lang/python/pyversion.mk"
+.if "${PYPKGPREFIX}" == "py27"
+DEPENDS+=      ${PYPKGPREFIX}-backports.functools_lru_cache-[0-9]*:../../devel/py-backports.functools_lru_cache
+DEPENDS+=      ${PYPKGPREFIX}-enum34>-1.1.3:../../devel/py-enum34
+DEPENDS+=      ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
+.endif
 
 USE_LANGUAGES= # none
 
 do-test:
-       ${RUN} cd ${WRKSRC}/astroid/tests; \
+       cd ${WRKSRC}/astroid/tests && \
                ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -p "unittest*.py"
 
 .include "../../lang/python/egg.mk"
diff -r e2a1a0a7d0ab -r 5c02802c279b devel/py-astroid/PLIST
--- a/devel/py-astroid/PLIST    Sun Jul 16 20:10:37 2017 +0000
+++ b/devel/py-astroid/PLIST    Sun Jul 16 20:14:15 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/02/28 17:15:24 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/07/16 20:14:15 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -25,36 +25,69 @@
 ${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_dateutil.py
 ${PYSITELIB}/astroid/brain/brain_dateutil.pyc
 ${PYSITELIB}/astroid/brain/brain_dateutil.pyo
+${PYSITELIB}/astroid/brain/brain_fstrings.py
+${PYSITELIB}/astroid/brain/brain_fstrings.pyc
+${PYSITELIB}/astroid/brain/brain_fstrings.pyo
+${PYSITELIB}/astroid/brain/brain_functools.py
+${PYSITELIB}/astroid/brain/brain_functools.pyc
+${PYSITELIB}/astroid/brain/brain_functools.pyo
 ${PYSITELIB}/astroid/brain/brain_gi.py
 ${PYSITELIB}/astroid/brain/brain_gi.pyc
 ${PYSITELIB}/astroid/brain/brain_gi.pyo
+${PYSITELIB}/astroid/brain/brain_hashlib.py
+${PYSITELIB}/astroid/brain/brain_hashlib.pyc
+${PYSITELIB}/astroid/brain/brain_hashlib.pyo
+${PYSITELIB}/astroid/brain/brain_io.py
+${PYSITELIB}/astroid/brain/brain_io.pyc
+${PYSITELIB}/astroid/brain/brain_io.pyo
 ${PYSITELIB}/astroid/brain/brain_mechanize.py
 ${PYSITELIB}/astroid/brain/brain_mechanize.pyc
 ${PYSITELIB}/astroid/brain/brain_mechanize.pyo
+${PYSITELIB}/astroid/brain/brain_multiprocessing.py
+${PYSITELIB}/astroid/brain/brain_multiprocessing.pyc
+${PYSITELIB}/astroid/brain/brain_multiprocessing.pyo
+${PYSITELIB}/astroid/brain/brain_namedtuple_enum.py
+${PYSITELIB}/astroid/brain/brain_namedtuple_enum.pyc
+${PYSITELIB}/astroid/brain/brain_namedtuple_enum.pyo
 ${PYSITELIB}/astroid/brain/brain_nose.py
 ${PYSITELIB}/astroid/brain/brain_nose.pyc
 ${PYSITELIB}/astroid/brain/brain_nose.pyo
 ${PYSITELIB}/astroid/brain/brain_numpy.py
 ${PYSITELIB}/astroid/brain/brain_numpy.pyc
 ${PYSITELIB}/astroid/brain/brain_numpy.pyo
+${PYSITELIB}/astroid/brain/brain_pkg_resources.py
+${PYSITELIB}/astroid/brain/brain_pkg_resources.pyc
+${PYSITELIB}/astroid/brain/brain_pkg_resources.pyo
 ${PYSITELIB}/astroid/brain/brain_pytest.py
 ${PYSITELIB}/astroid/brain/brain_pytest.pyc
 ${PYSITELIB}/astroid/brain/brain_pytest.pyo
 ${PYSITELIB}/astroid/brain/brain_qt.py
 ${PYSITELIB}/astroid/brain/brain_qt.pyc
 ${PYSITELIB}/astroid/brain/brain_qt.pyo
+${PYSITELIB}/astroid/brain/brain_re.py
+${PYSITELIB}/astroid/brain/brain_re.pyc
+${PYSITELIB}/astroid/brain/brain_re.pyo
 ${PYSITELIB}/astroid/brain/brain_six.py
 ${PYSITELIB}/astroid/brain/brain_six.pyc
 ${PYSITELIB}/astroid/brain/brain_six.pyo
 ${PYSITELIB}/astroid/brain/brain_ssl.py
 ${PYSITELIB}/astroid/brain/brain_ssl.pyc
 ${PYSITELIB}/astroid/brain/brain_ssl.pyo
-${PYSITELIB}/astroid/brain/brain_stdlib.py
-${PYSITELIB}/astroid/brain/brain_stdlib.pyc
-${PYSITELIB}/astroid/brain/brain_stdlib.pyo
+${PYSITELIB}/astroid/brain/brain_subprocess.py
+${PYSITELIB}/astroid/brain/brain_subprocess.pyc
+${PYSITELIB}/astroid/brain/brain_subprocess.pyo
+${PYSITELIB}/astroid/brain/brain_threading.py
+${PYSITELIB}/astroid/brain/brain_threading.pyc
+${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/builder.py
 ${PYSITELIB}/astroid/builder.pyc
 ${PYSITELIB}/astroid/builder.pyo
@@ -67,9 +100,30 @@
 ${PYSITELIB}/astroid/exceptions.py
 ${PYSITELIB}/astroid/exceptions.pyc
 ${PYSITELIB}/astroid/exceptions.pyo
+${PYSITELIB}/astroid/helpers.py
+${PYSITELIB}/astroid/helpers.pyc
+${PYSITELIB}/astroid/helpers.pyo
 ${PYSITELIB}/astroid/inference.py
 ${PYSITELIB}/astroid/inference.pyc
 ${PYSITELIB}/astroid/inference.pyo
+${PYSITELIB}/astroid/interpreter/__init__.py
+${PYSITELIB}/astroid/interpreter/__init__.pyc
+${PYSITELIB}/astroid/interpreter/__init__.pyo
+${PYSITELIB}/astroid/interpreter/_import/__init__.py
+${PYSITELIB}/astroid/interpreter/_import/__init__.pyc
+${PYSITELIB}/astroid/interpreter/_import/__init__.pyo
+${PYSITELIB}/astroid/interpreter/_import/spec.py
+${PYSITELIB}/astroid/interpreter/_import/spec.pyc
+${PYSITELIB}/astroid/interpreter/_import/spec.pyo
+${PYSITELIB}/astroid/interpreter/_import/util.py
+${PYSITELIB}/astroid/interpreter/_import/util.pyc
+${PYSITELIB}/astroid/interpreter/_import/util.pyo
+${PYSITELIB}/astroid/interpreter/dunder_lookup.py
+${PYSITELIB}/astroid/interpreter/dunder_lookup.pyc
+${PYSITELIB}/astroid/interpreter/dunder_lookup.pyo
+${PYSITELIB}/astroid/interpreter/objectmodel.py
+${PYSITELIB}/astroid/interpreter/objectmodel.pyc
+${PYSITELIB}/astroid/interpreter/objectmodel.pyo
 ${PYSITELIB}/astroid/manager.py
 ${PYSITELIB}/astroid/manager.pyc
 ${PYSITELIB}/astroid/manager.pyo
@@ -121,7 +175,7 @@
 ${PYSITELIB}/astroid/tests/testdata/python2/data/all.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/appl/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/appl/myConnection.py
-${PYSITELIB}/astroid/tests/testdata/python2/data/clientmodule_test.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/contribute_to_namespace/namespace_pep_420/submodule.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/descriptor_crash.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/email.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/find_test/__init__.py
@@ -129,7 +183,10 @@
 ${PYSITELIB}/astroid/tests/testdata/python2/data/find_test/module2.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/find_test/noendingnewline.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/find_test/nonregr.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/foogle/fax/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/foogle/fax/a.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/format.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/invalid_encoding.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/joined_strings.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/lmfp/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/lmfp/foo.py
@@ -137,17 +194,31 @@
 ${PYSITELIB}/astroid/tests/testdata/python2/data/module1abs/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/module1abs/core.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/module2.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/namespace_pep_420/module.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/noendingnewline.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/nonregr.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/notall.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/notamodule/file.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/package/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/package/absimport.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/package/hello.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/package/import_package_subpackage_module.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/package/subpackage/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/package/subpackage/module.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_1/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_1/package/foo.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_2/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_2/package/bar.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_3/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_3/package/baz.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_1/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_1/package/foo.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_2/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_2/package/bar.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_3/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_3/package/baz.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/recursion.py
-${PYSITELIB}/astroid/tests/testdata/python2/data/suppliermodule_test.py
+${PYSITELIB}/astroid/tests/testdata/python2/data/tmp__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/unicode_package/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python2/data/unicode_package/core/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/MyPyPa-0.1.0-py2.5.egg
@@ -162,7 +233,7 @@
 ${PYSITELIB}/astroid/tests/testdata/python3/data/all.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/appl/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/appl/myConnection.py
-${PYSITELIB}/astroid/tests/testdata/python3/data/clientmodule_test.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/contribute_to_namespace/namespace_pep_420/submodule.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/descriptor_crash.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/email.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/find_test/__init__.py
@@ -170,7 +241,10 @@
 ${PYSITELIB}/astroid/tests/testdata/python3/data/find_test/module2.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/find_test/noendingnewline.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/find_test/nonregr.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/foogle/fax/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/foogle/fax/a.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/format.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/invalid_encoding.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/joined_strings.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/lmfp/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/lmfp/foo.py
@@ -178,17 +252,31 @@
 ${PYSITELIB}/astroid/tests/testdata/python3/data/module1abs/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/module1abs/core.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/module2.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/namespace_pep_420/module.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/noendingnewline.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/nonregr.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/notall.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/notamodule/file.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/package/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/package/absimport.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/package/hello.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/package/import_package_subpackage_module.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/package/subpackage/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/package/subpackage/module.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_1/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_1/package/foo.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_2/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_2/package/bar.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_3/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_3/package/baz.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_1/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_1/package/foo.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_2/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_2/package/bar.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_3/package/__init__.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_3/package/baz.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/recursion.py
-${PYSITELIB}/astroid/tests/testdata/python3/data/suppliermodule_test.py
+${PYSITELIB}/astroid/tests/testdata/python3/data/tmp__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/unicode_package/__init__.py
 ${PYSITELIB}/astroid/tests/testdata/python3/data/unicode_package/core/__init__.py
 ${PYSITELIB}/astroid/tests/unittest_brain.py
@@ -197,6 +285,9 @@
 ${PYSITELIB}/astroid/tests/unittest_builder.py
 ${PYSITELIB}/astroid/tests/unittest_builder.pyc
 ${PYSITELIB}/astroid/tests/unittest_builder.pyo
+${PYSITELIB}/astroid/tests/unittest_helpers.py
+${PYSITELIB}/astroid/tests/unittest_helpers.pyc
+${PYSITELIB}/astroid/tests/unittest_helpers.pyo
 ${PYSITELIB}/astroid/tests/unittest_inference.py
 ${PYSITELIB}/astroid/tests/unittest_inference.pyc
 ${PYSITELIB}/astroid/tests/unittest_inference.pyo
@@ -212,6 +303,9 @@
 ${PYSITELIB}/astroid/tests/unittest_nodes.py
 ${PYSITELIB}/astroid/tests/unittest_nodes.pyc
 ${PYSITELIB}/astroid/tests/unittest_nodes.pyo
+${PYSITELIB}/astroid/tests/unittest_object_model.py
+${PYSITELIB}/astroid/tests/unittest_object_model.pyc
+${PYSITELIB}/astroid/tests/unittest_object_model.pyo
 ${PYSITELIB}/astroid/tests/unittest_objects.py
 ${PYSITELIB}/astroid/tests/unittest_objects.pyc
 ${PYSITELIB}/astroid/tests/unittest_objects.pyo
diff -r e2a1a0a7d0ab -r 5c02802c279b devel/py-astroid/distinfo
--- a/devel/py-astroid/distinfo Sun Jul 16 20:10:37 2017 +0000
+++ b/devel/py-astroid/distinfo Sun Jul 16 20:14:15 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/02/28 17:15:24 fhajny Exp $
+$NetBSD: distinfo,v 1.5 2017/07/16 20:14:15 adam Exp $
 
-SHA1 (astroid-1.4.9.tar.gz) = 2529c9757b015632e7b4156bee6c5f72b601b4b6
-RMD160 (astroid-1.4.9.tar.gz) = 08bf573fdac28a5b5ce357102ed1e1a905ea65db
-SHA512 (astroid-1.4.9.tar.gz) = 9091afbeffeae3f10a5f4b0dfb476ed5515661744508dde159bb3faa4af032c6359f4544cc3766a6613974f7725e6f8e28bad45bc68e3282764def019a233303
-Size (astroid-1.4.9.tar.gz) = 189315 bytes
+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



Home | Main Index | Thread Index | Old Index