Up to [cvs.NetBSD.org] / pkgsrc / devel / bpython
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
bpython: adapt for setuptools 78 Bump PKGREVISION.
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.
bpython: man pages are not built with latest sphinx I don't know why, but it seems consistent, so just remove them from the PLIST for now. Proper fix welcome, of course! Bump PKGREVISION.
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.
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.
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.
BPython installs man-pages when it finds Sphinx being installed in the system. Now, Sphinx has been added as build dependency to always make the man-pages.
Also depend on py-babel to get translations
Changes 0.16 New features: * 466: Improve handling of completion box height. Fixes: * Fix various spelling mistakes. * 601: Fix Python 2 issues on Windows. * 614: Fix issues when view source. * 625: Fix issues when runnings scripts with non-ASCII characters. * 639: Fix compatbility issues with pdb++. Support for Python 2.6 has been dropped.
Initial import of bpython, version 0.12, into the NetBSD Packages Collection. bpython is a fancy interface to the Python interpreter for Linux, BSD, OS X and Windows (with some work). bpython is released under the MIT License. It has the following (special) features: * In-line syntax highlighting. * Readline-like autocomplete with suggestions displayed as you type. * Expected parameter list for any Python function. * "Rewind" function to pop the last line of code from memory and re-evaluate. * Send the code you've entered off to a pastebin. * Save the code you've entered to a file. * Auto-indentation. * Python 3 support.