Received: by mail.netbsd.org (Postfix, from userid 605) id 4499A84E21; Wed, 8 Jan 2020 15:19:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BDB4B84CE3 for ; Wed, 8 Jan 2020 15:19:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id bFU5eIBGjRqi for ; Wed, 8 Jan 2020 15:19:15 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DF8BC84CE2 for ; Wed, 8 Jan 2020 15:19:14 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D4869FBF4; Wed, 8 Jan 2020 15:19:14 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1578496754290530" MIME-Version: 1.0 Date: Wed, 8 Jan 2020 15:19:14 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/lang/py-uncompyle6 To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20200108151914.D4869FBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1578496754290530 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Wed Jan 8 15:19:14 UTC 2020 Modified Files: pkgsrc/lang/py-uncompyle6: Makefile PLIST distinfo Log Message: py-uncompyle6: updated to 3.6.2 3.6.2: Yet again the focus has been on just fixing bugs, mostly geared in the later 3.x range. To get some sense what sill needs fixing, consult test/stdlib/runtests.sh. And that only has a portion of what's known. make_function.py has gotten so complex that it was split out into 3 parts to handle different version ranges: Python <3, Python 3.0..3.6 and Python 3.7+. An important fix is that we had been dropping docstrings in Python 3 code as a result of a incomplete merge from the decompile3 base with respect to the transform phase. Also important (at least to me) is that we can now handle 3.6+ variable type annotations. Some of the decompile3 code uses that in its source code, and I now use variable annotations in conjunction with mypy in some of my other Python projects Code generation for imports, especially where the import is dotted changed a bit in 3.7; with this release are just now tracking that change better. For this I've added pseudo instruction IMPORT_NAME_ATTR, derived from the IMPORT_NAME instruction, to indicate when an import contains a dotted import. Similarly, code for 3.7 import .. as is basically the same as from .. import, the only difference is the target of the name changes to an "alias" in the former. As a result, the disambiguation is now done on the semantic action side, rathero than in parsing grammar rules. Some small specific fixes: 3.7+ some chained compare parsing has been fixed. Other remain. better if/else rule checking in the 3.4 and below range. 3.4+ keyword-only parameter handling was fixed more generally 3.3 .. 3.5 keyword-only parameter args in lambda was fixed To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/py-uncompyle6/Makefile cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/py-uncompyle6/PLIST cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/py-uncompyle6/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1578496754290530 Content-Disposition: inline Content-Length: 3638 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/py-uncompyle6/Makefile diff -u pkgsrc/lang/py-uncompyle6/Makefile:1.17 pkgsrc/lang/py-uncompyle6/Makefile:1.18 --- pkgsrc/lang/py-uncompyle6/Makefile:1.17 Tue Dec 31 10:22:46 2019 +++ pkgsrc/lang/py-uncompyle6/Makefile Wed Jan 8 15:19:14 2020 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2019/12/31 10:22:46 adam Exp $ +# $NetBSD: Makefile,v 1.18 2020/01/08 15:19:14 adam Exp $ -DISTNAME= uncompyle6-3.6.1 +DISTNAME= uncompyle6-3.6.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= lang python MASTER_SITES= ${MASTER_SITE_PYPI:=u/uncompyle6/} Index: pkgsrc/lang/py-uncompyle6/PLIST diff -u pkgsrc/lang/py-uncompyle6/PLIST:1.10 pkgsrc/lang/py-uncompyle6/PLIST:1.11 --- pkgsrc/lang/py-uncompyle6/PLIST:1.10 Tue Dec 31 10:22:46 2019 +++ pkgsrc/lang/py-uncompyle6/PLIST Wed Jan 8 15:19:14 2020 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2019/12/31 10:22:46 adam Exp $ +@comment $NetBSD: PLIST,v 1.11 2020/01/08 15:19:14 adam Exp $ bin/pydisassemble-${PYVERSSUFFIX} bin/uncompyle6-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO @@ -111,6 +111,8 @@ ${PYSITELIB}/uncompyle6/parsers/parse37b ${PYSITELIB}/uncompyle6/parsers/parse37base.pyc ${PYSITELIB}/uncompyle6/parsers/parse37base.pyo ${PYSITELIB}/uncompyle6/parsers/parse38.py +${PYSITELIB}/uncompyle6/parsers/parse38.pyc +${PYSITELIB}/uncompyle6/parsers/parse38.pyo ${PYSITELIB}/uncompyle6/parsers/treenode.py ${PYSITELIB}/uncompyle6/parsers/treenode.pyc ${PYSITELIB}/uncompyle6/parsers/treenode.pyo @@ -264,9 +266,15 @@ ${PYSITELIB}/uncompyle6/semantics/helper ${PYSITELIB}/uncompyle6/semantics/linemap.py ${PYSITELIB}/uncompyle6/semantics/linemap.pyc ${PYSITELIB}/uncompyle6/semantics/linemap.pyo -${PYSITELIB}/uncompyle6/semantics/make_function.py -${PYSITELIB}/uncompyle6/semantics/make_function.pyc -${PYSITELIB}/uncompyle6/semantics/make_function.pyo +${PYSITELIB}/uncompyle6/semantics/make_function2.py +${PYSITELIB}/uncompyle6/semantics/make_function2.pyc +${PYSITELIB}/uncompyle6/semantics/make_function2.pyo +${PYSITELIB}/uncompyle6/semantics/make_function3.py +${PYSITELIB}/uncompyle6/semantics/make_function3.pyc +${PYSITELIB}/uncompyle6/semantics/make_function3.pyo +${PYSITELIB}/uncompyle6/semantics/make_function36.py +${PYSITELIB}/uncompyle6/semantics/make_function36.pyc +${PYSITELIB}/uncompyle6/semantics/make_function36.pyo ${PYSITELIB}/uncompyle6/semantics/parser_error.py ${PYSITELIB}/uncompyle6/semantics/parser_error.pyc ${PYSITELIB}/uncompyle6/semantics/parser_error.pyo Index: pkgsrc/lang/py-uncompyle6/distinfo diff -u pkgsrc/lang/py-uncompyle6/distinfo:1.16 pkgsrc/lang/py-uncompyle6/distinfo:1.17 --- pkgsrc/lang/py-uncompyle6/distinfo:1.16 Tue Dec 31 10:22:46 2019 +++ pkgsrc/lang/py-uncompyle6/distinfo Wed Jan 8 15:19:14 2020 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.16 2019/12/31 10:22:46 adam Exp $ +$NetBSD: distinfo,v 1.17 2020/01/08 15:19:14 adam Exp $ -SHA1 (uncompyle6-3.6.1.tar.gz) = 4521ec3b2f651de8af43ac061f711d5a8119801f -RMD160 (uncompyle6-3.6.1.tar.gz) = d5d5fd7d7fde0369de568fddd208e0db4f098243 -SHA512 (uncompyle6-3.6.1.tar.gz) = c67eacb8b9bc69c63c711dc4dfdec7458d27c77050abc6793c078bf596bccf389ebb30c9ffe1a9c793b4eb3b10b0e3faba39458d9203f240df0c5001547b275a -Size (uncompyle6-3.6.1.tar.gz) = 2296369 bytes +SHA1 (uncompyle6-3.6.2.tar.gz) = 5f5156784593d127bd8d14327693ef1786fcf39b +RMD160 (uncompyle6-3.6.2.tar.gz) = e00ad186baa9f58477c52733e2123f175ae79b82 +SHA512 (uncompyle6-3.6.2.tar.gz) = 70fae57ed0edc2cc2f8f3701d190a72c9a5ce0ee4ca60f04f6f56a300edb7bacb5ab81b3184461eef27258d556b56379ef0a2ad670259935dd381e03c8907b26 +Size (uncompyle6-3.6.2.tar.gz) = 2307106 bytes --_----------=_1578496754290530--