From a5cbcb4003cd27445f1dac0104c84b7420ea003c7e92aa7c80afa7d6993842ba Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 18 May 2025 09:10:37 +0000 Subject: [PATCH 1/2] - update to 1.25: * feat: virtualenv improvements * Fix for empty string value from pyvenv.cfg parsing - OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/powerline-go?expand=0&rev=7 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + _service | 4 +++ _servicedata | 4 +++ powerline-go-1.24.tar.gz | 3 ++ powerline-go-1.25.tar.gz | 3 ++ powerline-go.changes | 78 ++++++++++++++++++++++++++++++++++++++++ powerline-go.spec | 52 +++++++++++++++++++++++++++ vendor.tar.gz | 3 ++ 9 files changed, 171 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 powerline-go-1.24.tar.gz create mode 100644 powerline-go-1.25.tar.gz create mode 100644 powerline-go.changes create mode 100644 powerline-go.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..ab9ad7a --- /dev/null +++ b/_service @@ -0,0 +1,4 @@ + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..8b26dc0 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + git://github.com/justjanne/powerline-go.git + fb868b38a038ea2a44c722cb3b9104c1fab9c864 \ No newline at end of file diff --git a/powerline-go-1.24.tar.gz b/powerline-go-1.24.tar.gz new file mode 100644 index 0000000..1f06cbb --- /dev/null +++ b/powerline-go-1.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08d958c49269e7025a998a617f3d6a0b6dcd7432437f950f0d0e3335bf7b59b3 +size 141163 diff --git a/powerline-go-1.25.tar.gz b/powerline-go-1.25.tar.gz new file mode 100644 index 0000000..59325fc --- /dev/null +++ b/powerline-go-1.25.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64cb194bbf08536320d0f4c24ef9524fdf486f579147cacdb0b6dc0afc1134e2 +size 141368 diff --git a/powerline-go.changes b/powerline-go.changes new file mode 100644 index 0000000..7aaa3a0 --- /dev/null +++ b/powerline-go.changes @@ -0,0 +1,78 @@ +------------------------------------------------------------------- +Sun May 18 09:10:09 UTC 2025 - Dirk Müller + +- update to 1.25: + * feat: virtualenv improvements + * Fix for empty string value from pyvenv.cfg parsing + +------------------------------------------------------------------- +Sun Jul 16 10:57:41 UTC 2023 - Dirk Müller + +- update to 1.24: + * Add exit codes for an IBM Z OS, named 'zos' + * Goreleaser pipeline to build more archs and make release + workflow more reliable + * AWS module try to use AWS_VAULT when AWS_PROFILE is not set + * Use altermative prompt from python venv + * Background tasks should use --no-optional-locks to prevent + issues with other tools running at the same time. + * Add "git branch" symbol to gitlite module (if git mode is not + "compact") + +------------------------------------------------------------------- +Mon Mar 20 11:56:20 UTC 2023 - Dirk Müller + +- update to 1.22.1: + * Changed bold foreground back to default, made it into an + option set by themes + * #298 Added a new "compact" Git mode, with less width than + "fancy", and a bit more information than "simple" (@jacobo- + diaz) + * #308 add low precision duration setting (@pridkett) + * #310 Restyle nix-shell segment (@jonascarpay) + * #321 Add support to show current date and time (@flybyray) + * #330 Added segment to display current node version (@caleb- + artifact) + * #331 Increased the performance of GCP segment (@caleb- + artifact) + * #333 Add more exit code strings (@scop) + * #336 Add vi-mode segment (@blackheaven) + * #338 Add Openshift cluster context shortening (@stas2k) + * #339 Allow node indicator to be overridden (@mjgiarlo) + * #340 Add RVM segment for Rubyists who use RVM (@mjgiarlo) + * #349 make foreground color bold (@buckley310) + * #351 Add support for DOCKER_CONTEXT environment variable + * #352 direnv support (@scop) + * #289 Avoid a git rev-list if stash stats are disabled (@scop) + * #292 Fix prompt for Fish Shell (@cfinnberg) + * #294 fallback to $PWD if os.Getwd returns error (@vgropp) + * #296 git ignores global config gitexcludes/.git/config/ignore + * #301 Path should be escaped in plain mode (@dswij) + * #312 Improve shell detection (@scop) + * #314 only warn about shellVarName not existing if it's been + set (@kchiem) + * #317 Try to escape virtualenv on Git Bash for Windows + * #319 Replace wc with fish builtin count (@kidonng) + * #341 Do not render node package segment if no version found + +------------------------------------------------------------------- +Thu Jul 15 16:57:58 UTC 2021 - pandom79@gmail.com + +- Update to version 1.21.0: + * Fix typod flag name to re-enable prompt shrinking when `-max-width` is specified + * added signal numbers for DragonFly BSD + * Improve README for -colorize-hostname + * Corrects whitespace in README.md + * Fixes return value in bzr and fossil segments and adds modules bzr and fossil to README.md + * fixed terraform refactor + * use happy path for better code readability + * Use goenv's colors for vgo too + * Added Fossil segment + * Added Bazaar segment + +------------------------------------------------------------------- +Tue Jun 22 09:05:20 UTC 2021 - Domenico Panella + + +Several bugfixes and improvements thanks to the help from many contributors :) +- diff --git a/powerline-go.spec b/powerline-go.spec new file mode 100644 index 0000000..c743c3c --- /dev/null +++ b/powerline-go.spec @@ -0,0 +1,52 @@ +# +# spec file for package powerline-go +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: powerline-go +Version: 1.25 +Release: 0 +Summary: A Powerline like prompt for Bash, ZSH and Fish +License: GPL-3.0-or-later +Group: System/Console +URL: https://github.com/justjanne/powerline-go +Source0: https://github.com/justjanne/powerline-go/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: golang-packaging +BuildRequires: golang(API) = 1.24 +%{go_nostrip} + +%description +A Powerline like prompt for Bash, ZSH and Fish. Based on Powerline-Shell by @banga. Ported to golang by @justjanne. + +%prep +%autosetup -a1 -n %{name}-%{version} + +%build +go build --mod=vendor -buildmode=pie + +%install +install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name} + +%check +go test -v + +%files +%license LICENSE.md +%doc README.md +%{_bindir}/%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..dca2213 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbf0254ea3496bee0a01d44bd520e74a302c800ff5bbbb7639a680f0b20a3b3d +size 1461632 -- 2.51.1 From e5944987a9a87f248573c17aac2772bbb8665294f8ac6cc64e7d79a0bca1e06d Mon Sep 17 00:00:00 2001 From: Jeff Kowalczyk Date: Sun, 18 May 2025 19:19:59 +0000 Subject: [PATCH 2/2] - update to 1.25: * feat: virtualenv improvements * Fix for empty string value from pyvenv.cfg parsing OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/powerline-go?expand=0&rev=8 --- powerline-go.changes | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/powerline-go.changes b/powerline-go.changes index 7aaa3a0..0f3a7a2 100644 --- a/powerline-go.changes +++ b/powerline-go.changes @@ -73,6 +73,4 @@ Thu Jul 15 16:57:58 UTC 2021 - pandom79@gmail.com ------------------------------------------------------------------- Tue Jun 22 09:05:20 UTC 2021 - Domenico Panella - -Several bugfixes and improvements thanks to the help from many contributors :) -- +- Several bugfixes and improvements thanks to the help from many contributors :) -- 2.51.1