Received: by mail.netbsd.org (Postfix, from userid 605) id 63D7384D7B; Fri, 23 Feb 2018 07:03:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C85CE84D76 for ; Fri, 23 Feb 2018 07:03:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id xIwQ6prrHgNG for ; Fri, 23 Feb 2018 07:03:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B9C8D84C77 for ; Fri, 23 Feb 2018 07:03:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id AEE3BFB40; Fri, 23 Feb 2018 07:03:09 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1519369389203010" MIME-Version: 1.0 Date: Fri, 23 Feb 2018 07:03:09 +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: <20180223070309.AEE3BFB40@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. --_----------=_1519369389203010 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Fri Feb 23 07:03:09 UTC 2018 Modified Files: pkgsrc/lang/py-hy: Makefile distinfo pkgsrc/lang/py-hy/patches: patch-setup.py Log Message: py-hy: updated to 0.14.0 0.14.0 Removals * Python 3.3 is no longer supported * def is gone; use setv instead * apply is gone; use the new #* and #** syntax instead * yield-from is no longer supported under Python 2 * Periods are no longer allowed in keywords * Numeric literals can no longer begin with a comma or underscore * Literal Inf\s and NaN\s must now be capitalized like that Other Breaking Changes * Single-character "sharp macros" are now "tag macros", which can have longer names * xi from hy.extra.anaphoric is now a tag macro #% * eval is now a function instead of a special form New Features * The compiler now automatically promotes values to Hy model objects as necessary, so you can write (eval (+ 1 ~n)) instead of (eval (+ 1 ~(HyInteger n))) * return has been implemented as a special form * Added a form of string literal called "bracket strings" delimited by #[FOO[ and ]FOO], where FOO is customizable * Added support for PEP 492 (async and await) with fn/a, defn/a, with/a, and for/a * Added Python-style unpacking operators #* and #** (e.g., (f #* args #** kwargs)) * Added a macro comment * Added EDN #_ syntax to discard the next term * while loops may now contain an else clause, like for loops * #% works on any expression and has a new &kwargs parameter %** * Added a macro doc and a tag macro #doc * get is available as a function * ~@ (unquote-splice) form now accepts any false value as empty Bug Fixes * Relative imports (PEP 328) are now allowed * Numeric literals are no longer parsed as symbols when followed by a dot and a symbol * Hy now respects the environment variable PYTHONDONTWRITEBYTECODE * String literals should no longer be interpreted as special forms or macros * Tag macros (née sharp macros) whose names begin with ! are no longer mistaken for shebang lines * Fixed a bug where REPL history wasn't saved if you quit the REPL with (quit) or (exit) * exec now works under Python 2 * No TypeError from multi-arity defn returning values evaluating to None * try forms are now possible in defmacro and deftag * Multiple expressions are now allowed in try * Fixed a crash when macroexpand\ing a macro with a named import * Fixed a crash when with suppresses an exception. with now returns None in this case. * Fixed a crash when --repl-output-fn raises an exception * Fixed a crash when HyTypeError was raised with objects that had no source position * assoc now evaluates its arguments only once each * Multiple expressions are now allowed in the else clause of a for loop * else clauses in for and while are recognized more reliably * Statements in the condition of a while loop are repeated properly * Argument destructuring no longer interferes with function docstrings * Nullary yield-from is now a syntax error * break and continue now raise an error when given arguments instead of silently ignoring them Misc. Improvements * read, read_str, and eval are exposed and documented as top-level functions in the hy module * An experimental let macro has been added to hy.contrib.walk To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/py-hy/Makefile cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py-hy/distinfo cvs rdiff -u -r1.1 -r1.2 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. --_----------=_1519369389203010 Content-Disposition: inline Content-Length: 2790 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.7 pkgsrc/lang/py-hy/Makefile:1.8 --- pkgsrc/lang/py-hy/Makefile:1.7 Mon Dec 18 12:48:46 2017 +++ pkgsrc/lang/py-hy/Makefile Fri Feb 23 07:03:09 2018 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2017/12/18 12:48:46 adam Exp $ +# $NetBSD: Makefile,v 1.8 2018/02/23 07:03:09 adam Exp $ -DISTNAME= hy-0.13.0 +DISTNAME= hy-0.14.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= lang python MASTER_SITES= ${MASTER_SITE_PYPI:=h/hy/} @@ -10,9 +10,9 @@ HOMEPAGE= http://hylang.org/ COMMENT= Lisp and Python love each other LICENSE= mit -DEPENDS+= ${PYPKGPREFIX}-astor>=0.5:../../devel/py-astor +DEPENDS+= ${PYPKGPREFIX}-astor>=0.6:../../devel/py-astor DEPENDS+= ${PYPKGPREFIX}-clint>=0.4:../../devel/py-clint -DEPENDS+= ${PYPKGPREFIX}-rply>=0.7.0:../../devel/py-rply +DEPENDS+= ${PYPKGPREFIX}-rply>=0.7.5:../../devel/py-rply USE_LANGUAGES= # none Index: pkgsrc/lang/py-hy/distinfo diff -u pkgsrc/lang/py-hy/distinfo:1.4 pkgsrc/lang/py-hy/distinfo:1.5 --- pkgsrc/lang/py-hy/distinfo:1.4 Mon Dec 18 12:48:46 2017 +++ pkgsrc/lang/py-hy/distinfo Fri Feb 23 07:03:09 2018 @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2017/12/18 12:48:46 adam Exp $ +$NetBSD: distinfo,v 1.5 2018/02/23 07:03:09 adam Exp $ -SHA1 (hy-0.13.0.tar.gz) = 73f0b0dad931897e59c0ae9805095b8a0d828991 -RMD160 (hy-0.13.0.tar.gz) = 99f4ee0c49512c7758e98fbf910a0c456a656c22 -SHA512 (hy-0.13.0.tar.gz) = d0950351df2a2638c2675eb7924f3640df0805edec3059b934321c8d6cbc704d4c09aed21304a3171301d524826075f204c85799d90eb5d953fb0945229cabcf -Size (hy-0.13.0.tar.gz) = 64162 bytes -SHA1 (patch-setup.py) = bebcbc874d8afee305eb5bfa207d207c2eee4a85 +SHA1 (hy-0.14.0.tar.gz) = 6bdf18c39aeab76b37d02a6ce9e631499887784a +RMD160 (hy-0.14.0.tar.gz) = d260ea81f6b235267ce54bd95ec441b163ddfd27 +SHA512 (hy-0.14.0.tar.gz) = fd65ce96282a6c9c9149e2a6d0d06ff3fe05c55421c4b4f9fd29132e91e1012d266f4fcff48175b2d90cc40feee6eacfd165794edb63400b2aa0d75b5063d793 +Size (hy-0.14.0.tar.gz) = 71895 bytes +SHA1 (patch-setup.py) = dc39e78039b408334f6f126730492355148e45c8 Index: pkgsrc/lang/py-hy/patches/patch-setup.py diff -u pkgsrc/lang/py-hy/patches/patch-setup.py:1.1 pkgsrc/lang/py-hy/patches/patch-setup.py:1.2 --- pkgsrc/lang/py-hy/patches/patch-setup.py:1.1 Mon Dec 18 12:48:46 2017 +++ pkgsrc/lang/py-hy/patches/patch-setup.py Fri Feb 23 07:03:09 2018 @@ -1,8 +1,8 @@ -$NetBSD: patch-setup.py,v 1.1 2017/12/18 12:48:46 adam Exp $ +$NetBSD: patch-setup.py,v 1.2 2018/02/23 07:03:09 adam Exp $ Do not install get_version.py; it is needed only for setup.py. ---- setup.py.orig 2017-12-18 08:29:33.000000000 +0000 +--- setup.py.orig 2018-02-08 22:05:16.000000000 +0000 +++ setup.py @@ -57,9 +57,6 @@ setup( 'hy.core': ['*.hy', '__pycache__/*'], --_----------=_1519369389203010--