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:   fhajny
Date:           Tue Feb 28 17:15:24 UTC 2017

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

Log Message:
Update devel/py-astroid to 1.4.9.

2016-12-18 -- 1.4.9
- Cast __path__ to a list in _module_file
- Add support for pytest 3.0.

2016-07-27 -- 1.4.8
- Add `returns` into the proper order in FunctionDef._astroid_fields

2016-07-07 -- 1.4.7
- Stop saving assignment locals in ExceptHandlers, when the context is a
  store.

2016-06-06 -- 1.4.6
- Fix a crash which occurred when the class of a namedtuple could not be
  inferred.
- Functional form of enums support accessing values through __call__.
- Brain tips for the ssl library.

2016-03-21 -- 1.4.5
- decoratornames() does not leak InferenceError anymore.
- wildcard_imported_names() got replaced by _public_names()

2016-01-15 -- 1.4.4
- unpack_infer raises InferenceError if it can't operate
  with the given sequences of nodes.
- Support accessing properties with super().
- Enforce strong updates per frames.

2015-12-24 -- 1.4.3
- pkg_resources brain tips are a bit more specific,
  by specifiying proper returns.
- Standard library modules are properly detected by is_standard_module.

2015-12-21 -- 1.4.2
- The slots() method conflates all the slots from the ancestors
  into a list of current and parent slots.
- Revert to using printf-style formatting in as_string, in order
  to avoid a potential problem with encodings when using .format.
- assigned_stmts methods have the same signature from now on.

2015-11-29 -- 1.4.1
- Add support for handling Uninferable nodes when calling as_string

2015-11-29 -- 1.4.0
- Class.getattr('__mro__') returns the actual MRO.
- The logilab-common dependency is not needed anymore as the needed code
  was integrated into astroid.
- Add 'assert_equals' method in nose.tools's brain plugin.
- Generated enum member stubs now support IntEnum and multiple
  base classes.
- Add brain tips for multiprocessing.Manager and
  multiprocessing.managers.SyncManager.
- Add brain tips for multiprocessing post Python 3.4+,
  where the module level functions are retrieved with getattr
  from a context object, leading to many no-member errors
  in Pylint.
- The Generator objects inferred with `infer_call_result`
  from functions have as parent the function from which they
  are returned.
- Understand partially the 3-argument form of `type`.
  The only change is that astroid understands members
  passed in as dictionaries as the third argument.
- Improve the inference of Getattr nodes when dealing with
  abstract properties from the abc module.
- UnboundMethod.getattr calls the getattr of its _proxied object
  and doesn't call super(...) anymore.
- Don't hard fail when calling .mro() on a class which has
  combined both newstyle and old style classes. The class
  in question is actually newstyle (and the __mro__ can be
  retrieved using Python).
- Class.local_attr and Class.local_attr_ancestors uses internally
  a mro lookup, using .mro() method, if they can.
- Expose a implicit_metaclass() method in Class. This will return
  a builtins.type instance for newstyle classes.
- Add two new exceptions for handling MRO error cases.
  DuplicateBasesError
  is emitted when duplicate bases are found in a class,
- Classes aren't marked as interfaces anymore, in the `type` attribute.
- Class.has_dynamic_getattr doesn't return True for special methods
  which aren't implemented in pure Python, as it is the case for
  extension modules.
- Add `igetattr` method to scoped_nodes.Function.
- Add support for Python 3.5's MatMul operation: see PEP 465 for more
  details.
- NotImplemented is detected properly now as being part of the
  builtins module. Previously trying to infer the Name(NotImplemented)
  returned an YES object.
- Add proper grammatical names for `infered` and `ass_type` methods,
  namely `inferred` and `assign_type`.
- Add new AST names in order to be similar to the ones
  from the builtin ast module.
- Star unpacking in assignments returns properly a list,
  not the individual components.
- Lambdas found at class level, which have a `self` argument, are
  considered
- Add annotation support for function.as_string().
- Add support for indexing bytes on Python 3.
- Add support for inferring subscript on instances, which will
  use __getitem__.
- Understand metaclasses added with six.add_metaclass decorator.
- Add a new convenience API, `astroid.parse`, which can be used to
  retrieve an astroid AST from a source code string, similar to how
  ast.parse can be used to obtain a Python AST from a source string.
- do_import_module passes the proper relative_only flag if the level is
  higher than 1.
- There's a new separate step for transforms.
- Add a new node, DictUnpack, which is used to represent the unpacking
  of a dictionary into another dictionary, using PEP 448 specific syntax
  ({1:2, **{2:3})
- Add a new type of node, called *inference objects*.
- Add a new *inference object* called Super, which also adds support for
  understanding super calls.
- astroid.utils.ASTWalker and astroid.utils.LocalsVisitor
  were moved to pylint.pyreverse.utils.

2015-08-02 -- 1.3.8
- Backport of 40e3176, which fixes issue #84.

2015-07-27 -- 1.3.7
- Improve the inference of six.moves, especially when using `from ...
  import ...` syntax. Also, we added a new fail import hook for six.moves,
  which fixes the import-error false positive from pylint.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-astroid/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-astroid/PLIST
cvs rdiff -u -r1.3 -r1.4 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.8 pkgsrc/devel/py-astroid/Makefile:1.9
--- pkgsrc/devel/py-astroid/Makefile:1.8        Mon Aug 29 15:44:25 2016
+++ pkgsrc/devel/py-astroid/Makefile    Tue Feb 28 17:15:24 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2016/08/29 15:44:25 darcy Exp $
+# $NetBSD: Makefile,v 1.9 2017/02/28 17:15:24 fhajny Exp $
 
-DISTNAME=      astroid-1.3.6
+DISTNAME=      astroid-1.4.9
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astroid/}
@@ -10,12 +10,14 @@ HOMEPAGE=   http://bitbucket.org/logilab/a
 COMMENT=       Rebuild a new abstract syntax tree from Python's ast
 LICENSE=       gnu-lgpl-v3
 
-DEPENDS+=      ${PYPKGPREFIX}-logilab-common-[0-9]*:../../devel/py-logilab-common
+DEPENDS+=      ${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
+DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy-[0-9]*:../../devel/py-lazy-object-proxy
 
 USE_LANGUAGES= # none
 
 do-test:
-       ${RUN} cd ${WRKSRC}/astroid/tests; ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -p "unittest*.py"
+       ${RUN} cd ${WRKSRC}/astroid/tests; \
+               ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -p "unittest*.py"
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-astroid/PLIST
diff -u pkgsrc/devel/py-astroid/PLIST:1.2 pkgsrc/devel/py-astroid/PLIST:1.3
--- pkgsrc/devel/py-astroid/PLIST:1.2   Sun Apr  5 15:36:27 2015
+++ pkgsrc/devel/py-astroid/PLIST       Tue Feb 28 17:15:24 2017
@@ -1,15 +1,18 @@
-@comment $NetBSD: PLIST,v 1.2 2015/04/05 15:36:27 wen Exp $
-${PYSITELIB}/${EGG_FILE}/PKG-INFO
-${PYSITELIB}/${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/${EGG_FILE}/requires.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2017/02/28 17:15:24 fhajny Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/astroid/__init__.py
 ${PYSITELIB}/astroid/__init__.pyc
 ${PYSITELIB}/astroid/__init__.pyo
 ${PYSITELIB}/astroid/__pkginfo__.py
 ${PYSITELIB}/astroid/__pkginfo__.pyc
 ${PYSITELIB}/astroid/__pkginfo__.pyo
+${PYSITELIB}/astroid/arguments.py
+${PYSITELIB}/astroid/arguments.pyc
+${PYSITELIB}/astroid/arguments.pyo
 ${PYSITELIB}/astroid/as_string.py
 ${PYSITELIB}/astroid/as_string.pyc
 ${PYSITELIB}/astroid/as_string.pyo
@@ -19,42 +22,54 @@ ${PYSITELIB}/astroid/astpeephole.pyo
 ${PYSITELIB}/astroid/bases.py
 ${PYSITELIB}/astroid/bases.pyc
 ${PYSITELIB}/astroid/bases.pyo
-${PYSITELIB}/astroid/brain/builtin_inference.py
-${PYSITELIB}/astroid/brain/builtin_inference.pyc
-${PYSITELIB}/astroid/brain/builtin_inference.pyo
-${PYSITELIB}/astroid/brain/py2gi.py
-${PYSITELIB}/astroid/brain/py2gi.pyc
-${PYSITELIB}/astroid/brain/py2gi.pyo
-${PYSITELIB}/astroid/brain/py2mechanize.py
-${PYSITELIB}/astroid/brain/py2mechanize.pyc
-${PYSITELIB}/astroid/brain/py2mechanize.pyo
-${PYSITELIB}/astroid/brain/py2pytest.py
-${PYSITELIB}/astroid/brain/py2pytest.pyc
-${PYSITELIB}/astroid/brain/py2pytest.pyo
-${PYSITELIB}/astroid/brain/py2qt4.py
-${PYSITELIB}/astroid/brain/py2qt4.pyc
-${PYSITELIB}/astroid/brain/py2qt4.pyo
-${PYSITELIB}/astroid/brain/py2stdlib.py
-${PYSITELIB}/astroid/brain/py2stdlib.pyc
-${PYSITELIB}/astroid/brain/py2stdlib.pyo
-${PYSITELIB}/astroid/brain/pynose.py
-${PYSITELIB}/astroid/brain/pynose.pyc
-${PYSITELIB}/astroid/brain/pynose.pyo
-${PYSITELIB}/astroid/brain/pysix_moves.py
-${PYSITELIB}/astroid/brain/pysix_moves.pyc
-${PYSITELIB}/astroid/brain/pysix_moves.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_dateutil.py
+${PYSITELIB}/astroid/brain/brain_dateutil.pyc
+${PYSITELIB}/astroid/brain/brain_dateutil.pyo
+${PYSITELIB}/astroid/brain/brain_gi.py
+${PYSITELIB}/astroid/brain/brain_gi.pyc
+${PYSITELIB}/astroid/brain/brain_gi.pyo
+${PYSITELIB}/astroid/brain/brain_mechanize.py
+${PYSITELIB}/astroid/brain/brain_mechanize.pyc
+${PYSITELIB}/astroid/brain/brain_mechanize.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_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_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/builder.py
 ${PYSITELIB}/astroid/builder.pyc
 ${PYSITELIB}/astroid/builder.pyo
+${PYSITELIB}/astroid/context.py
+${PYSITELIB}/astroid/context.pyc
+${PYSITELIB}/astroid/context.pyo
+${PYSITELIB}/astroid/decorators.py
+${PYSITELIB}/astroid/decorators.pyc
+${PYSITELIB}/astroid/decorators.pyo
 ${PYSITELIB}/astroid/exceptions.py
 ${PYSITELIB}/astroid/exceptions.pyc
 ${PYSITELIB}/astroid/exceptions.pyo
 ${PYSITELIB}/astroid/inference.py
 ${PYSITELIB}/astroid/inference.pyc
 ${PYSITELIB}/astroid/inference.pyo
-${PYSITELIB}/astroid/inspector.py
-${PYSITELIB}/astroid/inspector.pyc
-${PYSITELIB}/astroid/inspector.pyo
 ${PYSITELIB}/astroid/manager.py
 ${PYSITELIB}/astroid/manager.pyc
 ${PYSITELIB}/astroid/manager.pyo
@@ -70,6 +85,9 @@ ${PYSITELIB}/astroid/node_classes.pyo
 ${PYSITELIB}/astroid/nodes.py
 ${PYSITELIB}/astroid/nodes.pyc
 ${PYSITELIB}/astroid/nodes.pyo
+${PYSITELIB}/astroid/objects.py
+${PYSITELIB}/astroid/objects.pyc
+${PYSITELIB}/astroid/objects.pyo
 ${PYSITELIB}/astroid/protocols.py
 ${PYSITELIB}/astroid/protocols.pyc
 ${PYSITELIB}/astroid/protocols.pyo
@@ -182,9 +200,6 @@ ${PYSITELIB}/astroid/tests/unittest_buil
 ${PYSITELIB}/astroid/tests/unittest_inference.py
 ${PYSITELIB}/astroid/tests/unittest_inference.pyc
 ${PYSITELIB}/astroid/tests/unittest_inference.pyo
-${PYSITELIB}/astroid/tests/unittest_inspector.py
-${PYSITELIB}/astroid/tests/unittest_inspector.pyc
-${PYSITELIB}/astroid/tests/unittest_inspector.pyo
 ${PYSITELIB}/astroid/tests/unittest_lookup.py
 ${PYSITELIB}/astroid/tests/unittest_lookup.pyc
 ${PYSITELIB}/astroid/tests/unittest_lookup.pyo
@@ -197,6 +212,9 @@ ${PYSITELIB}/astroid/tests/unittest_modu
 ${PYSITELIB}/astroid/tests/unittest_nodes.py
 ${PYSITELIB}/astroid/tests/unittest_nodes.pyc
 ${PYSITELIB}/astroid/tests/unittest_nodes.pyo
+${PYSITELIB}/astroid/tests/unittest_objects.py
+${PYSITELIB}/astroid/tests/unittest_objects.pyc
+${PYSITELIB}/astroid/tests/unittest_objects.pyo
 ${PYSITELIB}/astroid/tests/unittest_peephole.py
 ${PYSITELIB}/astroid/tests/unittest_peephole.pyc
 ${PYSITELIB}/astroid/tests/unittest_peephole.pyo
@@ -215,9 +233,15 @@ ${PYSITELIB}/astroid/tests/unittest_regr
 ${PYSITELIB}/astroid/tests/unittest_scoped_nodes.py
 ${PYSITELIB}/astroid/tests/unittest_scoped_nodes.pyc
 ${PYSITELIB}/astroid/tests/unittest_scoped_nodes.pyo
+${PYSITELIB}/astroid/tests/unittest_transforms.py
+${PYSITELIB}/astroid/tests/unittest_transforms.pyc
+${PYSITELIB}/astroid/tests/unittest_transforms.pyo
 ${PYSITELIB}/astroid/tests/unittest_utils.py
 ${PYSITELIB}/astroid/tests/unittest_utils.pyc
 ${PYSITELIB}/astroid/tests/unittest_utils.pyo
-${PYSITELIB}/astroid/utils.py
-${PYSITELIB}/astroid/utils.pyc
-${PYSITELIB}/astroid/utils.pyo
+${PYSITELIB}/astroid/transforms.py
+${PYSITELIB}/astroid/transforms.pyc
+${PYSITELIB}/astroid/transforms.pyo
+${PYSITELIB}/astroid/util.py
+${PYSITELIB}/astroid/util.pyc
+${PYSITELIB}/astroid/util.pyo

Index: pkgsrc/devel/py-astroid/distinfo
diff -u pkgsrc/devel/py-astroid/distinfo:1.3 pkgsrc/devel/py-astroid/distinfo:1.4
--- pkgsrc/devel/py-astroid/distinfo:1.3        Tue Nov  3 03:29:05 2015
+++ pkgsrc/devel/py-astroid/distinfo    Tue Feb 28 17:15:24 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:29:05 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/02/28 17:15:24 fhajny Exp $
 
-SHA1 (astroid-1.3.6.tar.gz) = bcf21cfa9891c70f63a9730b792ce9cf8ea3bb2b
-RMD160 (astroid-1.3.6.tar.gz) = 25ef4d30a9bb5f6cccdeba7d5e8e581450c0fe6e
-SHA512 (astroid-1.3.6.tar.gz) = a44a17a59834915798b6c672243dccba57a432f646a2bd377e2b067d79d8057b1db0c22107285abcff19b9719d128a5354f9d5a82f65f628ae8beb15cedcbe35
-Size (astroid-1.3.6.tar.gz) = 153863 bytes
+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



Home | Main Index | Thread Index | Old Index