From 9c8af184df82c6f104f126fc003bb5ce3e2d562c2f20952903f56465b7687f2d Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 21 Sep 2024 16:49:30 +0000 Subject: [PATCH] - 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 --- _service | 2 +- python-uv-0.4.15.tar.gz | 3 +++ python-uv.changes | 7 +++++++ python-uv.spec | 5 ++++- uv-0.4.15.tar.gz | 3 --- vendor.tar.zst | 4 ++-- 6 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 python-uv-0.4.15.tar.gz delete mode 100644 uv-0.4.15.tar.gz diff --git a/_service b/_service index 37b026b..7672f9e 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ - uv*.tar.gz + python-uv*.tar.gz zst true diff --git a/python-uv-0.4.15.tar.gz b/python-uv-0.4.15.tar.gz new file mode 100644 index 0000000..56e8071 --- /dev/null +++ b/python-uv-0.4.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb9d134ccac8ce4088060705ccd5678d7825a22ca9951364efd5e7474d577602 +size 2650314 diff --git a/python-uv.changes b/python-uv.changes index 35304d9..d80d8f1 100644 --- a/python-uv.changes +++ b/python-uv.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Sep 21 16:47:28 UTC 2024 - Soc Virnyl Estela + +- 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 diff --git a/python-uv.spec b/python-uv.spec index ab17ff3..511bb52 100644 --- a/python-uv.spec +++ b/python-uv.spec @@ -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} diff --git a/uv-0.4.15.tar.gz b/uv-0.4.15.tar.gz deleted file mode 100644 index e0c9dce..0000000 --- a/uv-0.4.15.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e36b8e07595fc6216d01e729c81a0b4ff029a93cc2ef987a73d3b650d6d559c -size 1965646 diff --git a/vendor.tar.zst b/vendor.tar.zst index 232afc9..3c1c949 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0e60f2a4f84b1694660eb8a0a07c846ec4d0a3ea38b684efc84ebbb42c1488ed -size 52340125 +oid sha256:cadf7a69ac317e4b44bc7fb55218b529972571065617e317ab81016aa302188c +size 55325641