pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-astor py-astor: updated to 0.8.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/685acf1cc811
branches: trunk
changeset: 396145:685acf1cc811
user: adam <adam%pkgsrc.org@localhost>
date: Wed May 22 21:06:44 2019 +0000
description:
py-astor: updated to 0.8.0
0.8.0:
New features
Support ast.Constant nodes being emitted by Python 3.8 (and initially created in Python 3.6).
Support Python 3.8's assignment expressions.
Support Python 3.8's f-string debugging syntax.
:func:astor.to_source now has a source_generator_class parameter to customize source code generation.
The :class:~SourceGenerator class can now be imported from the :mod:astor package directly. Previously, the astor.code_gen submodule was needed to be imported.
Support Python 3.8's positional only arguments. See PEP 570 for more details.
Bug fixes
Fix string parsing when there is a newline inside an f-string.
Fixed code generation with escaped braces in f-strings.
Fixed code generation with attributes of integer literals, and with u-prefixed string literals.
Fixed code generation with very large integers.
Fixed :class:astor.tree_walk.TreeWalk when attempting to access attributes created by Python's type system (such as __dict__ and __weakref__)
diffstat:
devel/py-astor/Makefile | 4 ++--
devel/py-astor/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 8f2a14e998fe -r 685acf1cc811 devel/py-astor/Makefile
--- a/devel/py-astor/Makefile Wed May 22 21:00:04 2019 +0000
+++ b/devel/py-astor/Makefile Wed May 22 21:06:44 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2018/07/06 08:09:50 adam Exp $
+# $NetBSD: Makefile,v 1.10 2019/05/22 21:06:44 adam Exp $
-DISTNAME= astor-0.7.1
+DISTNAME= astor-0.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astor/}
diff -r 8f2a14e998fe -r 685acf1cc811 devel/py-astor/distinfo
--- a/devel/py-astor/distinfo Wed May 22 21:00:04 2019 +0000
+++ b/devel/py-astor/distinfo Wed May 22 21:06:44 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2018/07/06 08:09:50 adam Exp $
+$NetBSD: distinfo,v 1.9 2019/05/22 21:06:44 adam Exp $
-SHA1 (astor-0.7.1.tar.gz) = 19f3a07d02f44b08dc0748395f79afef28f2e561
-RMD160 (astor-0.7.1.tar.gz) = c00e731d5db77b91acf9a550171f69b17e440734
-SHA512 (astor-0.7.1.tar.gz) = c52fa0b8ec5003c04d978c23361d423283a43be2c027d8d39ce1c45528dbbedb98b2a269ce97152bd9a4c942d95a6ec55720757b7811df4f34bb6744e2fff781
-Size (astor-0.7.1.tar.gz) = 30633 bytes
+SHA1 (astor-0.8.0.tar.gz) = f1482ca724ab8b785250d06fe6e574cb37a2abb5
+RMD160 (astor-0.8.0.tar.gz) = bb50b95579121050544b216e5d25f5061fb7790d
+SHA512 (astor-0.8.0.tar.gz) = df7aace90ae018aae4ff57ff36178e0b7adea00535f43faf650982d12cf0fa2fe5edbdc3c52597d087fa22aea9f7eb08d0fb93520b9d786727cefc0a0007dac8
+Size (astor-0.8.0.tar.gz) = 35005 bytes
Home |
Main Index |
Thread Index |
Old Index