pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-astor



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Oct 31 12:51:23 UTC 2017

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-astor/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-astor/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-astor/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-astor/Makefile
diff -u pkgsrc/devel/py-astor/Makefile:1.6 pkgsrc/devel/py-astor/Makefile:1.7
--- pkgsrc/devel/py-astor/Makefile:1.6  Sat Sep 16 19:26:47 2017
+++ pkgsrc/devel/py-astor/Makefile      Tue Oct 31 12:51:23 2017
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.6 2017/09/16 19:26:47 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2017/10/31 12:51:23 adam Exp $
 
-DISTNAME=      astor-0.5
+DISTNAME=      astor-0.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/astor/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/pmaupin/astor
+HOMEPAGE=      https://github.com/berkerpeksag/astor
 COMMENT=       Read/rewrite/write Python ASTs
 LICENSE=       2-clause-bsd
 

Index: pkgsrc/devel/py-astor/PLIST
diff -u pkgsrc/devel/py-astor/PLIST:1.1 pkgsrc/devel/py-astor/PLIST:1.2
--- pkgsrc/devel/py-astor/PLIST:1.1     Sun May 18 03:22:03 2014
+++ pkgsrc/devel/py-astor/PLIST Tue Oct 31 12:51:23 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2014/05/18 03:22:03 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/10/31 12:51:23 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -6,15 +6,30 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
 ${PYSITELIB}/astor/__init__.py
 ${PYSITELIB}/astor/__init__.pyc
 ${PYSITELIB}/astor/__init__.pyo
-${PYSITELIB}/astor/codegen.py
-${PYSITELIB}/astor/codegen.pyc
-${PYSITELIB}/astor/codegen.pyo
-${PYSITELIB}/astor/misc.py
-${PYSITELIB}/astor/misc.pyc
-${PYSITELIB}/astor/misc.pyo
-${PYSITELIB}/astor/treewalk.py
-${PYSITELIB}/astor/treewalk.pyc
-${PYSITELIB}/astor/treewalk.pyo
+${PYSITELIB}/astor/code_gen.py
+${PYSITELIB}/astor/code_gen.pyc
+${PYSITELIB}/astor/code_gen.pyo
+${PYSITELIB}/astor/file_util.py
+${PYSITELIB}/astor/file_util.pyc
+${PYSITELIB}/astor/file_util.pyo
+${PYSITELIB}/astor/node_util.py
+${PYSITELIB}/astor/node_util.pyc
+${PYSITELIB}/astor/node_util.pyo
+${PYSITELIB}/astor/op_util.py
+${PYSITELIB}/astor/op_util.pyc
+${PYSITELIB}/astor/op_util.pyo
+${PYSITELIB}/astor/rtrip.py
+${PYSITELIB}/astor/rtrip.pyc
+${PYSITELIB}/astor/rtrip.pyo
+${PYSITELIB}/astor/source_repr.py
+${PYSITELIB}/astor/source_repr.pyc
+${PYSITELIB}/astor/source_repr.pyo
+${PYSITELIB}/astor/string_repr.py
+${PYSITELIB}/astor/string_repr.pyc
+${PYSITELIB}/astor/string_repr.pyo
+${PYSITELIB}/astor/tree_walk.py
+${PYSITELIB}/astor/tree_walk.pyc
+${PYSITELIB}/astor/tree_walk.pyo
 ${PYSITELIB}/setuputils.py
 ${PYSITELIB}/setuputils.pyc
 ${PYSITELIB}/setuputils.pyo

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



Home | Main Index | Thread Index | Old Index