summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-12-05 17:20:56 +0000
committerrodent <rodent@pkgsrc.org>2014-12-05 17:20:56 +0000
commitd6ed11899ce10c118ae2cfa3a505a770cf5904a9 (patch)
tree4005b8d12891146d63b90747a409ace6627ed316 /devel
parent1480a26d5d2cebf114fc163143f76b6153ccdaf7 (diff)
downloadpkgsrc-d6ed11899ce10c118ae2cfa3a505a770cf5904a9.tar.gz
Update to latest release, 0.24.3. Remove bl3 file, as this package does not
install any shared libraries. Clean up Makefile. Update patch. DEPENDS on py-logilab-common>=0.53.0 instead of using old bl3 file from that package. 2013-04-16 -- 0.24.3 * #124360 [py3.3]: Don't crash on 'yield from' nodes * #123062 [pylint-brain]: Use correct names for keywords for urlparse * #123056 [pylint-brain]: Add missing methods for hashlib * #123068: Fix inference for generator methods to correctly handle yields in lambdas. * #123068: Make sure .as_string() returns valid code for yields in expressions. * #47957: Set literals are now correctly treated as inference leaves. * #123074: Add support for inference of subscript operations on dict literals. 2013-02-27 -- 0.24.2 * pylint-brain: more subprocess.Popen faking (see #46273) * #109562 [jython]: java modules have no __doc__, causing crash * #120646 [py3]: fix for python3.3 _ast changes which may cause crash * #109988 [py3]: test fixes 2012-10-05 -- 0.24.1 * #106191: fix __future__ absolute import w/ From node * #50395: fix function fromlineno when some decorator is splited on multiple lines (patch by Mark Gius) * #92362: fix pyreverse crash on relative import * #104041: fix crash 'module object has no file_encoding attribute' * #4294 (pylint-brain): bad inference on mechanize.Browser.open * #46273 (pylint-brain): bad inference subprocess.Popen.communicate 2012-07-18 -- 0.24.0 * include pylint brain extension, describing some stuff not properly understood until then. (#100013, #53049, #23986, #72355) * #99583: fix raw_building.object_build for pypy implementation * use `open` rather than `file` in scoped_nodes as 2to3 miss it 2011-12-08 -- 0.23.1 * #62295: avoid "OSError: Too many open files" by moving .file_stream as a Module property opening the file only when needed * Lambda nodes should have a `name` attribute * only call transformers if modname specified 2011-10-07 -- 0.23.0 * #77187: ancestor() only returns the first class when inheriting from two classes coming from the same module * #76159: putting module's parent directory on the path causes problems linting when file names clash * #74746: should return empty module when __main__ is imported (patch by google) * #74748: getitem protocal return constant value instead of a Const node (patch by google) * #77188: support lgc.decorators.classproperty * #77253: provide a way for user code to register astng "transformers" using manager.register_transformer(callable) where callable will be called after an astng has been built and given the related module node as argument 2011-07-18 -- 0.22.0 * added column offset information on nodes (patch by fawce) * #70497: Crash on AttributeError: 'NoneType' object has no attribute '_infer_name' * #70381: IndendationError in import causes crash * #70565: absolute imports treated as relative (patch by Jacek Konieczny) * #70494: fix file encoding detection with python2.x * py3k: __builtin__ module renamed to builtins, we should consider this to properly build ast for builtin objects 2011-01-11 -- 0.21.1 * python3: handle file encoding; fix a lot of tests * fix #52006: "True" and "False" can be assigned as variable in Python2x * fix #8847: pylint doesn't understand function attributes at all * fix #8774: iterator / generator / next method * fix bad building of ast from living object w/ container classes (eg dict, set, list, tuple): contained elements should be turned to ast as well (not doing it will much probably cause crash later) * somewhat fix #57299 and other similar issue: Exception when trying to validate file using PyQt's PyQt4.QtCore module: we can't do much about it but at least catch such exception to avoid crash
Diffstat (limited to 'devel')
-rw-r--r--devel/py-logilab-astng/Makefile13
-rw-r--r--devel/py-logilab-astng/PLIST80
-rw-r--r--devel/py-logilab-astng/buildlink3.mk15
-rw-r--r--devel/py-logilab-astng/distinfo10
-rw-r--r--devel/py-logilab-astng/patches/patch-aa19
5 files changed, 96 insertions, 41 deletions
diff --git a/devel/py-logilab-astng/Makefile b/devel/py-logilab-astng/Makefile
index e4dcc0ab873..794b5d6623d 100644
--- a/devel/py-logilab-astng/Makefile
+++ b/devel/py-logilab-astng/Makefile
@@ -1,23 +1,24 @@
-# $NetBSD: Makefile,v 1.7 2014/05/09 07:37:01 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2014/12/05 17:20:56 rodent Exp $
-VERSION= 0.21.0
-DISTNAME= logilab-astng-${VERSION}
-EGG_NAME= logilab_astng-${VERSION}
+DISTNAME= logilab-astng-0.24.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
-MASTER_SITES= http://ftp.logilab.org/pub/astng/
+MASTER_SITES= https://pypi.python.org/packages/source/l/logilab-astng/
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= http://www.logilab.org/project/logilab-astng
COMMENT= Extend Python abstract syntax tree
LICENSE= gnu-gpl-v2
+DEPENDS+= ${PYPKGPREFIX}-logilab-common>=0.53.0:../../devel/py-logilab-common
+
USE_LANGUAGES= # none
+
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-mxDateTime via py-logilab-common
+EGG_NAME= ${DISTNAME:S/-/_/1}
do-test:
cd ${WRKSRC} && ${SH} test/fulltest.sh ${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
-.include "../../devel/py-logilab-common/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-logilab-astng/PLIST b/devel/py-logilab-astng/PLIST
index 1dc747f7fd4..b9ede9b0a4b 100644
--- a/devel/py-logilab-astng/PLIST
+++ b/devel/py-logilab-astng/PLIST
@@ -1,25 +1,31 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/01/11 20:42:34 drochner Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/12/05 17:20:56 rodent Exp $
${PYSITELIB}/logilab/astng/__init__.py
${PYSITELIB}/logilab/astng/__init__.pyc
${PYSITELIB}/logilab/astng/__init__.pyo
${PYSITELIB}/logilab/astng/__pkginfo__.py
${PYSITELIB}/logilab/astng/__pkginfo__.pyc
${PYSITELIB}/logilab/astng/__pkginfo__.pyo
-${PYSITELIB}/logilab/astng/_exceptions.py
-${PYSITELIB}/logilab/astng/_exceptions.pyc
-${PYSITELIB}/logilab/astng/_exceptions.pyo
-${PYSITELIB}/logilab/astng/_nodes_ast.py
-${PYSITELIB}/logilab/astng/_nodes_ast.pyc
-${PYSITELIB}/logilab/astng/_nodes_ast.pyo
${PYSITELIB}/logilab/astng/as_string.py
${PYSITELIB}/logilab/astng/as_string.pyc
${PYSITELIB}/logilab/astng/as_string.pyo
${PYSITELIB}/logilab/astng/bases.py
${PYSITELIB}/logilab/astng/bases.pyc
${PYSITELIB}/logilab/astng/bases.pyo
+${PYSITELIB}/logilab/astng/brain/py2mechanize.py
+${PYSITELIB}/logilab/astng/brain/py2mechanize.pyc
+${PYSITELIB}/logilab/astng/brain/py2mechanize.pyo
+${PYSITELIB}/logilab/astng/brain/py2qt4.py
+${PYSITELIB}/logilab/astng/brain/py2qt4.pyc
+${PYSITELIB}/logilab/astng/brain/py2qt4.pyo
+${PYSITELIB}/logilab/astng/brain/py2stdlib.py
+${PYSITELIB}/logilab/astng/brain/py2stdlib.pyc
+${PYSITELIB}/logilab/astng/brain/py2stdlib.pyo
${PYSITELIB}/logilab/astng/builder.py
${PYSITELIB}/logilab/astng/builder.pyc
${PYSITELIB}/logilab/astng/builder.pyo
+${PYSITELIB}/logilab/astng/exceptions.py
+${PYSITELIB}/logilab/astng/exceptions.pyc
+${PYSITELIB}/logilab/astng/exceptions.pyo
${PYSITELIB}/logilab/astng/inference.py
${PYSITELIB}/logilab/astng/inference.pyc
${PYSITELIB}/logilab/astng/inference.pyo
@@ -53,29 +59,86 @@ ${PYSITELIB}/logilab/astng/scoped_nodes.pyo
${PYSITELIB}/logilab/astng/test/data/MyPyPa-0.1.0-py2.5.egg
${PYSITELIB}/logilab/astng/test/data/MyPyPa-0.1.0-py2.5.zip
${PYSITELIB}/logilab/astng/test/data/SSL1/Connection1.py
+${PYSITELIB}/logilab/astng/test/data/SSL1/Connection1.pyc
+${PYSITELIB}/logilab/astng/test/data/SSL1/Connection1.pyo
${PYSITELIB}/logilab/astng/test/data/SSL1/__init__.py
+${PYSITELIB}/logilab/astng/test/data/SSL1/__init__.pyc
+${PYSITELIB}/logilab/astng/test/data/SSL1/__init__.pyo
${PYSITELIB}/logilab/astng/test/data/__init__.py
+${PYSITELIB}/logilab/astng/test/data/__init__.pyc
+${PYSITELIB}/logilab/astng/test/data/__init__.pyo
+${PYSITELIB}/logilab/astng/test/data/absimport.py
+${PYSITELIB}/logilab/astng/test/data/absimport.pyc
+${PYSITELIB}/logilab/astng/test/data/absimport.pyo
${PYSITELIB}/logilab/astng/test/data/all.py
+${PYSITELIB}/logilab/astng/test/data/all.pyc
+${PYSITELIB}/logilab/astng/test/data/all.pyo
${PYSITELIB}/logilab/astng/test/data/appl/__init__.py
+${PYSITELIB}/logilab/astng/test/data/appl/__init__.pyc
+${PYSITELIB}/logilab/astng/test/data/appl/__init__.pyo
${PYSITELIB}/logilab/astng/test/data/appl/myConnection.py
+${PYSITELIB}/logilab/astng/test/data/appl/myConnection.pyc
+${PYSITELIB}/logilab/astng/test/data/appl/myConnection.pyo
+${PYSITELIB}/logilab/astng/test/data/email.py
+${PYSITELIB}/logilab/astng/test/data/email.pyc
+${PYSITELIB}/logilab/astng/test/data/email.pyo
${PYSITELIB}/logilab/astng/test/data/format.py
+${PYSITELIB}/logilab/astng/test/data/format.pyc
+${PYSITELIB}/logilab/astng/test/data/format.pyo
${PYSITELIB}/logilab/astng/test/data/module.py
+${PYSITELIB}/logilab/astng/test/data/module.pyc
+${PYSITELIB}/logilab/astng/test/data/module.pyo
${PYSITELIB}/logilab/astng/test/data/module2.py
+${PYSITELIB}/logilab/astng/test/data/module2.pyc
+${PYSITELIB}/logilab/astng/test/data/module2.pyo
${PYSITELIB}/logilab/astng/test/data/noendingnewline.py
+${PYSITELIB}/logilab/astng/test/data/noendingnewline.pyc
+${PYSITELIB}/logilab/astng/test/data/noendingnewline.pyo
${PYSITELIB}/logilab/astng/test/data/nonregr.py
+${PYSITELIB}/logilab/astng/test/data/nonregr.pyc
+${PYSITELIB}/logilab/astng/test/data/nonregr.pyo
${PYSITELIB}/logilab/astng/test/data/notall.py
+${PYSITELIB}/logilab/astng/test/data/notall.pyc
+${PYSITELIB}/logilab/astng/test/data/notall.pyo
${PYSITELIB}/logilab/astng/test/data2/__init__.py
+${PYSITELIB}/logilab/astng/test/data2/__init__.pyc
+${PYSITELIB}/logilab/astng/test/data2/__init__.pyo
${PYSITELIB}/logilab/astng/test/data2/clientmodule_test.py
+${PYSITELIB}/logilab/astng/test/data2/clientmodule_test.pyc
+${PYSITELIB}/logilab/astng/test/data2/clientmodule_test.pyo
${PYSITELIB}/logilab/astng/test/data2/suppliermodule_test.py
+${PYSITELIB}/logilab/astng/test/data2/suppliermodule_test.pyc
+${PYSITELIB}/logilab/astng/test/data2/suppliermodule_test.pyo
${PYSITELIB}/logilab/astng/test/regrtest_data/absimp/__init__.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/absimp/__init__.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/absimp/__init__.pyo
${PYSITELIB}/logilab/astng/test/regrtest_data/absimp/sidepackage/__init__.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/absimp/sidepackage/__init__.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/absimp/sidepackage/__init__.pyo
+${PYSITELIB}/logilab/astng/test/regrtest_data/absimp/string.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/absimp/string.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/absimp/string.pyo
${PYSITELIB}/logilab/astng/test/regrtest_data/descriptor_crash.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/descriptor_crash.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/descriptor_crash.pyo
${PYSITELIB}/logilab/astng/test/regrtest_data/package/__init__.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/__init__.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/__init__.pyo
${PYSITELIB}/logilab/astng/test/regrtest_data/package/absimport.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/absimport.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/absimport.pyo
${PYSITELIB}/logilab/astng/test/regrtest_data/package/hello.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/hello.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/hello.pyo
${PYSITELIB}/logilab/astng/test/regrtest_data/package/import_package_subpackage_module.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/import_package_subpackage_module.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/import_package_subpackage_module.pyo
${PYSITELIB}/logilab/astng/test/regrtest_data/package/subpackage/__init__.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/subpackage/__init__.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/subpackage/__init__.pyo
${PYSITELIB}/logilab/astng/test/regrtest_data/package/subpackage/module.py
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/subpackage/module.pyc
+${PYSITELIB}/logilab/astng/test/regrtest_data/package/subpackage/module.pyo
${PYSITELIB}/logilab/astng/test/unittest_builder.py
${PYSITELIB}/logilab/astng/test/unittest_builder.pyc
${PYSITELIB}/logilab/astng/test/unittest_builder.pyo
@@ -94,6 +157,9 @@ ${PYSITELIB}/logilab/astng/test/unittest_manager.pyo
${PYSITELIB}/logilab/astng/test/unittest_nodes.py
${PYSITELIB}/logilab/astng/test/unittest_nodes.pyc
${PYSITELIB}/logilab/astng/test/unittest_nodes.pyo
+${PYSITELIB}/logilab/astng/test/unittest_python3.py
+${PYSITELIB}/logilab/astng/test/unittest_python3.pyc
+${PYSITELIB}/logilab/astng/test/unittest_python3.pyo
${PYSITELIB}/logilab/astng/test/unittest_regrtest.py
${PYSITELIB}/logilab/astng/test/unittest_regrtest.pyc
${PYSITELIB}/logilab/astng/test/unittest_regrtest.pyo
diff --git a/devel/py-logilab-astng/buildlink3.mk b/devel/py-logilab-astng/buildlink3.mk
deleted file mode 100644
index caea8a6e4b0..00000000000
--- a/devel/py-logilab-astng/buildlink3.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.3 2012/10/04 07:04:51 wiz Exp $
-
-BUILDLINK_TREE+= py-llab-astng
-
-.if !defined(PY_LLAB_ASTNG_BUILDLINK3_MK)
-PY_LLAB_ASTNG_BUILDLINK3_MK:=
-
-.include "../../lang/python/pyversion.mk"
-
-BUILDLINK_API_DEPENDS.py-llab-astng+= ${PYPKGPREFIX}-logilab-astng>=0.21.0
-BUILDLINK_PKGSRCDIR.py-llab-astng?= ../../devel/py-logilab-astng
-
-.endif # PY_LLAB_ASTNG_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -py-llab-astng
diff --git a/devel/py-logilab-astng/distinfo b/devel/py-logilab-astng/distinfo
index bdcadf37675..f78b851c12d 100644
--- a/devel/py-logilab-astng/distinfo
+++ b/devel/py-logilab-astng/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/01/11 20:42:34 drochner Exp $
+$NetBSD: distinfo,v 1.2 2014/12/05 17:20:56 rodent Exp $
-SHA1 (logilab-astng-0.21.0.tar.gz) = fbb8cc9a5f65de35122f3c2f9f61ed909e27ca83
-RMD160 (logilab-astng-0.21.0.tar.gz) = a8bb10423267ba402b613c44822b48932f364564
-Size (logilab-astng-0.21.0.tar.gz) = 101362 bytes
-SHA1 (patch-aa) = 323a39e0a8e393b47eae897a328f88181d0eee5f
+SHA1 (logilab-astng-0.24.3.tar.gz) = a4a155008fa9955f2034972f2bfd91228e1c87de
+RMD160 (logilab-astng-0.24.3.tar.gz) = 8c5627208b2bd365a8313f7aa9e3af38985152fd
+Size (logilab-astng-0.24.3.tar.gz) = 106660 bytes
+SHA1 (patch-aa) = b82835ac2b2136eddc4c5ce24ee1d1bb52ea02d5
diff --git a/devel/py-logilab-astng/patches/patch-aa b/devel/py-logilab-astng/patches/patch-aa
index 15d562d27c4..79480adf48f 100644
--- a/devel/py-logilab-astng/patches/patch-aa
+++ b/devel/py-logilab-astng/patches/patch-aa
@@ -1,11 +1,14 @@
-$NetBSD: patch-aa,v 1.1.1.1 2011/01/11 20:42:34 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2014/12/05 17:20:56 rodent Exp $
---- setup.py.orig 2010-03-23 10:30:49.000000000 +0000
-+++ setup.py 2010-05-05 09:48:51.000000000 +0000
-@@ -149,13 +149,6 @@
+Don't creat this file for pkgsrc.
+
+--- setup.py.orig 2013-04-17 09:38:31.000000000 +0000
++++ setup.py
+@@ -109,14 +109,6 @@ class MyInstallLib(install_lib.install_l
+ def run(self):
"""overridden from install_lib class"""
install_lib.install_lib.run(self)
- # create Products.__init__.py if needed
+- # create Products.__init__.py if needed
- if subpackage_of:
- product_init = join(self.install_dir, subpackage_of, '__init__.py')
- if not exists(product_init):
@@ -13,6 +16,6 @@ $NetBSD: patch-aa,v 1.1.1.1 2011/01/11 20:42:34 drochner Exp $
- stream = open(product_init, 'w')
- stream.write(EMPTY_FILE)
- stream.close()
- # manually install included directories if any
- if include_dirs:
- if subpackage_of:
+
+
+ class MyBuildPy(build_py):