2016-01-29 13:09:04 +00:00
|
|
|
[summary]
|
2017-04-07 12:15:48 +00:00
|
|
|
janware GmbH software build system
|
2016-01-29 13:09:04 +00:00
|
|
|
|
|
|
|
|
[description]
|
2017-12-29 13:12:54 +00:00
|
|
|
A package providing a lightweight cross-platform software build and packaging
|
|
|
|
|
system, for use both standalone and from within a janware software build tree.
|
2016-01-29 13:09:04 +00:00
|
|
|
|
|
|
|
|
[global]
|
2026-02-08 08:05:36 +01:00
|
|
|
group = "Development/Tools/Building"
|
2016-01-29 13:09:04 +00:00
|
|
|
subpackages = run devel
|
2016-11-23 12:09:38 +00:00
|
|
|
license = LGPL 2
|
2017-04-10 18:50:19 +00:00
|
|
|
jw-maintainer = jan
|
2016-01-29 13:09:04 +00:00
|
|
|
|
2017-04-07 15:00:17 +00:00
|
|
|
[build]
|
|
|
|
|
libname = none
|
|
|
|
|
|
2026-02-13 08:37:17 +01:00
|
|
|
[pkg.requires.jw]
|
|
|
|
|
devel = jw-pkg-run = VERSION-REVISION
|
|
|
|
|
|
2017-06-26 09:33:53 +00:00
|
|
|
[pkg.requires.os]
|
2026-03-15 11:36:35 +01:00
|
|
|
run = bash, python3
|
|
|
|
|
build = make, time, xdg-utils, coreutils, cpio, xdg-utils, git-core
|
|
|
|
|
devel = sudo, gawk, pkg-config
|
2026-06-04 06:28:59 +02:00
|
|
|
release = mypy, python3-isort, python3-yapf
|
2018-10-13 10:46:02 +00:00
|
|
|
|
|
|
|
|
[pkg.requires.centos]
|
2023-07-07 08:48:00 +00:00
|
|
|
run = hostname, python
|
2018-10-13 10:46:02 +00:00
|
|
|
build = epel-release, pkgconfig
|
2018-12-12 21:00:36 +00:00
|
|
|
release = rpm-build
|
2017-01-13 16:22:24 +00:00
|
|
|
|
2019-11-19 09:07:57 +00:00
|
|
|
[pkg.requires.ubuntu-16]
|
|
|
|
|
build = realpath
|
|
|
|
|
|
|
|
|
|
[pkg.requires.ubuntu-14]
|
|
|
|
|
build = realpath
|
|
|
|
|
|
2017-06-26 09:33:53 +00:00
|
|
|
[pkg.requires.suse]
|
2025-02-21 06:09:26 +00:00
|
|
|
run = python3
|
project.conf: pkg.requires.suse.release -= python3-pyright
Running pyright in a minimal docker container gives this error:
$ pyright
/usr/bin/npm-default: No such file or directory
Traceback (most recent call last):
File "/usr/bin/pyright-3.13", line 6, in <module>
sys.exit(entrypoint())
~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/pyright/cli.py", line 31, in entrypoint
sys.exit(main(sys.argv[1:]))
~~~~^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pyright/cli.py", line 18, in main
return run(*args, **kwargs).returncode
~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pyright/cli.py", line 22, in run
pkg_dir = install_pyright(args, quiet=None)
File "/usr/lib/python3.13/site-packages/pyright/_utils.py", line 69, in install_pyright
node.run(
~~~~~~~~^
'npm',
^^^^^^
...<5 lines>...
stderr=subprocess.PIPE if silent else sys.stderr,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/site-packages/pyright/node.py", line 144, in run
subprocess.run(node_args, **kwargs),
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/npm', 'install', \
'pyright@1.1.409']' returned non-zero exit status 255.
This means that on openSUSE, python3-pyright tries to pull in
packages from the NPM registry. This increases the CI supply chain
attack surface inacceptably, so remove pyright from the release
prerequisites. That should be enough to remove it from the
prerequisites of target check as well and allow it to succeed.
The pyright check machinery itself remains useful, so keep it in
place for developers who install python3-pyright manually.
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-08 15:55:24 +02:00
|
|
|
release = rpmbuild, python3-base
|
2017-01-13 16:22:24 +00:00
|
|
|
|
2017-06-26 09:33:53 +00:00
|
|
|
[pkg.requires.debian]
|
2023-07-07 08:48:00 +00:00
|
|
|
run = python3
|
2026-06-02 12:55:15 +02:00
|
|
|
release = devscripts, debhelper, dput, libparse-debcontrol-perl, fakeroot, build-essential:native, yapf3
|
2016-12-07 11:46:11 +00:00
|
|
|
|
2019-06-15 15:12:03 +00:00
|
|
|
[pkg.requires.yocto]
|
|
|
|
|
run = python3-core
|
2019-06-19 10:11:02 +00:00
|
|
|
build = coreutils-native, xdg-utils-native
|