forked from pool/python-bpython
Accepting request 692970 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/692970 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
b5a87c1366
commit
5960059280
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8907c510bca3c4d9bc0a157279bdc5e3b739cc68c0f247167279b6fe4becb02f
|
||||
size 213638
|
||||
3
bpython-0.18.tar.gz
Normal file
3
bpython-0.18.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56cc20dbe568c98c81de4990fddf5862c0d8d3ab0ad1cf7057988abc5f7686c2
|
||||
size 213321
|
||||
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 15:39:43 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* be more specific in %files section
|
||||
* changes appdata to appinfo directory for bpython.appdata.xml
|
||||
* for appdata and desktop add org.bpython-interpreter. to file name
|
||||
* added files for bpdb
|
||||
|
||||
- update to version 0.18:
|
||||
* New features:
|
||||
+ #713 expose globals in bpdb debugging. Thanks to toejough.
|
||||
* Fixes:
|
||||
+ Fix file locking on Windows.
|
||||
+ Exit gracefully if config file fails to be loaded due to
|
||||
encoding errors.
|
||||
+ #744: Fix newline handling. Thanks to Attila Szöllősi.
|
||||
+ #731: Fix exit code. Thanks to benkrig.
|
||||
+ #767: Fix crash when matching certain lines in history.
|
||||
* Support for Python 3.3 has been dropped.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:46:18 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-bpython
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
Name: python-bpython
|
||||
Version: 0.17.1
|
||||
Version: 0.18
|
||||
Release: 0
|
||||
Summary: Fancy Interface to the Python Interpreter
|
||||
License: MIT
|
||||
@@ -115,23 +115,23 @@ install -d %{buildroot}%{_mandir}/man5/
|
||||
|
||||
%{python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
cp %{buildroot}%{_datadir}/appdata/bpython.appdata.xml %{buildroot}%{_datadir}/appdata/bpython-%{$python_bin_suffix}.appdata.xml
|
||||
cp %{buildroot}%{_datadir}/applications/bpython.desktop %{buildroot}%{_datadir}/applications/bpython-%{$python_bin_suffix}.desktop
|
||||
cp %{buildroot}%{_datadir}/appinfo/org.bpython-interpreter.bpython.appdata.xml %{buildroot}%{_datadir}/appinfo/org.bpython-interpreter.bpython-%{$python_bin_suffix}.appdata.xml
|
||||
cp %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython.desktop %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython-%{$python_bin_suffix}.desktop
|
||||
|
||||
sed -i 's|bpython.desktop|bpython-%{$python_bin_suffix}.desktop|' %{buildroot}%{_datadir}/appdata/bpython-%{$python_bin_suffix}.appdata.xml
|
||||
sed -i 's|bpython interpreter|bpython %{$python_prefix} interpreter|' %{buildroot}%{_datadir}/appdata/bpython-%{$python_bin_suffix}.appdata.xml
|
||||
sed -i 's|Python interpreter|A %{$python_prefix} interpreter|' %{buildroot}%{_datadir}/appdata/bpython-%{$python_bin_suffix}.appdata.xml
|
||||
sed -i 's|bpython.desktop|bpython-%{$python_bin_suffix}.desktop|' %{buildroot}%{_datadir}/appinfo/org.bpython-interpreter.bpython-%{$python_bin_suffix}.appdata.xml
|
||||
sed -i 's|bpython interpreter|bpython %{$python_prefix} interpreter|' %{buildroot}%{_datadir}/appinfo/org.bpython-interpreter.bpython-%{$python_bin_suffix}.appdata.xml
|
||||
sed -i 's|Python interpreter|A %{$python_prefix} interpreter|' %{buildroot}%{_datadir}/appinfo/org.bpython-interpreter.bpython-%{$python_bin_suffix}.appdata.xml
|
||||
desktop-file-edit --set-name=bpython-%{$python_bin_suffix} \
|
||||
--copy-name-to-generic-name \
|
||||
--remove-key=Categories \
|
||||
--add-category=System --add-category=TerminalEmulator \
|
||||
--set-comment="A fancy interface to the %{$python_prefix} interpreter" \
|
||||
--set-key=Exec --set-value="%{_bindir}/bpython-%{$python_bin_suffix}" \
|
||||
%{buildroot}%{_datadir}/applications/bpython-%{$python_bin_suffix}.desktop
|
||||
%{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython-%{$python_bin_suffix}.desktop
|
||||
}
|
||||
|
||||
rm %{buildroot}%{_datadir}/appdata/bpython.appdata.xml
|
||||
rm %{buildroot}%{_datadir}/applications/bpython.desktop
|
||||
rm %{buildroot}%{_datadir}/appinfo/org.bpython-interpreter.bpython.appdata.xml
|
||||
rm %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython.desktop
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
@@ -147,16 +147,21 @@ rm %{buildroot}%{_datadir}/applications/bpython.desktop
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc AUTHORS CHANGELOG README.rst
|
||||
%{python_sitelib}/*
|
||||
%dir %{python_sitelib}/bpython
|
||||
%{python_sitelib}/bpython/*
|
||||
%dir %{python_sitelib}/bpdb
|
||||
%{python_sitelib}/bpdb/*
|
||||
%dir %{python_sitelib}/bpython-%{version}-py*.egg-info
|
||||
%{python_sitelib}/bpython-%{version}-py*.egg-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}
|
||||
%dir %{_datadir}/appdata/
|
||||
%{_datadir}/appdata/bpython-%{python_bin_suffix}.appdata.xml
|
||||
%{_datadir}/applications/bpython-%{python_bin_suffix}.desktop
|
||||
%dir %{_datadir}/appinfo/
|
||||
%{_datadir}/appinfo/org.bpython-interpreter.bpython-%{python_bin_suffix}.appdata.xml
|
||||
%{_datadir}/applications/org.bpython-interpreter.bpython-%{python_bin_suffix}.desktop
|
||||
|
||||
%files -n %{name}-common
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user