forked from pool/python-bpython
Accepting request 948258 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/948258 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=19
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:88aa9b89974f6a7726499a2608fa7ded216d84c69e78114ab2ef996a45709487
|
|
||||||
size 208206
|
|
||||||
3
bpython-0.22.1.tar.gz
Normal file
3
bpython-0.22.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1fb1e0a52332579fc4e3dcf75e21796af67aae2be460179ecfcce9530a49a200
|
||||||
|
size 217294
|
||||||
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 23 17:31:17 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
- specfile:
|
||||||
|
* update copyright year
|
||||||
|
* update path for xml and desktop file
|
||||||
|
|
||||||
|
- update to version 0.22.1:
|
||||||
|
* Fixes:
|
||||||
|
+ #938: Fix missing dependency on typing_extensions. Thanks to
|
||||||
|
Dustin Rodrigues
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 5 01:02:36 UTC 2021 - Arun Persaud <arun@gmx.de>
|
Mon Apr 5 01:02:36 UTC 2021 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-bpython
|
# spec file for package python-bpython
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
Name: python-bpython
|
Name: python-bpython
|
||||||
Version: 0.21
|
Version: 0.22.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Fancy Interface to the Python Interpreter
|
Summary: Fancy Interface to the Python Interpreter
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -114,12 +114,12 @@ install -d %{buildroot}%{_mandir}/man5/
|
|||||||
|
|
||||||
%{python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%{python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
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}/metainfo/org.bpython-interpreter.bpython.metainfo.xml %{buildroot}%{_datadir}/metainfo/org.bpython-interpreter.bpython-%{$python_bin_suffix}.metainfo.xml
|
||||||
cp %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython.desktop %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython-%{$python_bin_suffix}.desktop
|
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}/appinfo/org.bpython-interpreter.bpython-%{$python_bin_suffix}.appdata.xml
|
sed -i 's|bpython.desktop|bpython-%{$python_bin_suffix}.desktop|' %{buildroot}%{_datadir}/metainfo/org.bpython-interpreter.bpython-%{$python_bin_suffix}.metainfo.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|bpython interpreter|bpython %{$python_prefix} interpreter|' %{buildroot}%{_datadir}/metainfo/org.bpython-interpreter.bpython-%{$python_bin_suffix}.metainfo.xml
|
||||||
sed -i 's|Python interpreter|A %{$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}/metainfo/org.bpython-interpreter.bpython-%{$python_bin_suffix}.metainfo.xml
|
||||||
desktop-file-edit --set-name=bpython-%{$python_bin_suffix} \
|
desktop-file-edit --set-name=bpython-%{$python_bin_suffix} \
|
||||||
--copy-name-to-generic-name \
|
--copy-name-to-generic-name \
|
||||||
--remove-key=Categories \
|
--remove-key=Categories \
|
||||||
@@ -129,7 +129,7 @@ desktop-file-edit --set-name=bpython-%{$python_bin_suffix} \
|
|||||||
%{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython-%{$python_bin_suffix}.desktop
|
%{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython-%{$python_bin_suffix}.desktop
|
||||||
}
|
}
|
||||||
|
|
||||||
rm %{buildroot}%{_datadir}/appinfo/org.bpython-interpreter.bpython.appdata.xml
|
rm %{buildroot}%{_datadir}/metainfo/org.bpython-interpreter.bpython.metainfo.xml
|
||||||
rm %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython.desktop
|
rm %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython.desktop
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@@ -158,8 +158,9 @@ rm %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython.desktop
|
|||||||
%python_alternative %{_bindir}/bpdb
|
%python_alternative %{_bindir}/bpdb
|
||||||
%python_alternative %{_mandir}/man1/bpython.1%{ext_man}
|
%python_alternative %{_mandir}/man1/bpython.1%{ext_man}
|
||||||
%python_alternative %{_mandir}/man5/bpython-config.5%{ext_man}
|
%python_alternative %{_mandir}/man5/bpython-config.5%{ext_man}
|
||||||
%dir %{_datadir}/appinfo/
|
%dir %{_datadir}/metainfo/
|
||||||
%{_datadir}/appinfo/org.bpython-interpreter.bpython-%{python_bin_suffix}.appdata.xml
|
%{_datadir}/metainfo/org.bpython-interpreter.bpython-%{python_bin_suffix}.metainfo.xml
|
||||||
|
%dir %{_datadir}/applications/
|
||||||
%{_datadir}/applications/org.bpython-interpreter.bpython-%{python_bin_suffix}.desktop
|
%{_datadir}/applications/org.bpython-interpreter.bpython-%{python_bin_suffix}.desktop
|
||||||
|
|
||||||
%files -n %{name}-common
|
%files -n %{name}-common
|
||||||
|
|||||||
Reference in New Issue
Block a user