Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,7 @@ python3-moddb
python3-pypresence
python3-pywal16
python3-sphinx-hawkmoth
python3-uv
python3-vkbasalt-cli
python3-zombie-imp
qogir-gtk-theme-bin
Expand Down
14 changes: 14 additions & 0 deletions packages/python3-uv/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pkgbase = python3-uv
pkgver = 0.11.14
pkgdesc = Fast Python package and project manager, written in Rust.
url = https://github.com/astral-sh/uv
arch = any
makedepends = cargo-1.93 | cargo>=1.93
license = Apache-2.0
license = MIT
maintainer = Erik Hedlund <erikcghedlund@outlook.com>
repology = project: python:uv
source = https://github.com/astral-sh/uv/archive/refs/tags/0.11.14.tar.gz
sha256sums = 17e2cca308b31247079e732f21ca43ac07ee44657dc947560beb0ddbca9121e0

pkgname = python3-uv
39 changes: 39 additions & 0 deletions packages/python3-uv/python3-uv.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
pkgname='python3-uv'
pkgver='0.11.14'
pkgdesc='Fast Python package and project manager, written in Rust.'
Comment thread
erikcghedlund marked this conversation as resolved.
Outdated
license=('Apache-2.0' 'MIT')
repology=('project: python:uv')
url='https://github.com/astral-sh/uv'
arch=('any')
maintainer=('Erik Hedlund <erikcghedlund@outlook.com>')
source=("https://github.com/astral-sh/uv/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('17e2cca308b31247079e732f21ca43ac07ee44657dc947560beb0ddbca9121e0')
_min_cargo='1.93'
makedepends=("cargo-${_min_cargo} | cargo>=${_min_cargo}")
external_connection=true

build() {
cd "${srcdir}/uv-${pkgver}"
if type "cargo-${_min_cargo}"; then
"cargo-${_min_cargo}" build -j"${NCPU}" --release --locked
else
cargo build -j"${NCPU}" --release --locked
fi
}

check() {
cd "${srcdir}/uv-${pkgver}"
if type "cargo-${_min_cargo}"; then
"cargo-${_min_cargo}" check -j"${NCPU}" --release --locked
else
cargo check -j"${NCPU}" --release --locked
fi
}
Comment thread
erikcghedlund marked this conversation as resolved.
Outdated

package() {
cd "${srcdir}/uv-${pkgver}"
install -Dm755 "target/release/uv" "${pkgdir}/usr/local/bin/uv"
install -Dm755 "target/release/uvx" "${pkgdir}/usr/local/bin/uvx"
install -Dm644 'LICENSE-MIT' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
install -Dm644 'LICENSE-APACHE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
}
15 changes: 15 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -12774,6 +12774,21 @@ pkgbase = python3-sphinx-hawkmoth

pkgname = python3-sphinx-hawkmoth
---
pkgbase = python3-uv
pkgver = 0.11.14
pkgdesc = Fast Python package and project manager, written in Rust.
url = https://github.com/astral-sh/uv
arch = any
makedepends = cargo-1.93 | cargo>=1.93
license = Apache-2.0
license = MIT
maintainer = Erik Hedlund <erikcghedlund@outlook.com>
repology = project: python:uv
source = https://github.com/astral-sh/uv/archive/refs/tags/0.11.14.tar.gz
sha256sums = 17e2cca308b31247079e732f21ca43ac07ee44657dc947560beb0ddbca9121e0

pkgname = python3-uv
---
pkgbase = python3-vkbasalt-cli
pkgver = 3.1.1
pkgdesc = Command-line utility for vkBasalt
Expand Down
Loading