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:   adam
Date:           Mon Jun 10 05:56:54 UTC 2024

Modified Files:
        pkgsrc/lang/py-hy: Makefile PLIST distinfo
Removed Files:
        pkgsrc/lang/py-hy/patches: patch-setup.py

Log Message:
py-hy: updated to 0.29.0

0.29.0 (released 2024-05-20)
=============================

Removals
------------------------------
* `hy.disassemble` has been removed.
* `(defn/a …)` is now `(defn :async …)`.
* `(fn/a …)` is now `(fn :async …)`.
* `(with/a […] …)` is now `(with [:async …] …)`.

   * As with `for`, `:async` must precede each name to be bound
     asynchronously, because you can mix synchronous and asynchronous
     types.

* `(yield-from …)` is now `(yield :from …)`.

New Features
------------------------------
* You can now set `repl-ps1` and `repl-ps2` in your `HYSTARTUP` to customize
  `sys.ps1` and `sys.ps2` for the Hy REPL.

Bug Fixes
------------------------------
* Tracebacks now point to the correct code in more cases.
* `help` should no longer crash when objects are missing docstrings.
* `hy -i < script.hy` now executes `script.hy` inside the REPL environment,
  like Python.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/py-hy/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/py-hy/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/py-hy/distinfo
cvs rdiff -u -r1.3 -r0 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.

Modified files:

Index: pkgsrc/lang/py-hy/Makefile
diff -u pkgsrc/lang/py-hy/Makefile:1.14 pkgsrc/lang/py-hy/Makefile:1.15
--- pkgsrc/lang/py-hy/Makefile:1.14     Wed Mar 29 09:34:11 2023
+++ pkgsrc/lang/py-hy/Makefile  Mon Jun 10 05:56:53 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2023/03/29 09:34:11 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2024/06/10 05:56:53 adam Exp $
 
-DISTNAME=      hy-0.25.0
+DISTNAME=      hy-0.29.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hy/}
@@ -10,8 +10,8 @@ HOMEPAGE=     https://docs.hylang.org/
 COMMENT=       Lisp and Python love each other
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-DEPENDS+=      ${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama
 DEPENDS+=      ${PYPKGPREFIX}-funcparserlib>=1.0:../../devel/py-funcparserlib
 
 USE_LANGUAGES= # none
@@ -19,17 +19,15 @@ USE_LANGUAGES=      # none
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-
 .if ${PYTHON_VERSION} < 309
 DEPENDS+=      ${PYPKGPREFIX}-astor>=0.8:../../devel/py-astor
 .endif
 
 post-install:
+.for bin in hy hy2py hyc
        cd ${DESTDIR}${PREFIX}/bin && \
-               ${RM} hy[23] hy2py[23] hyc[23] && \
-               ${MV} hy hy-${PYVERSSUFFIX} && \
-               ${MV} hy2py hy2py-${PYVERSSUFFIX} && \
-               ${MV} hyc hyc-${PYVERSSUFFIX} || ${TRUE}
+       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/lang/py-hy/PLIST
diff -u pkgsrc/lang/py-hy/PLIST:1.6 pkgsrc/lang/py-hy/PLIST:1.7
--- pkgsrc/lang/py-hy/PLIST:1.6 Sat Nov 26 19:53:38 2022
+++ pkgsrc/lang/py-hy/PLIST     Mon Jun 10 05:56:53 2024
@@ -1,25 +1,26 @@
-@comment $NetBSD: PLIST,v 1.6 2022/11/26 19:53:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/06/10 05:56:53 adam Exp $
 bin/hy-${PYVERSSUFFIX}
 bin/hy2py-${PYVERSSUFFIX}
 bin/hyc-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/hy/__init__.py
 ${PYSITELIB}/hy/__init__.pyc
 ${PYSITELIB}/hy/__init__.pyo
 ${PYSITELIB}/hy/__main__.py
 ${PYSITELIB}/hy/__main__.pyc
 ${PYSITELIB}/hy/__main__.pyo
-${PYSITELIB}/hy/_compat.py
-${PYSITELIB}/hy/_compat.pyc
-${PYSITELIB}/hy/_compat.pyo
 ${PYSITELIB}/hy/cmdline.py
 ${PYSITELIB}/hy/cmdline.pyc
 ${PYSITELIB}/hy/cmdline.pyo
+${PYSITELIB}/hy/compat.py
+${PYSITELIB}/hy/compat.pyc
+${PYSITELIB}/hy/compat.pyo
 ${PYSITELIB}/hy/compiler.py
 ${PYSITELIB}/hy/compiler.pyc
 ${PYSITELIB}/hy/compiler.pyo
@@ -70,11 +71,9 @@ ${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/repl.py
+${PYSITELIB}/hy/repl.pyc
+${PYSITELIB}/hy/repl.pyo
 ${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.10 pkgsrc/lang/py-hy/distinfo:1.11
--- pkgsrc/lang/py-hy/distinfo:1.10     Sat Nov 26 19:53:38 2022
+++ pkgsrc/lang/py-hy/distinfo  Mon Jun 10 05:56:53 2024
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.10 2022/11/26 19:53:38 adam Exp $
+$NetBSD: distinfo,v 1.11 2024/06/10 05:56:53 adam Exp $
 
-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
+BLAKE2s (hy-0.29.0.tar.gz) = 1e04921ef43add12cb4eee5eed23d7cce4c5c13ed23286308b4e3e3c79366f5d
+SHA512 (hy-0.29.0.tar.gz) = 2bf038d887dec0ba1d68d59e97ef3be8f1f2d5464cfc41d2b05d65b8a7b3463a5ca76b41c9070247053ccdb9a9b073e559d35c3ba5fe9f310abc5a8d5861d615
+Size (hy-0.29.0.tar.gz) = 105921 bytes



Home | Main Index | Thread Index | Old Index