py-topdir.mk: Use ruff and yapf
- Use pyright for the target py-check-syntax
- Generate a $(TOPDIR)/pyrightconfig.json for that
- Add pyrightconfig-base.json because it's used by pyrightconfig.json- Add python3-pyright to pkg.requires.release, anticipating the use of the py-syntax-check target by CISigned-off-by: Jan Lindemann <jan@janware.com>
47 lines
1.1 KiB
Text
47 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 = python3-isort, python3-yapf, python3-ruff, python3-pyright
|
|
|
|
[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
|