Accepting request 868833 from home:Dead_Mozay

Initial package

OBS-URL: https://build.opensuse.org/request/show/868833
OBS-URL: https://build.opensuse.org/package/show/shells/starship?expand=0&rev=1
This commit is contained in:
Dr. Werner Fink 2021-02-22 07:10:28 +00:00 committed by Git OBS Bridge
commit 3ed05cc36b
10 changed files with 357 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

22
_service Normal file
View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="disabled">
<param name="filename">starship</param>
<param name="url">https://github.com/starship/starship.git</param>
<param name="scm">git</param>
<param name="version">git-master</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v0.50.0</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesauthor">dead_mozay@opensuse.org</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">starship</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/starship/starship.git</param>
<param name="changesrevision">cf5837065a138dc875de725874724e145479a1f0</param></service></servicedata>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
starship-0.50.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be1f72f1491186bc88c05f5be2ec26e82e65f7c7d87d63dd9f25318e50b04be9
size 209762830

229
starship.changes Normal file
View File

@ -0,0 +1,229 @@
-------------------------------------------------------------------
Wed Feb 3 04:25:17 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.50.0:
* add support for elvish shell
* vagrant: Add support for Vagrant
-------------------------------------------------------------------
Mon Feb 1 03:54:22 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.49.0:
* Adjust default format strings
* Applied clippy warnings
* bash: Fix broken bash init script
* bash: bash-preexec detection and implementation
* cmake: Fix spacing with missing variable
* docker_context: enable if either yml or yaml is found
* command: add 'toggle' command
* directory: Add home directory symbol
* status: Convert known status code to their meaning
-------------------------------------------------------------------
Sun Jan 3 17:43:52 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.48.0:
* apply nightly clippy & fmt suggestions
* bg:none overwrites foreground colour
* bash: Fix background jobs with z/autojump
* config: log as error if failure to read config wasn't caused by NotFound
* git_commit: show last created tag on current commit
* git_state: Handle gitdir indirection when rebasing
* swift: parsing swift version
* i18n: add French and Spanish doc translations
* battery: make module behaviour more obvious
* git_branch: show remote name
* git_branch: add remote branch name if different than local branch
* git_branch: add 'only_attached' config bool
* init: prefix STATUS and PREEXEC_READY shell vars with STARSHIP_
* java: Show Java module for Clojure projects
* kotlin: Add the kotlin module
* nodejs: check node engines version in package.json
* package: Meson package support
* python: Smarter python binary usage
* rust: Support new rust-toolchain format
* shlvl: Add repeat option
* username: Try harder to guess if inside ssh
* memory_usage: replace sysinfo with sys-info
* Latest clippy suggestions
* Add comments for bash preexec fix
-------------------------------------------------------------------
Sun Nov 15 18:58:58 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.47.0:
* docs: Alphabetic sorting of config subsections (#1877)
* feat(terraform): Add hcl extension support to Terraform
module (#1875)
* fix(pwsh): fix crash on error in shell with old pwsh (#1861)
* perf(init/pwsh): use get-random for session-key instead of
invoking starship session (#1860)
* perf(init): use $RANDOM env-var instead of starship session
to generate session-key (#1755)
* fix(gcloud): respect overides of the active gcloud
config (#1846)
* docs(cmd_duration): Document cmd_duration
notifications (#1831)
* docs(pwsh/init): various fixes for init doc (#1793)
* fix(bug-report): verify exit code of open, always
print url (#1839)
* feat(lua): Add a Lua module (#1815)
* fix(zsh): Ensure existing keymap change functions are not
overriden (#1826)
* feat(logger): don't create empty log files (#1836)
* fix(install): Better platform detection (#1827)
* feat(openstack): Add module for OpenStack (#1664)
* fix(pwsh): Switched pwsh profile to use dollar hook for a more
accurate success/failure handling (#1745)
* feat(git_commit): add git tag to module (#950)
* fix(kubernetes): Parse stacked kubeconfigs (#1678)
* fix(pwsh): preserve original console encondings (#1810)
* docs(memory): Remove removed options from Memory example (#1800)
-------------------------------------------------------------------
Thu Oct 15 02:28:39 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.46.2:
* docs: Update document for installing on windows (#1760)
* fix: replace emoji for cmake and erlang (#1787)
* fix(directory): preserve substitution order (#1782)
* fix: apply clippy suggestions (#1756)
* docs: Update defaults in config docs (#1759)
-------------------------------------------------------------------
Fri Oct 09 03:09:00 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.46.0:
* fix(python): Read venv prompt from pyvenv.cfg (#1747)
* docs(python): Update the python_binary option (#1731)
* docs(FAQ): add FAQ about shell completions
* feat(directory): add ellipsis to truncated paths (#1563)
* fix(utils): reduce log level of errors in utils. (#1730)
* fix(bug-report): use correct path for ion config (#1726)
-------------------------------------------------------------------
Thu Oct 01 04:07:27 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.45.2:
* No changelog.
-------------------------------------------------------------------
Wed Sep 30 08:04:11 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.45.0:
* Bug Fixes
- bash: init breaks if PROMPT_COMMAND includes starship_precmd
as an intermediate command (#1541)
- config: don't panic when hex color is too short (#1473)
- docs: Fix Explore The Starship link in guide (#1553)
- explain: align table correctly (#1482)
- git-state: Fix discrepancy between v0.44.0 and master (#1672)
- git_state: panic on interactive rebase (#1552)
- git_status: Fix file rename inconsistency compared to git (#1411)
- install: switch to install the musl binaries by default (#1590)
- nodejs: remove line break from version (#1464)
- ocaml: Stop new line being included in ocaml version (#1479)
- pwsh: update init script to propagate $LASTEXITCODE and $?
- pwsh: stop paths from being interpreted as patterns (#1569)
- zsh: work when setopt ksh_arrays is set (#1612)
* Docs
- Update example config to remove old var (#1546)
- add a migration guide for the format string changes (#1624)
- update clippy command in the CONTRIBUTING.md (#1665)
- Improvements in docs for custom modules (#1615)
- Drop inexistent "number" variable from hostname section (#1586)
- Add perl official logo in NerdFont (#1558)
- fix code block overflow on mobile (#1492)
- add uninstallation instructions to FAQ (#1474)
- update font in FAQ from Fira Code → FiraCode Nerd Font
- replace powerline requirement with nerd font requirement
- git_status: Update git_status module docs (#1667)
- i18n: New Crowdin translations (#1366)
-------------------------------------------------------------------
Tue Jul 07 05:57:03 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.44.0:
* No chengelog.
-------------------------------------------------------------------
Sat Jun 27 17:12:19 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.43.0:
* Bug Fixes
- errant space breaks tar in installer (#1314)
- bash: last command status and command duration (#1185)
- directory: Fix path contractions for symlinked git repos (#1299)
- php: Stop including error messages in the version
* Docs
- update dotfile link in FAQ
- instruct users to install a nerd-font (#1383)
- Add FAQ entry on missing symbols (#1307)
- remove redundant settings in Contributing guide (#1326)
* Features
- dotnet: adds additional files to detect .net projects (#1303)
- git: honor GIT_DIR environment variable (#1348)
- nodejs: support additional file patterns (#1311)
- python: Add option to change the python binary (#1297)
-------------------------------------------------------------------
Wed Jun 10 03:00:56 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.42.0:
* Bug Fixes
- Retain previous command state on zsh keymap select (#958)
- custom: improve handling of Powershell prompts (#1237)
* Docs
- Updated config with a tip for PowerShell user (#1216)
- fix example Starship implementation in bash
- custom: add warning about custom command potentially freezing
terminal (#1242)
-------------------------------------------------------------------
Sat May 16 13:43:48 UTC 2020 - dead_mozay@opensuse.org
- Update to version 0.41.3:
* No chengelog.
-------------------------------------------------------------------
Fri May 15 03:47:48 UTC 2020 - dead_mozay@opensuse.org
- Update to version v0.41.1:
* Bug Fixes
- directory: avoid confusing modules with PowerShell paths (#1114)
* Docs
- correct the configuration docs (#1195)
- i18n: new Crowdin translations (#1059)
-------------------------------------------------------------------
Wed Apr 29 05:01:56 UTC 2020 - dead_mozay@opensuse.org
- Update to version v0.41.0:
* Revert
- fix(git_branch,git_status): implement fallback branch_n… (#1092)
-------------------------------------------------------------------
Mon Apr 13 19:01:10 UTC 2020 - dead_mozay@opensuse.org
- Update to version v0.40.1:
* Bug Fixes
- Fix variable styles in string formatter (#1069)
- implement fallback branch_name for bare git repos (#1035)
- Fix typo (#1054)
- ruby: do not assume length when retrieving version
* Docs
- Add details about musl build to readme (#997)
- update NerdFont preset to include new modules (#1077)
- add Open Collective to README
- i18n: new Crowdin translations (#1047)
* Features
- add support for custom modules
- nix_shell: add symbol to nix-shell module (#1058)
- package: Add project version for Elixir (#1067)
* Improvement
- add parser for format strings (#1021)
-------------------------------------------------------------------
Mon Apr 13 18:53:44 UTC 2020 - Dead Mozay <dead_mozay@opensuse.org>
- Initial package

5
starship.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: starship
version: 0.50.0
mtime: 1612295982
commit: 0558b38e3f211eafeca56d39e9da899bcdf8de99

62
starship.spec Normal file
View File

@ -0,0 +1,62 @@
#
# spec file for package starship
#
# Copyright (c) 2020 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
# 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 http://bugs.opensuse.org/
#
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: starship
Version: 0.50.0
Release: 0
Summary: The minimal, blazing-fast, and infinitely customizable prompt for any shell
License: ISC
Url: https://starship.rs/
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: rust-packaging
BuildRequires: pkgconfig(openssl)
%description
The minimal, blazing-fast, and infinitely customizable prompt for any shell!
Fast: it's fast really really fast! rocket
Customizable: configure every aspect of your prompt.
Universal: works on any shell, on any operating system.
Intelligent: shows relevant information at a glance.
Feature rich: support for all your favorite tools.
Easy: quick to install start using it in minutes.
%prep
%setup -qa1
cp %{SOURCE2} .cargo/config
%build
RUSTFLAGS=%{rustflags} cargo build --release
%install
RUSTFLAGS=%{rustflags} cargo install --root=%{buildroot}%{_prefix} --path .
# remove residue crate file
rm %{buildroot}%{_prefix}/.crates.toml
rm %{buildroot}%{_prefix}/.crates2.json
%files
%doc README.md
%license LICENSE
%{_bindir}/starship
%changelog

3
vendor.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48ae6550b9a5e8e686a6cc745aa5bcf1ce8a9937531e13f58e2d127aafd181f0
size 15567308