package created using the webbuild interface [release 0.9.26-1mamba;Sun Jan 18 2026]

This commit is contained in:
2026-01-19 19:40:39 +01:00
parent 1e745e12bd
commit 50829bad95
2 changed files with 60 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
# python-uv
An extremely fast Python package and project manager, written in Rust.

58
python-uv.spec Normal file
View File

@@ -0,0 +1,58 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-uv
Version: 0.9.26
Release: 1mamba
Summary: An extremely fast Python package and project manager, written in Rust
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan@openmamba.org>
URL: https://pypi.org/project/uv/
Source: https://pypi.debian.net/uv/uv-%{version}.tar.gz
License: Apache License 2.0, MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libgcc
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: cargo
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%define debug_package %{nil}
%prep
%setup -q -n uv-%{version}
%build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
#%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
%files %{?pyappend}
%defattr(-,root,root)
%{_bindir}/uv
%{_bindir}/uvx
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitearch}/%{pkgname}
%{python_sitearch}/%{pkgname}/*
%changelog
* Sun Jan 18 2026 Silvan Calarco <silvan@openmamba.org> 0.9.26-1mamba
- package created using the webbuild interface