pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-modulegraph 0.15



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b495e261fc04
branches:  trunk
changeset: 365950:b495e261fc04
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jul 31 05:18:56 2017 +0000

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

diffstat:

 devel/py-modulegraph/Makefile |   9 ++++-----
 devel/py-modulegraph/PLIST    |   5 +----
 devel/py-modulegraph/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 14 deletions(-)

diffs (62 lines):

diff -r 41d287551011 -r b495e261fc04 devel/py-modulegraph/Makefile
--- a/devel/py-modulegraph/Makefile     Mon Jul 31 05:16:30 2017 +0000
+++ b/devel/py-modulegraph/Makefile     Mon Jul 31 05:18:56 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2017/01/03 13:23:02 jperkin Exp $
+# $NetBSD: Makefile,v 1.9 2017/07/31 05:18:56 adam Exp $
 
-DISTNAME=      modulegraph-0.12.1
+DISTNAME=      modulegraph-0.15
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/modulegraph/}
@@ -10,13 +10,12 @@
 COMMENT=       Python module dependency analysis tool
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-altgraph>=0.11:../../graphics/py-altgraph
+DEPENDS+=      ${PYPKGPREFIX}-altgraph>=0.12:../../graphics/py-altgraph
 
 USE_LANGUAGES= # none
 
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/modulegraph \
-               ${DESTDIR}${PREFIX}/bin/modulegraph${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} modulegraph modulegraph${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 41d287551011 -r b495e261fc04 devel/py-modulegraph/PLIST
--- a/devel/py-modulegraph/PLIST        Mon Jul 31 05:16:30 2017 +0000
+++ b/devel/py-modulegraph/PLIST        Mon Jul 31 05:18:56 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2014/08/14 16:09:23 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/07/31 05:18:56 adam Exp $
 bin/modulegraph${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -13,9 +13,6 @@
 ${PYSITELIB}/modulegraph/__main__.py
 ${PYSITELIB}/modulegraph/__main__.pyc
 ${PYSITELIB}/modulegraph/__main__.pyo
-${PYSITELIB}/modulegraph/_compat.py
-${PYSITELIB}/modulegraph/_compat.pyc
-${PYSITELIB}/modulegraph/_compat.pyo
 ${PYSITELIB}/modulegraph/find_modules.py
 ${PYSITELIB}/modulegraph/find_modules.pyc
 ${PYSITELIB}/modulegraph/find_modules.pyo
diff -r 41d287551011 -r b495e261fc04 devel/py-modulegraph/distinfo
--- a/devel/py-modulegraph/distinfo     Mon Jul 31 05:16:30 2017 +0000
+++ b/devel/py-modulegraph/distinfo     Mon Jul 31 05:18:56 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 03:29:10 agc Exp $
+$NetBSD: distinfo,v 1.6 2017/07/31 05:18:56 adam Exp $
 
-SHA1 (modulegraph-0.12.1.tar.gz) = c7196047c5294888071b907439cb232cec5b9efa
-RMD160 (modulegraph-0.12.1.tar.gz) = a74cd318b635c2fc6498fda74cc24e35188e0059
-SHA512 (modulegraph-0.12.1.tar.gz) = 0cc99023f047ffc6519a6117f6eead99bfcbb05e36e4cb345bb215bb838f495fa77acb51addc681f54f34a617ed5bc42dd210b1060d757262dd11631c439a4f5
-Size (modulegraph-0.12.1.tar.gz) = 677132 bytes
+SHA1 (modulegraph-0.15.tar.gz) = e9e3570ff2cd06a19e93d0f9dc4c1386e1dfb3f3
+RMD160 (modulegraph-0.15.tar.gz) = e7d0d7457190891a02e3d05344fed594d24a5fbc
+SHA512 (modulegraph-0.15.tar.gz) = 5b07960da11ae77cd60930f034e6c56dbaeedea76010dfd71e0bf9d3e8a6c5834f69286750d7c477ccfe6dbc89b322136c961c4f0d603cc4b264279e6015d8dc
+Size (modulegraph-0.15.tar.gz) = 681930 bytes



Home | Main Index | Thread Index | Old Index