pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/bpython



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan 17 19:21:09 UTC 2025

Modified Files:
        pkgsrc/devel/bpython: Makefile PLIST distinfo
        pkgsrc/devel/bpython/patches: patch-setup.py

Log Message:
bpython: updated to 0.25

0.25

General information:

* The `bpython-cli` rendering backend has been removed following deprecation in
  version 0.19.
* This release is focused on Python 3.13 support.

New features:

Fixes:

* Fix __signature__ support
  Thanks to gpotter2
* Fix handling of `SystemExit`
* Improve order of completion results
  Thanks to gpotter2
* Fix build of documentation and manpages with Sphinx >= 7
* Do not fail if modules don't have __version__

Changes to dependencies:

* Remove use of distutils
  Thanks to Anderson Bravalheri

Support for Python 3.12 and 3.13 has been added. Support for Python 3.7 and 3.8 has been dropped.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/bpython/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/bpython/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/bpython/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/bpython/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/devel/bpython/Makefile
diff -u pkgsrc/devel/bpython/Makefile:1.43 pkgsrc/devel/bpython/Makefile:1.44
--- pkgsrc/devel/bpython/Makefile:1.43  Mon Oct 14 06:45:35 2024
+++ pkgsrc/devel/bpython/Makefile       Fri Jan 17 19:21:09 2025
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2024/10/14 06:45:35 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2025/01/17 19:21:09 adam Exp $
 
-DISTNAME=      bpython-0.24
-PKGREVISION=   3
+DISTNAME=      bpython-0.25
 CATEGORIES=    devel python
-MASTER_SITES=  https://bpython-interpreter.org/releases/
+MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bpython/}
 
 MAINTAINER=    imil%NetBSD.org@localhost
 HOMEPAGE=      https://bpython-interpreter.org/
@@ -12,6 +11,7 @@ LICENSE=      mit
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-babel-[0-9]*:../../devel/py-babel
 TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=62.4.0:../../devel/py-setuptools
 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
@@ -22,11 +22,14 @@ DEPENDS+=   ${PYPKGPREFIX}-xdg-[0-9]*:../.
 
 USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
-
 PYTHON_VERSIONS_INCOMPATIBLE=  39 # py-sphinx
 
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
+.endif
+
 .include "../../lang/python/batteries-included.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.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.8 pkgsrc/devel/bpython/PLIST:1.9
--- pkgsrc/devel/bpython/PLIST:1.8      Sun May  7 12:46:39 2023
+++ pkgsrc/devel/bpython/PLIST  Fri Jan 17 19:21:09 2025
@@ -1,14 +1,13 @@
-@comment $NetBSD: PLIST,v 1.8 2023/05/07 12:46:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2025/01/17 19:21:09 adam Exp $
 bin/bpdb
 bin/bpython
-bin/bpython-curses
 bin/bpython-urwid
-${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}/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}/bpdb/__init__.py
 ${PYSITELIB}/bpdb/__init__.pyc
 ${PYSITELIB}/bpdb/__init__.pyo
@@ -39,9 +38,6 @@ ${PYSITELIB}/bpython/args.pyo
 ${PYSITELIB}/bpython/autocomplete.py
 ${PYSITELIB}/bpython/autocomplete.pyc
 ${PYSITELIB}/bpython/autocomplete.pyo
-${PYSITELIB}/bpython/cli.py
-${PYSITELIB}/bpython/cli.pyc
-${PYSITELIB}/bpython/cli.pyo
 ${PYSITELIB}/bpython/config.py
 ${PYSITELIB}/bpython/config.pyc
 ${PYSITELIB}/bpython/config.pyo
@@ -216,14 +212,11 @@ ${PYSITELIB}/bpython/test/test_simpleeva
 ${PYSITELIB}/bpython/translations/__init__.py
 ${PYSITELIB}/bpython/translations/__init__.pyc
 ${PYSITELIB}/bpython/translations/__init__.pyo
-${PYSITELIB}/bpython/translations/de/LC_MESSAGES/bpython.mo
-${PYSITELIB}/bpython/translations/es_ES/LC_MESSAGES/bpython.mo
-${PYSITELIB}/bpython/translations/fr_FR/LC_MESSAGES/bpython.mo
-${PYSITELIB}/bpython/translations/it_IT/LC_MESSAGES/bpython.mo
-${PYSITELIB}/bpython/translations/nl_NL/LC_MESSAGES/bpython.mo
 ${PYSITELIB}/bpython/urwid.py
 ${PYSITELIB}/bpython/urwid.pyc
 ${PYSITELIB}/bpython/urwid.pyo
+man/man1/bpython.1
+man/man5/bpython-config.5
 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.12 pkgsrc/devel/bpython/distinfo:1.13
--- pkgsrc/devel/bpython/distinfo:1.12  Thu Feb  2 13:16:02 2023
+++ pkgsrc/devel/bpython/distinfo       Fri Jan 17 19:21:09 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2023/02/02 13:16:02 adam Exp $
+$NetBSD: distinfo,v 1.13 2025/01/17 19:21:09 adam Exp $
 
-BLAKE2s (bpython-0.24.tar.gz) = 1b136f02bbd24284968f157bd4348ccf4dc4d51a4e9e308f6b8c9b75a5903c06
-SHA512 (bpython-0.24.tar.gz) = f95e853ad5aaba476cf0bcc197ae1d322af4a458637f8445372b54b75d315d3caae7a3f8b7d8c6d1bd2c4307c36b21cf320b22c367990bd0b9bfbf42a5e02267
-Size (bpython-0.24.tar.gz) = 222879 bytes
-SHA1 (patch-setup.py) = 9caba0004771928676c7d0d4f7c0594f8ba6934a
+BLAKE2s (bpython-0.25.tar.gz) = 824515173111c23205cefb7aac7d3655d4342514892f92109629a30e3e31f74e
+SHA512 (bpython-0.25.tar.gz) = 052a84666e5e559a883964d8eb41a1ed8c704a9760799cdbe98d7fdcd8060815b5d7b26e7589a56735f91c1f1214b1cdf17ad30d6bed34a506233d2d9e0bbd2c
+Size (bpython-0.25.tar.gz) = 207610 bytes
+SHA1 (patch-setup.py) = 91556c573d3ec9acf39628030f0534497dba5452

Index: pkgsrc/devel/bpython/patches/patch-setup.py
diff -u pkgsrc/devel/bpython/patches/patch-setup.py:1.3 pkgsrc/devel/bpython/patches/patch-setup.py:1.4
--- pkgsrc/devel/bpython/patches/patch-setup.py:1.3     Sat Mar 20 15:14:48 2021
+++ pkgsrc/devel/bpython/patches/patch-setup.py Fri Jan 17 19:21:09 2025
@@ -1,11 +1,11 @@
-$NetBSD: patch-setup.py,v 1.3 2021/03/20 15:14:48 adam Exp $
+$NetBSD: patch-setup.py,v 1.4 2025/01/17 19:21:09 adam Exp $
 
 Use the same man directory across all platforms.
 
---- setup.py.orig      2021-01-25 08:13:17.000000000 +0000
+--- setup.py.orig      2025-01-17 09:32:25.000000000 +0000
 +++ setup.py
-@@ -141,10 +141,7 @@ if using_sphinx:
-     build.sub_commands.insert(0, ("build_sphinx_man", None))
+@@ -344,10 +344,7 @@ if using_sphinx:
+     cmdclass["build_sphinx"] = BuildDoc
      cmdclass["build_sphinx_man"] = BuildDoc
  
 -    if platform.system() in ("FreeBSD", "OpenBSD"):



Home | Main Index | Thread Index | Old Index