- Update source tarball from upstream GitHub instead of Python hosted

* i received a version lesser than the actual in python hosted.
    upstream is more clearer to get.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uv?expand=0&rev=6
This commit is contained in:
Soc Virnyl Estela 2024-09-21 16:49:30 +00:00 committed by Git OBS Bridge
parent 431772e1f3
commit 9c8af184df
6 changed files with 17 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<services>
<service mode="manual" name="download_files" />
<service name="cargo_vendor" mode="manual">
<param name="src">uv*.tar.gz</param>
<param name="src">python-uv*.tar.gz</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>

3
python-uv-0.4.15.tar.gz Normal file
View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Sep 21 16:47:28 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
- Update source tarball from upstream GitHub instead of Python hosted
* i received a version lesser than the actual in python hosted.
upstream is more clearer to get.
-------------------------------------------------------------------
Sat Sep 21 16:04:19 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>

View File

@ -28,7 +28,7 @@ Release: 0
Summary: A Python package installer and resolver, written in Rust
License: Apache-2.0 OR MIT
URL: https://github.com/astral-sh/uv
Source0: https://files.pythonhosted.org/packages/source/u/uv/uv-%{version}.tar.gz
Source0: https://github.com/astral-sh/uv/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: %{python_module maturin}
BuildRequires: %{python_module pip}
@ -124,6 +124,9 @@ mkdir -p %{buildroot}%{_datadir}/zsh/site-functions
uv-%{$python_bin_suffix} --generate-shell-completion bash > %{buildroot}%{_datadir}/bash-completion/completions/uv-%{$python_bin_suffix}
uv-%{$python_bin_suffix} --generate-shell-completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uv-%{$python_bin_suffix}.fish
uv-%{$python_bin_suffix} --generate-shell-completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_uv-%{$python_bin_suffix}
}
%{python_expand
uvx-%{$python_bin_suffix} --generate-shell-completion bash > %{buildroot}%{_datadir}/bash-completion/completions/uvx-%{$python_bin_suffix}
uvx-%{$python_bin_suffix} --generate-shell-completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/uvx-%{$python_bin_suffix}.fish
uvx-%{$python_bin_suffix} --generate-shell-completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_uvx-%{$python_bin_suffix}

View File

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e60f2a4f84b1694660eb8a0a07c846ec4d0a3ea38b684efc84ebbb42c1488ed
size 52340125
oid sha256:cadf7a69ac317e4b44bc7fb55218b529972571065617e317ab81016aa302188c
size 55325641