pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/bpython bpython: updated to 0.23



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f004fca8334
branches:  trunk
changeset: 385356:9f004fca8334
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Sep 15 17:55:32 2022 +0000

description:
bpython: updated to 0.23

0.23
----

General information:

* More and more type annotations have been added to the bpython code base.
* Some work has been performed to stop relying on blessings.

New features:

* Auto-closing brackets option added. To enable, add `brackets_completion = True` in the bpython config
  Thanks to samuelgregorovic

Fixes:

* Improve handling of SyntaxErrors
* Fix crash on Ctrl-Z
* Fix tests for Python 3.10.1 and newer
* Handle optional `readline` parameters in `stdin` emulation
* Fix handling of `__name__`
* Fix function signature completion for `classmethod`s

Changes to dependencies:

* curtsies 0.4 or newer is now required

Support for Python 3.6 has been dropped.

diffstat:

 devel/bpython/Makefile |  9 ++++-----
 devel/bpython/PLIST    |  8 +++++++-
 devel/bpython/distinfo |  8 ++++----
 3 files changed, 15 insertions(+), 10 deletions(-)

diffs (79 lines):

diff -r 7c8051fa0558 -r 9f004fca8334 devel/bpython/Makefile
--- a/devel/bpython/Makefile    Thu Sep 15 17:53:47 2022 +0000
+++ b/devel/bpython/Makefile    Thu Sep 15 17:55:32 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2022/06/30 11:18:11 nia Exp $
+# $NetBSD: Makefile,v 1.35 2022/09/15 17:55:32 adam Exp $
 
-DISTNAME=      bpython-0.22.1
-PKGREVISION=   3
+DISTNAME=      bpython-0.23
 CATEGORIES=    devel python
 MASTER_SITES=  https://bpython-interpreter.org/releases/
 
@@ -13,13 +12,12 @@
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-babel-[0-9]*:../../devel/py-babel
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
 DEPENDS+=      ${PYPKGPREFIX}-curses>=0nb4:../../devel/py-curses
-DEPENDS+=      ${PYPKGPREFIX}-curtsies>=0.3.5:../../devel/py-curtsies
+DEPENDS+=      ${PYPKGPREFIX}-curtsies>=0.4.0:../../devel/py-curtsies
 DEPENDS+=      ${PYPKGPREFIX}-cwcwidth-[0-9]*:../../devel/py-cwcwidth
 DEPENDS+=      ${PYPKGPREFIX}-greenlet-[0-9]*:../../devel/py-greenlet
 DEPENDS+=      ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
 DEPENDS+=      ${PYPKGPREFIX}-readline>=0nb2:../../devel/py-readline
 DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
 DEPENDS+=      ${PYPKGPREFIX}-urwid-[0-9]*:../../devel/py-urwid
 DEPENDS+=      ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
 
@@ -32,6 +30,7 @@
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} < 38
 DEPENDS+=      ${PYPKGPREFIX}-backports.cached-property-[0-9]*:../../devel/py-backports.cached-property
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
 .endif
 
 .include "../../lang/python/egg.mk"
diff -r 7c8051fa0558 -r 9f004fca8334 devel/bpython/PLIST
--- a/devel/bpython/PLIST       Thu Sep 15 17:53:47 2022 +0000
+++ b/devel/bpython/PLIST       Thu Sep 15 17:55:32 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2021/11/08 16:47:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/09/15 17:55:32 adam Exp $
 bin/bpdb
 bin/bpython
 bin/bpython-curses
@@ -27,6 +27,9 @@
 ${PYSITELIB}/bpython/_internal.py
 ${PYSITELIB}/bpython/_internal.pyc
 ${PYSITELIB}/bpython/_internal.pyo
+${PYSITELIB}/bpython/_typing_compat.py
+${PYSITELIB}/bpython/_typing_compat.pyc
+${PYSITELIB}/bpython/_typing_compat.pyo
 ${PYSITELIB}/bpython/_version.py
 ${PYSITELIB}/bpython/_version.pyc
 ${PYSITELIB}/bpython/_version.pyo
@@ -153,6 +156,9 @@
 ${PYSITELIB}/bpython/test/test_autocomplete.py
 ${PYSITELIB}/bpython/test/test_autocomplete.pyc
 ${PYSITELIB}/bpython/test/test_autocomplete.pyo
+${PYSITELIB}/bpython/test/test_brackets_completion.py
+${PYSITELIB}/bpython/test/test_brackets_completion.pyc
+${PYSITELIB}/bpython/test/test_brackets_completion.pyo
 ${PYSITELIB}/bpython/test/test_config.py
 ${PYSITELIB}/bpython/test/test_config.pyc
 ${PYSITELIB}/bpython/test/test_config.pyo
diff -r 7c8051fa0558 -r 9f004fca8334 devel/bpython/distinfo
--- a/devel/bpython/distinfo    Thu Sep 15 17:53:47 2022 +0000
+++ b/devel/bpython/distinfo    Thu Sep 15 17:55:32 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2021/11/09 10:12:36 adam Exp $
+$NetBSD: distinfo,v 1.11 2022/09/15 17:55:32 adam Exp $
 
-BLAKE2s (bpython-0.22.1.tar.gz) = 3e628fd1102fc867fd286ebda11bb67483a84217249bfc9445f28bcfb7f41d2c
-SHA512 (bpython-0.22.1.tar.gz) = 6b29235c41b645c3658812b8c80637d1e76029a6386f8628e5c681b2f3fdea653f89a12f4e28f55381464755e04fa7a33f023f096e75d889d5a588222c0d06c3
-Size (bpython-0.22.1.tar.gz) = 217294 bytes
+BLAKE2s (bpython-0.23.tar.gz) = 0fa5d47f2bcd131c6428dc15e5a117211195c1b44fddce27c8410dfc3385e818
+SHA512 (bpython-0.23.tar.gz) = b25b68a690b838fef0c5dbb05565db4373ebb3611278b9f94db792ef25a43f59e3e9b7ac1ad0f571ae442948748b6c5e28888c6aa0f592cdf8499223cfded217
+Size (bpython-0.23.tar.gz) = 222241 bytes
 SHA1 (patch-setup.py) = 9caba0004771928676c7d0d4f7c0594f8ba6934a



Home | Main Index | Thread Index | Old Index