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: Sat Mar 20 15:14:48 UTC 2021
Modified Files:
pkgsrc/devel/bpython: Makefile PLIST distinfo
pkgsrc/devel/bpython/patches: patch-setup.py
Log Message:
bpython: updated to 0.21
0.21
General information:
* Support for Python 2 has been dropped.
New features:
* Provide bpython._version if built from Github tarballs
* Make import completion skip list configurable
* Check spelling with codespell
Fixes:
* Fix import completion of modules
* Replace remaining use of deprecated imp with importlib
* Upgrade curtsies version requirements
* State correct default config file directory
* Add more directories to the default import completion skip list
* Handle 'd' when mapping colors
* Avoid breakage with six's importer
Changes to dependencies:
* curtsies >= 0.3.5 is now required
* pyxdg is now required
* wcwidth has been replaced with cwcwidth
0.20.1
Fixes:
* Fix check of key code
0.20
General information:
* The next release of bpython (0.20) will drop support for Python 2.
* Support for Python 3.9 has been added. Support for Python 3.5 has been
dropped.
New features:
* Provide redo.
* Add support for importing namespace packages.
Fixes:
* Provide encoding attribute for FakeOutput.
* Prevent symbolic link loops in import completion.
* Support packages using importlib.metadata API.
* Fix support for Python 3.9's ast module.
* Fix cursor position with full-width characters.
* Fix invalid escape sequences.
0.19
General information:
* The bpython-cli and bpython-urwid rendering backends have been deprecated and
will show a warning that they'll be removed in a future release when started.
* Usage in combination with Python 2 has been deprecated. This does not mean that
support is dropped instantly but rather that at some point in the future we will
stop running our testcases against Python 2.
* The new pinnwand API is used for the pastebin functionality. We have dropped
two configuration options: `pastebin_show_url` and `pastebin_removal_url`. If
you have your bpython configured to run against an old version of `pinnwand`
please update it.
New features:
Fixes:
* Display correct signature for decorated functions.
* Protect get_args from user code exceptions
* Improve lock file handling on Windows
* Use importlib instead of deprecated imp when running under Python 3
Support for Python 3.8 has been added. Support for Python 3.4 has been dropped.
0.18
New features:
* expose globals in bpdb debugging.
Fixes:
* Fix file locking on Windows.
* Exit gracefully if config file fails to be loaded due to encoding errors.
* Fix newline handling.
* Fix exit code.
* Fix crash when matching certain lines in history.
Support for Python 3.3 has been dropped.
0.17.1
Fixes:
* Reverted 670 temporarily due to performance impact
on large strings being output.
0.17
New features:
* Implement Ctrl+O.
* Add default_autoreload config option.
Fixes:
* Fix deprecation warnings.
* Do not call signal outside of main thread.
* Fix option-backspace behavior.
* Fix paste helper.
* Handle docstrings more carefully.
* Do not modify history file during tests.
* Fix newline handling.
* Fix handling of ANSI escape codes.
* Fix encoding of jedi completions.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/bpython/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/bpython/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/bpython/distinfo
cvs rdiff -u -r1.2 -r1.3 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.27 pkgsrc/devel/bpython/Makefile:1.28
--- pkgsrc/devel/bpython/Makefile:1.27 Fri Dec 4 20:45:06 2020
+++ pkgsrc/devel/bpython/Makefile Sat Mar 20 15:14:48 2021
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2020/12/04 20:45:06 nia Exp $
+# $NetBSD: Makefile,v 1.28 2021/03/20 15:14:48 adam Exp $
-DISTNAME= bpython-0.16
-PKGREVISION= 4
-CATEGORIES= devel
+DISTNAME= bpython-0.21
+CATEGORIES= devel python
MASTER_SITES= https://bpython-interpreter.org/releases/
MAINTAINER= imil%NetBSD.org@localhost
@@ -10,23 +9,21 @@ HOMEPAGE= https://bpython-interpreter.or
COMMENT= Fancy interface to the Python interpreter
LICENSE= mit
-USE_LANGUAGES= # none
-
-DEPENDS+= ${PYPKGPREFIX}-babel-[0-9]*:../../devel/py-babel
+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.1.18:../../devel/py-curtsies
+DEPENDS+= ${PYPKGPREFIX}-curtsies>=0.3.5:../../devel/py-curtsies
DEPENDS+= ${PYPKGPREFIX}-greenlet-[0-9]*:../../devel/py-greenlet
-DEPENDS+= ${PYPKGPREFIX}-pygments>=1.6:../../textproc/py-pygments
+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}-six-[0-9]*:../../lang/py-six
-DEPENDS+= ${PYPKGPREFIX}-urwid>=0.9.9.1:../../devel/py-urwid
+DEPENDS+= ${PYPKGPREFIX}-urwid-[0-9]*:../../devel/py-urwid
+DEPENDS+= ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
+
+USE_LANGUAGES= # none
-# to generate man pages
-PYTHON_VERSIONED_DEPENDENCIES= sphinx:build
+PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.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.4 pkgsrc/devel/bpython/PLIST:1.5
--- pkgsrc/devel/bpython/PLIST:1.4 Thu May 25 06:38:44 2017
+++ pkgsrc/devel/bpython/PLIST Sat Mar 20 15:14:48 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/05/25 06:38:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/03/20 15:14:48 adam Exp $
bin/bpdb
bin/bpython
bin/bpython-curses
@@ -27,9 +27,6 @@ ${PYSITELIB}/bpython/__main__.pyo
${PYSITELIB}/bpython/_internal.py
${PYSITELIB}/bpython/_internal.pyc
${PYSITELIB}/bpython/_internal.pyo
-${PYSITELIB}/bpython/_py3compat.py
-${PYSITELIB}/bpython/_py3compat.pyc
-${PYSITELIB}/bpython/_py3compat.pyo
${PYSITELIB}/bpython/_version.py
${PYSITELIB}/bpython/_version.pyc
${PYSITELIB}/bpython/_version.pyo
@@ -130,9 +127,6 @@ ${PYSITELIB}/bpython/sample-config
${PYSITELIB}/bpython/simpleeval.py
${PYSITELIB}/bpython/simpleeval.pyc
${PYSITELIB}/bpython/simpleeval.pyo
-${PYSITELIB}/bpython/simplerepl.py
-${PYSITELIB}/bpython/simplerepl.pyc
-${PYSITELIB}/bpython/simplerepl.pyo
${PYSITELIB}/bpython/test/__init__.py
${PYSITELIB}/bpython/test/__init__.pyc
${PYSITELIB}/bpython/test/__init__.pyo
@@ -162,9 +156,6 @@ ${PYSITELIB}/bpython/test/test_args.pyo
${PYSITELIB}/bpython/test/test_autocomplete.py
${PYSITELIB}/bpython/test/test_autocomplete.pyc
${PYSITELIB}/bpython/test/test_autocomplete.pyo
-${PYSITELIB}/bpython/test/test_bpython.py
-${PYSITELIB}/bpython/test/test_bpython.pyc
-${PYSITELIB}/bpython/test/test_bpython.pyo
${PYSITELIB}/bpython/test/test_config.py
${PYSITELIB}/bpython/test/test_config.pyc
${PYSITELIB}/bpython/test/test_config.pyo
@@ -210,9 +201,6 @@ ${PYSITELIB}/bpython/test/test_line_prop
${PYSITELIB}/bpython/test/test_manual_readline.py
${PYSITELIB}/bpython/test/test_manual_readline.pyc
${PYSITELIB}/bpython/test/test_manual_readline.pyo
-${PYSITELIB}/bpython/test/test_pager.py
-${PYSITELIB}/bpython/test/test_pager.pyc
-${PYSITELIB}/bpython/test/test_pager.pyo
${PYSITELIB}/bpython/test/test_preprocess.py
${PYSITELIB}/bpython/test/test_preprocess.pyc
${PYSITELIB}/bpython/test/test_preprocess.pyo
@@ -235,6 +223,6 @@ ${PYSITELIB}/bpython/urwid.pyc
${PYSITELIB}/bpython/urwid.pyo
man/man1/bpython.1
man/man5/bpython-config.5
-share/appdata/bpython.appdata.xml
-share/applications/bpython.desktop
+share/appinfo/org.bpython-interpreter.bpython.appdata.xml
+share/applications/org.bpython-interpreter.bpython.desktop
share/pixmaps/bpython.png
Index: pkgsrc/devel/bpython/distinfo
diff -u pkgsrc/devel/bpython/distinfo:1.5 pkgsrc/devel/bpython/distinfo:1.6
--- pkgsrc/devel/bpython/distinfo:1.5 Tue Jun 27 23:33:08 2017
+++ pkgsrc/devel/bpython/distinfo Sat Mar 20 15:14:48 2021
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2017/06/27 23:33:08 wiedi Exp $
+$NetBSD: distinfo,v 1.6 2021/03/20 15:14:48 adam Exp $
-SHA1 (bpython-0.16.tar.gz) = 2acc00ac55f95a88ee0ba8b4ba55f111f1e15080
-RMD160 (bpython-0.16.tar.gz) = be0840b585b63f32ff4898aada76c51cd6ff9a8f
-SHA512 (bpython-0.16.tar.gz) = 1173d720aa679e4a6079c7febd36abbffa901604c99c6d1ce1e940a8fbcf8a4ba7bc526de0ef5290e3859a4384d1cd5cbef62fd9f056ddcb545b64d69d103a5b
-Size (bpython-0.16.tar.gz) = 201898 bytes
-SHA1 (patch-setup.py) = 5b60dae8c19e5e8fec40cc823b2b6919c7737964
+SHA1 (bpython-0.21.tar.gz) = 97c8d5f810841a90fa867845f2411de513002024
+RMD160 (bpython-0.21.tar.gz) = f2a4344a9efb586091c561b88fffac29bf3cb41a
+SHA512 (bpython-0.21.tar.gz) = a0eea1b9c2329ce5665456e99703ef476faab38f880eb8a330a6536970888cfdaada9f0e377d3c1acd8b6c79eb0c562ada43e82bac9df4cce5878594c3399ddf
+Size (bpython-0.21.tar.gz) = 208206 bytes
+SHA1 (patch-setup.py) = 9caba0004771928676c7d0d4f7c0594f8ba6934a
Index: pkgsrc/devel/bpython/patches/patch-setup.py
diff -u pkgsrc/devel/bpython/patches/patch-setup.py:1.2 pkgsrc/devel/bpython/patches/patch-setup.py:1.3
--- pkgsrc/devel/bpython/patches/patch-setup.py:1.2 Tue Jun 27 23:33:08 2017
+++ pkgsrc/devel/bpython/patches/patch-setup.py Sat Mar 20 15:14:48 2021
@@ -1,17 +1,17 @@
-$NetBSD: patch-setup.py,v 1.2 2017/06/27 23:33:08 wiedi Exp $
+$NetBSD: patch-setup.py,v 1.3 2021/03/20 15:14:48 adam Exp $
Use the same man directory across all platforms.
---- setup.py.orig 2016-10-10 19:21:11.000000000 +0000
+--- setup.py.orig 2021-01-25 08:13:17.000000000 +0000
+++ setup.py
-@@ -185,10 +185,7 @@ if using_sphinx:
- build.sub_commands.insert(0, ('build_sphinx_man', None))
- cmdclass['build_sphinx_man'] = BuildDocMan
+@@ -141,10 +141,7 @@ if using_sphinx:
+ build.sub_commands.insert(0, ("build_sphinx_man", None))
+ cmdclass["build_sphinx_man"] = BuildDoc
-- if platform.system() in ['FreeBSD', 'OpenBSD']:
-- man_dir = 'man'
+- if platform.system() in ("FreeBSD", "OpenBSD"):
+- man_dir = "man"
- else:
-- man_dir = 'share/man'
+- man_dir = "share/man"
+ man_dir = os.environ.get('PKGMANDIR', 'man')
# manual pages
Home |
Main Index |
Thread Index |
Old Index