pkgsrc/devel/py-astor/Makefile
adam 06dd0e66d6 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__)
2019-05-22 21:06:44 +00:00

16 lines
424 B
Makefile

# $NetBSD: Makefile,v 1.10 2019/05/22 21:06:44 adam Exp $
DISTNAME= astor-0.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/astor/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/berkerpeksag/astor
COMMENT= Read/rewrite/write Python ASTs
LICENSE= 2-clause-bsd
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"