Tue Oct 31 12:51:23 2017 UTC ()
py-astor: updated to 0.6

0.6:

New features
* New astor.rtrip command-line tool to test round-tripping of Python source to AST and back to source. (Contributed by Patrick Maupin.)
* New pretty printer outputs much better looking code:
  . Remove parentheses where not necessary
  . Use triple-quoted strings where it makes sense
  . Add placeholder for function to do nice line wrapping on output
* Additional Python 3.5 support: - Additional unpacking generalizations (PEP 448)
  .  Async and await (PEP 492)
* Added Python 3.6 feature support:
  . f-strings (PEP 498)
  . async comprehensions (PEP 530)
  . variable annotations (PEP 526)
* Code cleanup, including renaming for PEP8 and deprecation of old names. See :ref:`deprecations` for more information.

Bug fixes
* Don't put trailing comma-spaces in dictionaries. astor will now create {'three': 3} instead of {'three': 3, }.
* Fixed several bugs in code generation.


(adam)
diff -r1.6 -r1.7 pkgsrc/devel/py-astor/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/py-astor/PLIST
diff -r1.5 -r1.6 pkgsrc/devel/py-astor/distinfo

cvs diff -r1.6 -r1.7 pkgsrc/devel/py-astor/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-astor/Makefile 2017/09/16 19:26:47 1.6
+++ pkgsrc/devel/py-astor/Makefile 2017/10/31 12:51:23 1.7
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.6 2017/09/16 19:26:47 wiz Exp $ 1# $NetBSD: Makefile,v 1.7 2017/10/31 12:51:23 adam Exp $
2 2
3DISTNAME= astor-0.5 3DISTNAME= astor-0.6
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=a/astor/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=a/astor/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/pmaupin/astor 9HOMEPAGE= https://github.com/berkerpeksag/astor
10COMMENT= Read/rewrite/write Python ASTs 10COMMENT= Read/rewrite/write Python ASTs
11LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
12 12
13USE_LANGUAGES= # none 13USE_LANGUAGES= # none
14 14
15.include "../../lang/python/egg.mk" 15.include "../../lang/python/egg.mk"
16.include "../../mk/bsd.pkg.mk" 16.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/devel/py-astor/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-astor/PLIST 2014/05/18 03:22:03 1.1
+++ pkgsrc/devel/py-astor/PLIST 2017/10/31 12:51:23 1.2
@@ -1,20 +1,35 @@ @@ -1,20 +1,35 @@
1@comment $NetBSD: PLIST,v 1.1 2014/05/18 03:22:03 rodent Exp $ 1@comment $NetBSD: PLIST,v 1.2 2017/10/31 12:51:23 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/top_level.txt 5${PYSITELIB}/${EGG_INFODIR}/top_level.txt
6${PYSITELIB}/astor/__init__.py 6${PYSITELIB}/astor/__init__.py
7${PYSITELIB}/astor/__init__.pyc 7${PYSITELIB}/astor/__init__.pyc
8${PYSITELIB}/astor/__init__.pyo 8${PYSITELIB}/astor/__init__.pyo
9${PYSITELIB}/astor/codegen.py 9${PYSITELIB}/astor/code_gen.py
10${PYSITELIB}/astor/codegen.pyc 10${PYSITELIB}/astor/code_gen.pyc
11${PYSITELIB}/astor/codegen.pyo 11${PYSITELIB}/astor/code_gen.pyo
12${PYSITELIB}/astor/misc.py 12${PYSITELIB}/astor/file_util.py
13${PYSITELIB}/astor/misc.pyc 13${PYSITELIB}/astor/file_util.pyc
14${PYSITELIB}/astor/misc.pyo 14${PYSITELIB}/astor/file_util.pyo
15${PYSITELIB}/astor/treewalk.py 15${PYSITELIB}/astor/node_util.py
16${PYSITELIB}/astor/treewalk.pyc 16${PYSITELIB}/astor/node_util.pyc
17${PYSITELIB}/astor/treewalk.pyo 17${PYSITELIB}/astor/node_util.pyo
 18${PYSITELIB}/astor/op_util.py
 19${PYSITELIB}/astor/op_util.pyc
 20${PYSITELIB}/astor/op_util.pyo
 21${PYSITELIB}/astor/rtrip.py
 22${PYSITELIB}/astor/rtrip.pyc
 23${PYSITELIB}/astor/rtrip.pyo
 24${PYSITELIB}/astor/source_repr.py
 25${PYSITELIB}/astor/source_repr.pyc
 26${PYSITELIB}/astor/source_repr.pyo
 27${PYSITELIB}/astor/string_repr.py
 28${PYSITELIB}/astor/string_repr.pyc
 29${PYSITELIB}/astor/string_repr.pyo
 30${PYSITELIB}/astor/tree_walk.py
 31${PYSITELIB}/astor/tree_walk.pyc
 32${PYSITELIB}/astor/tree_walk.pyo
18${PYSITELIB}/setuputils.py 33${PYSITELIB}/setuputils.py
19${PYSITELIB}/setuputils.pyc 34${PYSITELIB}/setuputils.pyc
20${PYSITELIB}/setuputils.pyo 35${PYSITELIB}/setuputils.pyo

cvs diff -r1.5 -r1.6 pkgsrc/devel/py-astor/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-astor/distinfo 2015/11/03 03:29:04 1.5
+++ pkgsrc/devel/py-astor/distinfo 2017/10/31 12:51:23 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2015/11/03 03:29:04 agc Exp $ 1$NetBSD: distinfo,v 1.6 2017/10/31 12:51:23 adam Exp $
2 2
3SHA1 (astor-0.5.tar.gz) = ec9b78ac901a857e62574fa4b262dc52b0ecce87 3SHA1 (astor-0.6.tar.gz) = 40f3b2e18d00975f5a36f023c19f6221b5d43e42
4RMD160 (astor-0.5.tar.gz) = d204d3ddc43d3a4388382a885742fc8a504416ab 4RMD160 (astor-0.6.tar.gz) = 9ee21e2aa222be09344515beee7bac0a152c0293
5SHA512 (astor-0.5.tar.gz) = 7c940371a6c3ddbc4a6691edb6ee17eef61436912bb873c5c0cba4f3865c9d4f8e077674b14ccc7e319b749898782aaf87e085eedd9ba7f8638130deb67f549b 5SHA512 (astor-0.6.tar.gz) = 4f9598229f8a77901573fa1841716cc810ec8e108b155d8c7c50ab477d794f8ecd1784df66a1272a2739cc968d8eb6632f62b4d6ef067682db05233f127be409
6Size (astor-0.5.tar.gz) = 10999 bytes 6Size (astor-0.6.tar.gz) = 28684 bytes