Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 658A71A9239 for ; Mon, 8 Nov 2021 16:47:33 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id A1B7685CB6; Mon, 8 Nov 2021 16:47:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DC73A85C81 for ; Mon, 8 Nov 2021 16:47:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id rzHeYu4ptz8S for ; Mon, 8 Nov 2021 16:47:31 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 06B9884CFC for ; Mon, 8 Nov 2021 16:47:31 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 03E89FAEC; Mon, 8 Nov 2021 16:47:31 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1636390050272220" MIME-Version: 1.0 Date: Mon, 8 Nov 2021 16:47:30 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/bpython To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20211108164731.03E89FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1636390050272220 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Mon Nov 8 16:47:30 UTC 2021 Modified Files: pkgsrc/devel/bpython: Makefile PLIST distinfo Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/bpython/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/bpython/PLIST cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/bpython/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1636390050272220 Content-Disposition: inline Content-Length: 3671 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/bpython/Makefile diff -u pkgsrc/devel/bpython/Makefile:1.28 pkgsrc/devel/bpython/Makefile:1.29 --- pkgsrc/devel/bpython/Makefile:1.28 Sat Mar 20 15:14:48 2021 +++ pkgsrc/devel/bpython/Makefile Mon Nov 8 16:47:30 2021 @@ -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- 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" Index: pkgsrc/devel/bpython/PLIST diff -u pkgsrc/devel/bpython/PLIST:1.5 pkgsrc/devel/bpython/PLIST:1.6 --- pkgsrc/devel/bpython/PLIST:1.5 Sat Mar 20 15:14:48 2021 +++ pkgsrc/devel/bpython/PLIST Mon Nov 8 16:47:30 2021 @@ -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 Index: pkgsrc/devel/bpython/distinfo diff -u pkgsrc/devel/bpython/distinfo:1.8 pkgsrc/devel/bpython/distinfo:1.9 --- pkgsrc/devel/bpython/distinfo:1.8 Tue Oct 26 10:14:20 2021 +++ pkgsrc/devel/bpython/distinfo Mon Nov 8 16:47:30 2021 @@ -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 --_----------=_1636390050272220--