Add a new dependency flavour named "lint", in addition to the existing flavours run, build, devel and release, to declare the dependencies needed for static linting. Those are deliberately not lumped into the build flavour, because that might add dependencies that are hard to satisfy on some platforms that should remain buildable. Start easy, with OpenSUSE only, because Tumbleweed provides pyright and ruff in its core repositories. That should be enough for a first canary in CI. Tighter linting should be added by follow-up PRs. Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.1 Signed-off-by: Jan Lindemann <jan@janware.com>
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
[summary]
|
|
janware GmbH software build system
|
|
|
|
[description]
|
|
A package providing a lightweight cross-platform software build and packaging
|
|
system, for use both standalone and from within a janware software build tree.
|
|
|
|
[global]
|
|
group = "Development/Tools/Building"
|
|
subpackages = run devel
|
|
license = LGPL 2
|
|
jw-maintainer = jan
|
|
|
|
[build]
|
|
libname = none
|
|
|
|
[pkg.requires.jw]
|
|
devel = jw-pkg-run = VERSION-REVISION
|
|
|
|
[pkg.requires.os]
|
|
run = bash, python3
|
|
build = make, time, xdg-utils, coreutils, cpio, xdg-utils, git-core
|
|
devel = sudo, gawk, pkg-config
|
|
release = mypy, python3-isort, python3-yapf
|
|
|
|
[pkg.requires.centos]
|
|
run = hostname, python
|
|
build = epel-release, pkgconfig
|
|
release = rpm-build
|
|
|
|
[pkg.requires.ubuntu-16]
|
|
build = realpath
|
|
|
|
[pkg.requires.ubuntu-14]
|
|
build = realpath
|
|
|
|
[pkg.requires.suse]
|
|
run = python3
|
|
release = rpmbuild, python3-base
|
|
lint = python3-ruff, python3-pyright
|
|
|
|
[pkg.requires.debian]
|
|
run = python3
|
|
release = devscripts, debhelper, dput, libparse-debcontrol-perl, fakeroot, build-essential:native, yapf3
|
|
|
|
[pkg.requires.yocto]
|
|
run = python3-core
|
|
build = coreutils-native, xdg-utils-native
|