1
0

Compare commits

11 Commits

Author SHA256 Message Date
afd8db63d2 Accepting request 1319971 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1319971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bpython?expand=0&rev=21
2025-11-25 16:20:10 +00:00
5f3e207b4c - Remove unused BuildRequires: update-desktop-files.
- Explicitly add desktop-file-utils to BuildRequires.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=43
2025-11-25 12:05:40 +00:00
3190b92420 Accepting request 1315201 from devel:languages:python
- Update to 0.26:
  * Handle unspecified config paths
  * Align simple_eval with Python 3.10+
  * Make -q hide the welcome message
  * Convert sys.ps1 to a string to work-around non-str sys.ps1 from vscode
  * Support for Python 3.14 has been added. Support for Python 3.9 has been
    dropped.

OBS-URL: https://build.opensuse.org/request/show/1315201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bpython?expand=0&rev=20
2025-11-03 17:54:57 +00:00
8904ffa892 - Update to 0.26:
* Handle unspecified config paths
  * Align simple_eval with Python 3.10+
  * Make -q hide the welcome message
  * Convert sys.ps1 to a string to work-around non-str sys.ps1 from vscode
  * Support for Python 3.14 has been added. Support for Python 3.9 has been
    dropped.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=41
2025-11-03 00:01:39 +00:00
054c1092dc Accepting request 1286587 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1286587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bpython?expand=0&rev=19
2025-06-18 15:58:27 +00:00
11f9fe5bec - Fix libalternatives bpython-config man page
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=39
2025-06-18 08:56:07 +00:00
3f17b608e7 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=38
2025-06-17 09:04:25 +00:00
0fa368f688 Accepting request 1239455 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bpython?expand=0&rev=18
2025-01-22 15:37:42 +00:00
99534e7e95 - Update to version 0.25
* The `bpython-cli` rendering backend has been removed
    following deprecation in version 0.19.
  * This release is focused on Python 3.13 support.
  * Fix __signature__ support
  * #995: Fix handling of `SystemExit`
  * #996: Improve order of completion results
  * Fix build of documentation and manpages with Sphinx >= 7
  * #1001: Do not fail if modules don't have __version__
  * Remove use of distutils
  * Support for Python 3.12 and 3.13 has been added.
    Support for Python 3.7 and 3.8 has been dropped.
- Drop bpython-curses binary which was removed upstream
- Drop fix-python313-tests.patch, merged upstream
- Remove workaround for installing manpages from %install section

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=36
2025-01-22 09:10:24 +00:00
427f82314b Accepting request 1234716 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1234716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bpython?expand=0&rev=17
2025-01-03 13:18:10 +00:00
a8f69017bf - Add fix-python313-tests.patch to fix tests under Python 3.13
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=34
2025-01-03 11:04:50 +00:00
4 changed files with 67 additions and 26 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98736ffd7a8c48fd2bfb53d898a475f4241bde0b672125706af04d9d08fd3dbd
size 222879

3
bpython-0.26.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f79083e1e3723be9b49c9994ad1dd3a19ccb4d0d4f9a6f5b3a73bef8bc327433
size 207564

View File

@@ -1,3 +1,49 @@
-------------------------------------------------------------------
Mon Nov 24 13:29:59 UTC 2025 - Stanislav Brabec <sbrabec@suse.com>
- Remove unused BuildRequires: update-desktop-files.
- Explicitly add desktop-file-utils to BuildRequires.
-------------------------------------------------------------------
Mon Nov 3 00:00:40 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.26:
* Handle unspecified config paths
* Align simple_eval with Python 3.10+
* Make -q hide the welcome message
* Convert sys.ps1 to a string to work-around non-str sys.ps1 from vscode
* Support for Python 3.14 has been added. Support for Python 3.9 has been
dropped.
-------------------------------------------------------------------
Tue Jun 17 09:03:42 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue Jan 21 12:13:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.25
* The `bpython-cli` rendering backend has been removed
following deprecation in version 0.19.
* This release is focused on Python 3.13 support.
* Fix __signature__ support
* #995: Fix handling of `SystemExit`
* #996: Improve order of completion results
* Fix build of documentation and manpages with Sphinx >= 7
* #1001: Do not fail if modules don't have __version__
* Remove use of distutils
* Support for Python 3.12 and 3.13 has been added.
Support for Python 3.7 and 3.8 has been dropped.
- Drop bpython-curses binary which was removed upstream
- Drop fix-python313-tests.patch, merged upstream
- Remove workaround for installing manpages from %install section
-------------------------------------------------------------------
Thu Jan 2 16:18:30 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Add fix-python313-tests.patch to fix tests under Python 3.13
-------------------------------------------------------------------
Wed Jul 26 06:58:24 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-bpython
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
%bcond_without test
%bcond_without libalternatives
Name: python-bpython
Version: 0.24
Version: 0.26
Release: 0
Summary: Fancy Interface to the Python Interpreter
License: MIT
@@ -26,21 +27,22 @@ URL: https://www.bpython-interpreter.org/
Source: https://files.pythonhosted.org/packages/source/b/bpython/bpython-%{version}.tar.gz
BuildRequires: %{python_module Babel}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: python-rpm-macros
BuildRequires: update-desktop-files
Requires: %{name}-common = %{version}
Requires: alts
Requires: python-curtsies >= 0.4
Requires: python-greenlet
Requires: python-pygments
Requires: python-pyxdg
Requires: python-requests
Requires(post): update-alternatives
Requires(postun):update-alternatives
Recommends: python-cwcwidth
Recommends: python-jedi
Recommends: python-ndg-httpsclient
@@ -99,14 +101,8 @@ sphinx-build -b man doc/sphinx/source build/sphinx/man
%install
%pyproject_install
# install manual pages by hand, for now: gh#bpython/bpython/issues/987
mkdir -p %{buildroot}%{_mandir}/man1
mkdir %{buildroot}%{_mandir}/man5
mv build/sphinx/man/bpython.1 %{buildroot}/%{_mandir}/man1
mv build/sphinx/man/bpython-config.5 %{buildroot}/%{_mandir}/man5
%python_clone -a %{buildroot}%{_bindir}/bpython
%python_clone -a %{buildroot}%{_bindir}/bpython-curses
%python_clone -a %{buildroot}%{_bindir}/bpython-urwid
%python_clone -a %{buildroot}%{_bindir}/bpdb
%python_clone -a %{buildroot}%{_mandir}/man1/bpython.1
@@ -137,27 +133,26 @@ rm %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython.desktop
%pyunittest discover -v
%endif
%post
%{python_install_alternative bpython bpython-curses bpython-urwid bpdb bpython.1%{ext_man} bpython-config.5%{ext_man}}
%postun
%python_uninstall_alternative bpython
%pre
%python_libalternatives_reset_alternative bpython
%files %{python_files}
%license LICENSE
%doc AUTHORS.rst CHANGELOG.rst README.rst
%dir %{python_sitelib}/bpython
%{python_sitelib}/bpython/*
%dir %{python_sitelib}/bpdb
%{python_sitelib}/bpdb/*
%dir %{python_sitelib}/bpython-%{version}*-info
%{python_sitelib}/bpython-%{version}*-info/*
%{python_sitelib}/bpython
%{python_sitelib}/bpdb
%{python_sitelib}/bpython-%{version}.dist-info
%python_alternative %{_bindir}/bpython
%python_alternative %{_bindir}/bpython-curses
%python_alternative %{_bindir}/bpython-urwid
%python_alternative %{_bindir}/bpdb
%python_alternative %{_mandir}/man1/bpython.1%{ext_man}
%python_alternative %{_mandir}/man5/bpython-config.5%{ext_man}
# Needed because bpython-config doesn't have a binary, it's just a man page file.
%if %{with libalternatives}
%dir %{_datadir}/libalternatives/bpython-config
%{_datadir}/libalternatives/bpython-config/*%{python_version_nodots}.conf
%endif
%dir %{_datadir}/metainfo/
%{_datadir}/metainfo/org.bpython-interpreter.bpython-%{python_bin_suffix}.metainfo.xml
%dir %{_datadir}/applications/