0.15 Features: * Issue 39: Traceback with for a syntax error when compiling async function On Python 3.5 some (invalid) async function definitions caused a modulegraph traceback, instead of adding "InvalidSourceModule" nodes to the graph. * Issue 40: The graph now contains nodes of type "InvalidRelativeImport" for attempts to use relative imports that walk outside of a toplevel package. Bugfixes: * Issue 38: Dot output broken in Python 3 * Issue 36: Make sure test suite works on systems other than macOS * Add support for "async def" to the AST scanner, needed to properly recognize imports in async function definitions.diff -r1.8 -r1.9 pkgsrc/devel/py-modulegraph/Makefile
(adam)
@@ -1,22 +1,21 @@ | @@ -1,22 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.8 2017/01/03 13:23:02 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.9 2017/07/31 05:18:56 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= modulegraph-0.12.1 | 3 | DISTNAME= modulegraph-0.15 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/modulegraph/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/modulegraph/} | |
7 | 7 | |||
8 | MAINTAINER= rodent@NetBSD.org | 8 | MAINTAINER= rodent@NetBSD.org | |
9 | HOMEPAGE= http://bitbucket.org/ronaldoussoren/modulegraph | 9 | HOMEPAGE= http://bitbucket.org/ronaldoussoren/modulegraph | |
10 | COMMENT= Python module dependency analysis tool | 10 | COMMENT= Python module dependency analysis tool | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-altgraph>=0.11:../../graphics/py-altgraph | 13 | DEPENDS+= ${PYPKGPREFIX}-altgraph>=0.12:../../graphics/py-altgraph | |
14 | 14 | |||
15 | USE_LANGUAGES= # none | 15 | USE_LANGUAGES= # none | |
16 | 16 | |||
17 | post-install: | 17 | post-install: | |
18 | ${MV} ${DESTDIR}${PREFIX}/bin/modulegraph \ | 18 | cd ${DESTDIR}${PREFIX}/bin && ${MV} modulegraph modulegraph${PYVERSSUFFIX} || ${TRUE} | |
19 | ${DESTDIR}${PREFIX}/bin/modulegraph${PYVERSSUFFIX} || ${TRUE} | |||
20 | 19 | |||
21 | .include "../../lang/python/egg.mk" | 20 | .include "../../lang/python/egg.mk" | |
22 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |
@@ -1,30 +1,27 @@ | @@ -1,30 +1,27 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2014/08/14 16:09:23 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2017/07/31 05:18:56 adam Exp $ | |
2 | bin/modulegraph${PYVERSSUFFIX} | 2 | bin/modulegraph${PYVERSSUFFIX} | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
9 | ${PYSITELIB}/${EGG_INFODIR}/zip-safe | 9 | ${PYSITELIB}/${EGG_INFODIR}/zip-safe | |
10 | ${PYSITELIB}/modulegraph/__init__.py | 10 | ${PYSITELIB}/modulegraph/__init__.py | |
11 | ${PYSITELIB}/modulegraph/__init__.pyc | 11 | ${PYSITELIB}/modulegraph/__init__.pyc | |
12 | ${PYSITELIB}/modulegraph/__init__.pyo | 12 | ${PYSITELIB}/modulegraph/__init__.pyo | |
13 | ${PYSITELIB}/modulegraph/__main__.py | 13 | ${PYSITELIB}/modulegraph/__main__.py | |
14 | ${PYSITELIB}/modulegraph/__main__.pyc | 14 | ${PYSITELIB}/modulegraph/__main__.pyc | |
15 | ${PYSITELIB}/modulegraph/__main__.pyo | 15 | ${PYSITELIB}/modulegraph/__main__.pyo | |
16 | ${PYSITELIB}/modulegraph/_compat.py | |||
17 | ${PYSITELIB}/modulegraph/_compat.pyc | |||
18 | ${PYSITELIB}/modulegraph/_compat.pyo | |||
19 | ${PYSITELIB}/modulegraph/find_modules.py | 16 | ${PYSITELIB}/modulegraph/find_modules.py | |
20 | ${PYSITELIB}/modulegraph/find_modules.pyc | 17 | ${PYSITELIB}/modulegraph/find_modules.pyc | |
21 | ${PYSITELIB}/modulegraph/find_modules.pyo | 18 | ${PYSITELIB}/modulegraph/find_modules.pyo | |
22 | ${PYSITELIB}/modulegraph/modulegraph.py | 19 | ${PYSITELIB}/modulegraph/modulegraph.py | |
23 | ${PYSITELIB}/modulegraph/modulegraph.pyc | 20 | ${PYSITELIB}/modulegraph/modulegraph.pyc | |
24 | ${PYSITELIB}/modulegraph/modulegraph.pyo | 21 | ${PYSITELIB}/modulegraph/modulegraph.pyo | |
25 | ${PYSITELIB}/modulegraph/util.py | 22 | ${PYSITELIB}/modulegraph/util.py | |
26 | ${PYSITELIB}/modulegraph/util.pyc | 23 | ${PYSITELIB}/modulegraph/util.pyc | |
27 | ${PYSITELIB}/modulegraph/util.pyo | 24 | ${PYSITELIB}/modulegraph/util.pyo | |
28 | ${PYSITELIB}/modulegraph/zipio.py | 25 | ${PYSITELIB}/modulegraph/zipio.py | |
29 | ${PYSITELIB}/modulegraph/zipio.pyc | 26 | ${PYSITELIB}/modulegraph/zipio.pyc | |
30 | ${PYSITELIB}/modulegraph/zipio.pyo | 27 | ${PYSITELIB}/modulegraph/zipio.pyo |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2015/11/03 03:29:10 agc Exp $ | 1 | $NetBSD: distinfo,v 1.6 2017/07/31 05:18:56 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (modulegraph-0.12.1.tar.gz) = c7196047c5294888071b907439cb232cec5b9efa | 3 | SHA1 (modulegraph-0.15.tar.gz) = e9e3570ff2cd06a19e93d0f9dc4c1386e1dfb3f3 | |
4 | RMD160 (modulegraph-0.12.1.tar.gz) = a74cd318b635c2fc6498fda74cc24e35188e0059 | 4 | RMD160 (modulegraph-0.15.tar.gz) = e7d0d7457190891a02e3d05344fed594d24a5fbc | |
5 | SHA512 (modulegraph-0.12.1.tar.gz) = 0cc99023f047ffc6519a6117f6eead99bfcbb05e36e4cb345bb215bb838f495fa77acb51addc681f54f34a617ed5bc42dd210b1060d757262dd11631c439a4f5 | 5 | SHA512 (modulegraph-0.15.tar.gz) = 5b07960da11ae77cd60930f034e6c56dbaeedea76010dfd71e0bf9d3e8a6c5834f69286750d7c477ccfe6dbc89b322136c961c4f0d603cc4b264279e6015d8dc | |
6 | Size (modulegraph-0.12.1.tar.gz) = 677132 bytes | 6 | Size (modulegraph-0.15.tar.gz) = 681930 bytes |