Received: by mail.netbsd.org (Postfix, from userid 605) id 8241484E19; Sat, 26 Nov 2022 19:53:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B142B84D55 for ; Sat, 26 Nov 2022 19:53:39 +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 NL7nPCbxPCza for ; Sat, 26 Nov 2022 19:53:38 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B41DC84D25 for ; Sat, 26 Nov 2022 19:53:38 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A8C2EFA90; Sat, 26 Nov 2022 19:53:38 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1669492418229530" MIME-Version: 1.0 Date: Sat, 26 Nov 2022 19:53:38 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/lang/py-hy To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20221126195338.A8C2EFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1669492418229530 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Sat Nov 26 19:53:38 UTC 2022 Modified Files: pkgsrc/lang/py-hy: Makefile PLIST distinfo pkgsrc/lang/py-hy/patches: patch-setup.py Log Message: py-hy: updated to 0.25.0 0.25.0 (released 2022-11-08) ============================== Breaking Changes ------------------------------ * `dfor` no longer requires brackets around its final arguments, so `(dfor x (range 5) [x (* 2 x)])` is now `(dfor x (range 5) x (* 2 x))`. * `except*` (PEP 654) is now recognized in `try`, and a placeholder macro for `except*` has been added. Bug Fixes ------------------------------ * `__file__` should now be set the same way as in Python. * `\N{…}` escape sequences are now recognized in f-strings. * Fixed a bug with `python -O` where assertions were still partly evaluated. * Fixed `hy.repr` of `slice` objects with non-integer arguments. New Features ------------------------------ * Python 3.11 is now supported. Misc. Improvements ------------------------------ * `hyc` now requires a command-line argument. * `hyc` prints each path it writes bytecode to, and its messages now go to standard error instead of standard output. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/py-hy/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/py-hy/PLIST cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/py-hy/distinfo cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/py-hy/patches/patch-setup.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1669492418229530 Content-Disposition: inline Content-Length: 6659 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/py-hy/Makefile diff -u pkgsrc/lang/py-hy/Makefile:1.11 pkgsrc/lang/py-hy/Makefile:1.12 --- pkgsrc/lang/py-hy/Makefile:1.11 Tue Jan 4 20:54:08 2022 +++ pkgsrc/lang/py-hy/Makefile Sat Nov 26 19:53:38 2022 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2022/01/04 20:54:08 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2022/11/26 19:53:38 adam Exp $ -DISTNAME= hy-0.20.0 +DISTNAME= hy-0.25.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= lang python MASTER_SITES= ${MASTER_SITE_PYPI:=h/hy/} @@ -11,15 +10,18 @@ HOMEPAGE= https://docs.hylang.org/ COMMENT= Lisp and Python love each other LICENSE= mit -DEPENDS+= ${PYPKGPREFIX}-astor>=0.8:../../devel/py-astor DEPENDS+= ${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama -DEPENDS+= ${PYPKGPREFIX}-funcparserlib>=0.3.6:../../devel/py-funcparserlib -DEPENDS+= ${PYPKGPREFIX}-rply>=0.7.7:../../devel/py-rply +DEPENDS+= ${PYPKGPREFIX}-funcparserlib>=1.0:../../devel/py-funcparserlib USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +.include "../../lang/python/pyversion.mk" +.if ${_PYTHON_VERSION} < 39 +DEPENDS+= ${PYPKGPREFIX}-astor>=0.8:../../devel/py-astor +.endif + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${RM} hy[23] hy2py[23] hyc[23] && \ Index: pkgsrc/lang/py-hy/PLIST diff -u pkgsrc/lang/py-hy/PLIST:1.5 pkgsrc/lang/py-hy/PLIST:1.6 --- pkgsrc/lang/py-hy/PLIST:1.5 Sat Mar 20 19:14:57 2021 +++ pkgsrc/lang/py-hy/PLIST Sat Nov 26 19:53:38 2022 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2021/03/20 19:14:57 adam Exp $ +@comment $NetBSD: PLIST,v 1.6 2022/11/26 19:53:38 adam Exp $ bin/hy-${PYVERSSUFFIX} bin/hy2py-${PYVERSSUFFIX} bin/hyc-${PYVERSSUFFIX} @@ -26,46 +26,24 @@ ${PYSITELIB}/hy/compiler.pyo ${PYSITELIB}/hy/completer.py ${PYSITELIB}/hy/completer.pyc ${PYSITELIB}/hy/completer.pyo -${PYSITELIB}/hy/contrib/__init__.py -${PYSITELIB}/hy/contrib/__init__.pyc -${PYSITELIB}/hy/contrib/__init__.pyo -${PYSITELIB}/hy/contrib/botsbuildbots.hy -${PYSITELIB}/hy/contrib/hy_repr.hy -${PYSITELIB}/hy/contrib/loop.hy -${PYSITELIB}/hy/contrib/pprint.hy -${PYSITELIB}/hy/contrib/profile.hy -${PYSITELIB}/hy/contrib/sequences.hy -${PYSITELIB}/hy/contrib/walk.hy ${PYSITELIB}/hy/core/__init__.py ${PYSITELIB}/hy/core/__init__.pyc ${PYSITELIB}/hy/core/__init__.pyo -${PYSITELIB}/hy/core/bootstrap.hy -${PYSITELIB}/hy/core/language.hy +${PYSITELIB}/hy/core/hy_repr.hy +${PYSITELIB}/hy/core/hy_repr.pyc ${PYSITELIB}/hy/core/macros.hy -${PYSITELIB}/hy/core/shadow.hy +${PYSITELIB}/hy/core/macros.pyc +${PYSITELIB}/hy/core/result_macros.py +${PYSITELIB}/hy/core/result_macros.pyc +${PYSITELIB}/hy/core/result_macros.pyo +${PYSITELIB}/hy/core/util.hy +${PYSITELIB}/hy/core/util.pyc ${PYSITELIB}/hy/errors.py ${PYSITELIB}/hy/errors.pyc ${PYSITELIB}/hy/errors.pyo -${PYSITELIB}/hy/extra/__init__.py -${PYSITELIB}/hy/extra/__init__.pyc -${PYSITELIB}/hy/extra/__init__.pyo -${PYSITELIB}/hy/extra/anaphoric.hy -${PYSITELIB}/hy/extra/reserved.hy ${PYSITELIB}/hy/importer.py ${PYSITELIB}/hy/importer.pyc ${PYSITELIB}/hy/importer.pyo -${PYSITELIB}/hy/lex/__init__.py -${PYSITELIB}/hy/lex/__init__.pyc -${PYSITELIB}/hy/lex/__init__.pyo -${PYSITELIB}/hy/lex/exceptions.py -${PYSITELIB}/hy/lex/exceptions.pyc -${PYSITELIB}/hy/lex/exceptions.pyo -${PYSITELIB}/hy/lex/lexer.py -${PYSITELIB}/hy/lex/lexer.pyc -${PYSITELIB}/hy/lex/lexer.pyo -${PYSITELIB}/hy/lex/parser.py -${PYSITELIB}/hy/lex/parser.pyc -${PYSITELIB}/hy/lex/parser.pyo ${PYSITELIB}/hy/macros.py ${PYSITELIB}/hy/macros.pyc ${PYSITELIB}/hy/macros.pyo @@ -75,6 +53,28 @@ ${PYSITELIB}/hy/model_patterns.pyo ${PYSITELIB}/hy/models.py ${PYSITELIB}/hy/models.pyc ${PYSITELIB}/hy/models.pyo +${PYSITELIB}/hy/pyops.hy +${PYSITELIB}/hy/pyops.pyc +${PYSITELIB}/hy/reader/__init__.py +${PYSITELIB}/hy/reader/__init__.pyc +${PYSITELIB}/hy/reader/__init__.pyo +${PYSITELIB}/hy/reader/exceptions.py +${PYSITELIB}/hy/reader/exceptions.pyc +${PYSITELIB}/hy/reader/exceptions.pyo +${PYSITELIB}/hy/reader/hy_reader.py +${PYSITELIB}/hy/reader/hy_reader.pyc +${PYSITELIB}/hy/reader/hy_reader.pyo +${PYSITELIB}/hy/reader/mangling.py +${PYSITELIB}/hy/reader/mangling.pyc +${PYSITELIB}/hy/reader/mangling.pyo +${PYSITELIB}/hy/reader/reader.py +${PYSITELIB}/hy/reader/reader.pyc +${PYSITELIB}/hy/reader/reader.pyo +${PYSITELIB}/hy/reserved.hy +${PYSITELIB}/hy/reserved.pyc +${PYSITELIB}/hy/scoping.py +${PYSITELIB}/hy/scoping.pyc +${PYSITELIB}/hy/scoping.pyo ${PYSITELIB}/hy/version.py ${PYSITELIB}/hy/version.pyc ${PYSITELIB}/hy/version.pyo Index: pkgsrc/lang/py-hy/distinfo diff -u pkgsrc/lang/py-hy/distinfo:1.9 pkgsrc/lang/py-hy/distinfo:1.10 --- pkgsrc/lang/py-hy/distinfo:1.9 Tue Oct 26 10:51:49 2021 +++ pkgsrc/lang/py-hy/distinfo Sat Nov 26 19:53:38 2022 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2021/10/26 10:51:49 nia Exp $ +$NetBSD: distinfo,v 1.10 2022/11/26 19:53:38 adam Exp $ -BLAKE2s (hy-0.20.0.tar.gz) = 7c781059f6ded1886a340c40e37073fa246f0c7410f27fc8ce018b4833d3a9a9 -SHA512 (hy-0.20.0.tar.gz) = f6a3ea45589d090c2b142b53c26c3d81f26b02c40f6ad0b875196c24ac7de3dd869b0575ce40e1f146512fb90a7ce8508810dd58d6514569ea682e7a3af39685 -Size (hy-0.20.0.tar.gz) = 90040 bytes -SHA1 (patch-setup.py) = dc39e78039b408334f6f126730492355148e45c8 +BLAKE2s (hy-0.25.0.tar.gz) = 7bf2406a7930f305f8140eef7579437867316d0ec5e453e1fc6febd95fe4fa2b +SHA512 (hy-0.25.0.tar.gz) = 561ea43d94caaf74990fd01b6ec9a0e4bd5278b26a5b892ab126e48138aafdba158cf315d20dace613b805760f6764c47410e58e6d517db31ad6960b900a3d18 +Size (hy-0.25.0.tar.gz) = 97130 bytes +SHA1 (patch-setup.py) = 693bbf4d339f28f47590e9996d9126b689668adb Index: pkgsrc/lang/py-hy/patches/patch-setup.py diff -u pkgsrc/lang/py-hy/patches/patch-setup.py:1.2 pkgsrc/lang/py-hy/patches/patch-setup.py:1.3 --- pkgsrc/lang/py-hy/patches/patch-setup.py:1.2 Fri Feb 23 07:03:09 2018 +++ pkgsrc/lang/py-hy/patches/patch-setup.py Sat Nov 26 19:53:38 2022 @@ -1,16 +1,14 @@ -$NetBSD: patch-setup.py,v 1.2 2018/02/23 07:03:09 adam Exp $ +$NetBSD: patch-setup.py,v 1.3 2022/11/26 19:53:38 adam Exp $ Do not install get_version.py; it is needed only for setup.py. ---- setup.py.orig 2018-02-08 22:05:16.000000000 +0000 +--- setup.py.orig 2022-08-30 17:28:07.000000000 +0000 +++ setup.py -@@ -57,9 +57,6 @@ setup( - 'hy.core': ['*.hy', '__pycache__/*'], - 'hy.extra': ['*.hy', '__pycache__/*'], +@@ -60,7 +60,6 @@ setup( + package_data={ + "": ["*.hy"], }, -- data_files=[ -- ('get_version', ['get_version.py']) -- ], +- data_files=[("get_version", ["get_version.py"])], author="Paul Tagliamonte", author_email="tag@pault.ag", long_description=long_description, --_----------=_1669492418229530--