Some checks failed
Build / build (pull_request) Failing after 29s
- add uv/0.5.5
46 lines
861 B
YAML
46 lines
861 B
YAML
# nfpm.yaml
|
|
|
|
name: uv
|
|
version: ${PACKAGE_VERSION}
|
|
release: ${PACKAGE_RELEASE}
|
|
arch: amd64
|
|
platform: linux
|
|
section: default
|
|
priority: extra
|
|
description: "An extremely fast Python package and project manager, written in Rust."
|
|
|
|
maintainer: Astral.sh
|
|
homepage: https://docs.astral.sh/uv/
|
|
license: Apache-2.0
|
|
|
|
disable_globbing: false
|
|
|
|
replaces:
|
|
- uv
|
|
|
|
provides:
|
|
- uv
|
|
- uvx
|
|
|
|
# Files to include in the package
|
|
contents:
|
|
- src: /app/uv
|
|
dst: /usr/bin/uv
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
- src: /app/uvx
|
|
dst: /usr/bin/uvx
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
|
|
# Scripts to run during installation/removal (optional)
|
|
# scripts:
|
|
# preinstall: ./scripts/preinstall.sh
|
|
# postinstall: ./scripts/postinstall.sh
|
|
# preremove: ./scripts/preremove.sh
|
|
# postremove: ./scripts/postremove.sh
|