summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-11-08 16:47:30 +0000
committeradam <adam@pkgsrc.org>2021-11-08 16:47:30 +0000
commit5305956d07913ee150cc83d9587b9bd179ce7ee2 (patch)
tree12257592fb1c73750fc45bcafb2de3cd28cdf171
parent5ce87edea22a67d3216f578b3ee0cd40af7b882c (diff)
downloadpkgsrc-5305956d07913ee150cc83d9587b9bd179ce7ee2.tar.gz
bpython: updated to 0.22
0.22 ---- General information: * The #bpython channel has moved to OFTC. * Type annotations have been added to the bpython code base. * Declarative build configuration is used as much as possible. New features: * Allow auto-completion to be disabled * Respect locals when using bpython.embed * Use pyperclip for better clipboard handling Fixes: * Fix writing of b"" on fake stdout * Iterate over all completers until a successful one is found * Handle errors in theme configuration without crashing * Read PYTHONSTARTUP with utf8 as encoding * Use default sys.ps1 and sys.ps2 if user specified ones are not usable * Do not crash when encountering unreadable files while processing modules for import completion * Fix sys.stdin.readline * Fix tab completion for dict keys * Replicate python behavior when running with -i and a non-existing file * Fix handling of __signature__ for completion. Thanks to gpotter2 Changes to dependencies: * pyperclip is a new optional dependency for clipboard support * backports.cached-property is now required for Python < 3.8 * dataclasses is now required for Python < 3.7 Support for Python 3.10 has been added.
-rw-r--r--devel/bpython/Makefile13
-rw-r--r--devel/bpython/PLIST7
-rw-r--r--devel/bpython/distinfo8
3 files changed, 17 insertions, 11 deletions
diff --git a/devel/bpython/Makefile b/devel/bpython/Makefile
index 10b931c0100..50fc6ab8615 100644
--- a/devel/bpython/Makefile
+++ b/devel/bpython/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2021/03/20 15:14:48 adam Exp $
+# $NetBSD: Makefile,v 1.29 2021/11/08 16:47:30 adam Exp $
-DISTNAME= bpython-0.21
+DISTNAME= bpython-0.22
CATEGORIES= devel python
MASTER_SITES= https://bpython-interpreter.org/releases/
@@ -13,6 +13,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-babel-[0-9]*:../../devel/py-babel
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-curses>=0nb4:../../devel/py-curses
DEPENDS+= ${PYPKGPREFIX}-curtsies>=0.3.5:../../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
@@ -24,6 +25,14 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 37
+DEPENDS+= ${PYPKGPREFIX}-dataclasses-[0-9]*:../../devel/py-dataclasses
+.endif
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+= ${PYPKGPREFIX}-backports.cached-property-[0-9]*:../../devel/py-backports.cached-property
+.endif
+
.include "../../lang/python/egg.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/bpython/PLIST b/devel/bpython/PLIST
index a300537794d..7888448f47c 100644
--- a/devel/bpython/PLIST
+++ b/devel/bpython/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2021/03/20 15:14:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/11/08 16:47:30 adam Exp $
bin/bpdb
bin/bpython
bin/bpython-curses
@@ -39,9 +39,6 @@ ${PYSITELIB}/bpython/autocomplete.pyo
${PYSITELIB}/bpython/cli.py
${PYSITELIB}/bpython/cli.pyc
${PYSITELIB}/bpython/cli.pyo
-${PYSITELIB}/bpython/clipboard.py
-${PYSITELIB}/bpython/clipboard.pyc
-${PYSITELIB}/bpython/clipboard.pyo
${PYSITELIB}/bpython/config.py
${PYSITELIB}/bpython/config.pyc
${PYSITELIB}/bpython/config.pyo
@@ -223,6 +220,6 @@ ${PYSITELIB}/bpython/urwid.pyc
${PYSITELIB}/bpython/urwid.pyo
man/man1/bpython.1
man/man5/bpython-config.5
-share/appinfo/org.bpython-interpreter.bpython.appdata.xml
share/applications/org.bpython-interpreter.bpython.desktop
+share/metainfo/org.bpython-interpreter.bpython.metainfo.xml
share/pixmaps/bpython.png
diff --git a/devel/bpython/distinfo b/devel/bpython/distinfo
index 51b375a1ee3..372185b402f 100644
--- a/devel/bpython/distinfo
+++ b/devel/bpython/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 10:14:20 nia Exp $
+$NetBSD: distinfo,v 1.9 2021/11/08 16:47:30 adam Exp $
-BLAKE2s (bpython-0.21.tar.gz) = f70dca09c9871131056d4a6a758717f2ecb7af16ffea6fb48191a5d129ca9ac9
-SHA512 (bpython-0.21.tar.gz) = a0eea1b9c2329ce5665456e99703ef476faab38f880eb8a330a6536970888cfdaada9f0e377d3c1acd8b6c79eb0c562ada43e82bac9df4cce5878594c3399ddf
-Size (bpython-0.21.tar.gz) = 208206 bytes
+BLAKE2s (bpython-0.22.tar.gz) = bbc0faca4993791af86435d57d57a53e71ddba82686de680ffc6d0338417ea62
+SHA512 (bpython-0.22.tar.gz) = 14f275c5ed9de08223020a6c70b466507236e84ee9c3dd60d51bb8b1908e943071f54acc68c611fbd64f28f283306a7ea2b6bde0b475fda528cb5e0cf9872b28
+Size (bpython-0.22.tar.gz) = 217214 bytes
SHA1 (patch-setup.py) = 9caba0004771928676c7d0d4f7c0594f8ba6934a