5
0
forked from pool/powerline

6 Commits

Author SHA256 Message Date
98f8d4700c Accepting request 1326360 from utilities
OBS-URL: https://build.opensuse.org/request/show/1326360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powerline?expand=0&rev=18
2026-01-12 09:21:29 +00:00
43249a2bff - Use %python3_fix_shebang_path to fix python binaries hashbangs
bsc#1255982

OBS-URL: https://build.opensuse.org/package/show/utilities/powerline?expand=0&rev=56
2026-01-09 15:29:25 +00:00
4ec3b6b710 Accepting request 1252538 from utilities
OBS-URL: https://build.opensuse.org/request/show/1252538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powerline?expand=0&rev=17
2025-03-12 19:15:09 +00:00
3ab12a6c77 Accepting request 1252037 from home:badshah400:branches:utilities
Add powerline-python3_13-compat.patch: Fix TypeError with python 3.13 in vim status line; upstream PR + test fix [gh#powerline/powerline#2271].

OBS-URL: https://build.opensuse.org/request/show/1252037
OBS-URL: https://build.opensuse.org/package/show/utilities/powerline?expand=0&rev=54
2025-03-12 16:06:48 +00:00
dc5feb4ef8 Accepting request 1232604 from utilities
OBS-URL: https://build.opensuse.org/request/show/1232604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powerline?expand=0&rev=16
2024-12-19 20:42:09 +00:00
3a564d54bc Accepting request 1232503 from home:badshah400:branches:utilities
* Update to version 2.8.4.
* Drop powerline-python3.11-compat.patch: upstreamed.

OBS-URL: https://build.opensuse.org/request/show/1232503
OBS-URL: https://build.opensuse.org/package/show/utilities/powerline?expand=0&rev=52
2024-12-19 14:23:24 +00:00
2 changed files with 8 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 9 09:54:41 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Use %python3_fix_shebang_path to fix python binaries hashbangs
bsc#1255982
-------------------------------------------------------------------
Tue Mar 11 10:01:27 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package powerline
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 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
@@ -115,11 +115,7 @@ to your ~/.tmux.conf file.
sed -i -e '1{/^#!/ d}' powerline/bindings/pdb/__main__.py
# Fix env dependent hashbangs
sed -Ei "1{s@^#\!/usr/bin/env python@#\!%{_bindir}/python%{python3_version}@}" \
powerline/bindings/awesome/powerline-awesome.py \
powerline/bindings/bar/powerline-bar.py \
powerline/bindings/i3/powerline-i3.py \
powerline/bindings/lemonbar/powerline-lemonbar.py
%python3_fix_shebang_path powerline/bindings/awesome/powerline-awesome.py powerline/bindings/bar/powerline-bar.py powerline/bindings/i3/powerline-i3.py powerline/bindings/lemonbar/powerline-lemonbar.py
sed -i -e "/DEFAULT_SYSTEM_CONFIG_DIR/ s@None@'%{_sysconfdir}/xdg'@" powerline/config.py
sed -i -e "/TMUX_CONFIG_DIRECTORY/ s@BINDINGS_DIRECTORY@'%{_prefix}/share'@" powerline/config.py