forked from pool/python-bpython
Compare commits
11 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| afd8db63d2 | |||
| 5f3e207b4c | |||
| 3190b92420 | |||
| 8904ffa892 | |||
| 054c1092dc | |||
| 11f9fe5bec | |||
| 3f17b608e7 | |||
| 0fa368f688 | |||
| 99534e7e95 | |||
| 427f82314b | |||
| a8f69017bf |
@@ -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
3
bpython-0.26.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f79083e1e3723be9b49c9994ad1dd3a19ccb4d0d4f9a6f5b3a73bef8bc327433
|
||||
size 207564
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user