Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 68ab1c0dea | |||
| d7f4ae9028 | |||
| 7c238c10bf | |||
| b054938885 | |||
| ba23e43831 | |||
| 2773d9dc4b | |||
| 6872a07b7e |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:98736ffd7a8c48fd2bfb53d898a475f4241bde0b672125706af04d9d08fd3dbd
|
||||
size 222879
|
||||
3
bpython-0.25.tar.gz
Normal file
3
bpython-0.25.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c246fc909ef6dcc26e9d8cb4615b0e6b1613f3543d12269b19ffd0782166c65b
|
||||
size 207610
|
||||
@@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
#
|
||||
# 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.25
|
||||
Release: 0
|
||||
Summary: Fancy Interface to the Python Interpreter
|
||||
License: MIT
|
||||
@@ -29,18 +30,18 @@ BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: alts
|
||||
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 +100,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,11 +132,8 @@ 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
|
||||
@@ -153,11 +145,16 @@ rm %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython.desktop
|
||||
%dir %{python_sitelib}/bpython-%{version}*-info
|
||||
%{python_sitelib}/bpython-%{version}*-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