Skip to content

Commit 904a09a

Browse files
authored
Create uv.spec (#10)
* Create uv.spec * Update uv.spec * Update uv.spec * Update uv.spec * Update uv.spec * Update uv.spec * Update uv.spec * Update uv.spec * Update README.md
1 parent dfaf2d0 commit 904a09a

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ For any issues or questions related to python scripts, please go to upstream rep
4848

4949
[Upstream](https://github.com/jdx/usage)
5050

51+
### uv
52+
53+
![uv status](https://copr.fedorainfracloud.org/coprs/relativesure/all-packages/package/uv/status_image/last_build.png)
54+
55+
[Upstream](https://github.com/astral-sh/uv)
56+
5157
### wezterm
5258

5359
![wezterm status](https://copr.fedorainfracloud.org/coprs/relativesure/all-packages/package/wezterm/status_image/last_build.png)

specs/uv.spec

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
%global debug_package %{nil}
2+
3+
Name: uv
4+
Version: 0.5.1
5+
Release: 1%{?dist}
6+
Summary: An extremely fast Python package and project manager, written in Rust.
7+
8+
License: MIT
9+
URL: https://github.com/astral-sh/uv
10+
Source: %{url}/releases/download/%{version}/%{name}-x86_64-unknown-linux-musl.tar.gz
11+
Source1: https://raw.githubusercontent.com/astral-sh/uv/%{version}/README.md
12+
13+
%description
14+
Highlights
15+
🚀 A single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more.
16+
⚡️ 10-100x faster than pip.
17+
🐍 Installs and manages Python versions.
18+
🛠️ Runs and installs Python applications.
19+
❇️ Runs scripts, with support for inline dependency metadata.
20+
🗂️ Provides comprehensive project management, with a universal lockfile.
21+
🔩 Includes a pip-compatible interface for a performance boost with a familiar CLI.
22+
🏢 Supports Cargo-style workspaces for scalable projects.
23+
💾 Disk-space efficient, with a global cache for dependency deduplication.
24+
⏬ Installable without Rust or Python via curl or pip.
25+
🖥️ Supports macOS, Linux, and Windows.
26+
uv is backed by Astral, the creators of Ruff.
27+
28+
%prep
29+
%autosetup -c -n %{name}
30+
31+
cp %{SOURCE1} CONFIGURATION.md
32+
33+
%build
34+
35+
%install
36+
# Ensure the source binary is in the expected location
37+
install -p -D %{name}-x86_64-unknown-linux-musl/%{name} %{buildroot}%{_bindir}/%{name}
38+
39+
%files
40+
%doc CONFIGURATION.md
41+
%{_bindir}/%{name}

0 commit comments

Comments
 (0)