Accepting request 1173622 from home:badshah400:Staging
A pip+virtualenv replacement written in Rust (needed by hatch update to version 1.10). OBS-URL: https://build.opensuse.org/request/show/1173622 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/uv?expand=0&rev=1
This commit is contained in:
commit
c40eee7d07
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
22
_service
Normal file
22
_service
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service mode="manual" name="obs_scm">
|
||||
<param name="url">https://github.com/astral-sh/uv</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="filename">uv</param>
|
||||
<param name="revision">refs/tags/0.1.42</param>
|
||||
<param name="match-tag">*</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="tar" />
|
||||
<service mode="buildtime" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service mode="manual" name="set_version"/>
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="src">uv</param>
|
||||
<param name="compression">zst</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
</services>
|
3
uv-0.1.42.obscpio
Normal file
3
uv-0.1.42.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a7fd99c4734ad7d34643f904503642cc250995c87d1c389a814df2432357d3b0
|
||||
size 5807117
|
4
uv.changes
Normal file
4
uv.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 12 16:21:29 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Initial package.
|
4
uv.obsinfo
Normal file
4
uv.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: uv
|
||||
version: 0.1.42
|
||||
mtime: 1715204836
|
||||
commit: 367958e6b2565d136b587c5dd5544bb44c835ca7
|
57
uv.spec
Normal file
57
uv.spec
Normal file
@ -0,0 +1,57 @@
|
||||
#
|
||||
# spec file for package uv
|
||||
#
|
||||
# Copyright (c) 2024 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: uv
|
||||
Version: 0.1.42
|
||||
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: %{name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: cmake
|
||||
BuildRequires: rust >= 1.77
|
||||
Requires: python3
|
||||
|
||||
%description
|
||||
uv is a Python package installer and resolver, written in Rust. Designed as a
|
||||
drop-in replacement for common pip and pip-tools workflows.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -a1
|
||||
|
||||
%build
|
||||
%{cargo_build} --all
|
||||
|
||||
%install
|
||||
install -D -d -m 0755 %{buildroot}%{_bindir}
|
||||
install -m 0755 -t %{buildroot}%{_bindir}/ %{_builddir}/%{name}-%{version}/target/release/uv{,-dev}
|
||||
|
||||
# Tests require network
|
||||
#%%check
|
||||
#%%cargo_test
|
||||
|
||||
%files
|
||||
%license LICENSE-*
|
||||
%doc README.md
|
||||
%{_bindir}/uv
|
||||
%{_bindir}/uv-dev
|
||||
|
||||
%changelog
|
||||
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a37481fcf84b1881a3fb789fd52025aa10d4568e1a19c49e6235f2fb6743e5f7
|
||||
size 68285781
|
Loading…
Reference in New Issue
Block a user