rpmbuilder/rpms/ruff/nfpm.yaml
Ben Vincent cdf628899e
All checks were successful
Build / build (pull_request) Successful in 50s
feat: add artifact management
- upload/download artifacts instead of building build and deploy jobs
- updated uv package with version in url
- add ruff/0.8.1 package
2024-12-01 16:35:13 +11:00

39 lines
755 B
YAML

# nfpm.yaml
name: ruff
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "An extremely fast Python linter and code formatter, written in Rust."
maintainer: Astral.sh
homepage: https://docs.astral.sh/ruff/
license: Apache-2.0
disable_globbing: false
replaces:
- ruff
provides:
- ruff
# Files to include in the package
contents:
- src: /app/ruff
dst: /usr/bin/ruff
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