pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/py-hy



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Oct 13 09:45:39 UTC 2026

Modified Files:
        pkgsrc/lang/py-hy: Makefile distinfo

Log Message:
py-hy: update to 1.3.1.

1.3.1 ("Eyes in the Sky", released 2026-07-31)
======================================================================

Supports Python 3.9 – Python 3.15

Bug Fixes
------------------------------
* Fixed a regression in Hy 1.3.0 that could prevent imports of Python
  code in ZIP archives.
* Calls to ``None`` such as ``((setv x 1) 2)`` are now correctly
  compiled (they're still a runtime error, as they ought to be).

Misc. Improvements
------------------------------
* Fake filenames shown for errors in the REPL are now shorter.

1.3.0 ("Dogs Should Be Raw", released 2026-05-24)
======================================================================

Supports Python 3.9 – Python 3.15

New Features
------------------------------
* Added t-strings, and a pragma `bracketed-templates`.
* Unpacking is now supported in comprehensions (PEP 798), even on
  Pythons < 3.15.
* `(import :lazy …)` is allowed on Pythons ≥ 3.15 (PEP 810).
* Added `hy-repr`\s for `Template`, `Interpolation`, and `frozendict`.
* `hyc` has a new command-line option `--quiet`.

Bug Fixes
------------------------------
* Invalid conversion characters in f-strings now properly raise a
  syntax error.
* Variables set by `(except …)` are now properly scoped.
* Fixed a crash when using `require` in `hy.eval`.
* Fixed some compilation failures for asynchronous comprehension forms.
* Fixed the error message for using `except*` on Pythons < 3.11.
* More model types (`String`, `Bytes`, `Symbol`, `Integer`, `Float`,
  `Complex`) now work properly with `match`.
* Fixed a bug that could cause `py_compile.compile` to read Hy as Python.
* Fixed bugs in `hy.model-patterns.whole` (and other combinators that
  use it, like `brackets`) in which tuples were not always produced.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/py-hy/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/py-hy/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/py-hy/Makefile
diff -u pkgsrc/lang/py-hy/Makefile:1.22 pkgsrc/lang/py-hy/Makefile:1.23
--- pkgsrc/lang/py-hy/Makefile:1.22     Mon Apr 27 10:22:49 2026
+++ pkgsrc/lang/py-hy/Makefile  Tue Oct 13 09:45:39 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2026/04/27 10:22:49 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2026/10/13 09:45:39 wiz Exp $
 
-DISTNAME=      hy-1.2.0
+DISTNAME=      hy-1.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hy/}
 
@@ -16,11 +15,10 @@ DEPENDS+=   ${PYPKGPREFIX}-funcparserlib>=
 
 USE_LANGUAGES= # none
 
-post-install:
-.for bin in hy hy2py hyc
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
+PY_RENAME_BINARIES=    hy hy2py hyc
+
+# as of 1.3.1
+# 36 failed, 78 passed
 
 pre-test:
        ${TOUCH} ${WRKSRC}/tests/__init__.py

Index: pkgsrc/lang/py-hy/distinfo
diff -u pkgsrc/lang/py-hy/distinfo:1.14 pkgsrc/lang/py-hy/distinfo:1.15
--- pkgsrc/lang/py-hy/distinfo:1.14     Wed Jan 14 18:51:59 2026
+++ pkgsrc/lang/py-hy/distinfo  Tue Oct 13 09:45:39 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2026/01/14 18:51:59 adam Exp $
+$NetBSD: distinfo,v 1.15 2026/10/13 09:45:39 wiz Exp $
 
-BLAKE2s (hy-1.2.0.tar.gz) = 73b8ac5609f076bb040587ad0e6e9694ff171fdd6a7bf3dbd16d21266c426f91
-SHA512 (hy-1.2.0.tar.gz) = 32ced8014ec6b15d63687584b503bd277e604046b4e9772b5c7c31bba057e747ba7a606d2154d1dc38e86ae7225b00003da30f3c6b53ef587a227a07b2e23163
-Size (hy-1.2.0.tar.gz) = 124575 bytes
+BLAKE2s (hy-1.3.1.tar.gz) = 4296735dfe5ffc42e79f7f91a551b6dd59f41c71337179ff6af98cd47baa406e
+SHA512 (hy-1.3.1.tar.gz) = 7e0eddf02c7921a6cf65a70d3d9a32a32a6241f179978d30710fce33f5defa86fe52806d890e015cd90246cf3c17c6b4b379a9854fdae585a5918cd86c0fa48e
+Size (hy-1.3.1.tar.gz) = 126935 bytes



Home | Main Index | Thread Index | Old Index