- Use ruff and yapf for the targets py-check-syntax, py-format and py-check-format.- Add a pyproject.toml for those. It also includes configuration for isort, albeit not being directly used in the linter targets.- Make .gitignore igore that in newly created projects.
- Add ruff, yapf and isort to pkg.requires.release, anticipating their use by CI.Signed-off-by: Jan Lindemann <jan@janware.com>
47 lines
1 KiB
Text
47 lines
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 = python3-isort, python3-yapf, python3-ruff
|
|
|
|
[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
|
|
|
|
[pkg.requires.debian]
|
|
run = python3
|
|
release = devscripts, debhelper, dput, libparse-debcontrol-perl, fakeroot, build-essential:native
|
|
|
|
[pkg.requires.yocto]
|
|
run = python3-core
|
|
build = coreutils-native, xdg-utils-native
|