FS#71311 - [ninja] install ninja_syntax.py
Attached to Project:
Community Packages
Opened by Thomas Weißschuh (t-8ch) - Sunday, 20 June 2021, 07:17 GMT
Last edited by Toolybird (Toolybird) - Sunday, 16 April 2023, 08:25 GMT
Opened by Thomas Weißschuh (t-8ch) - Sunday, 20 June 2021, 07:17 GMT
Last edited by Toolybird (Toolybird) - Sunday, 16 April 2023, 08:25 GMT
|
Details
Description:
The upstream ninja developers provide a python module to generate ninja build files. This module is located at misc/ninja_syntax.py . Currently the Arch package does not ship that file. There is an AUR package available ( https://aur.archlinux.org/packages/python-ninja-syntax/ ) but this uses an outdated and unofficial version of the file off of PyPI. It would be nice if the ninja package could provide this module instead for both python 2 and 3. |
This task depends upon
The python3 version seems reasonable.
since the python3 version is reasonable, could you package python files in the Arch ninja package?
Thanks.
install -m644 -D misc/ninja_syntax.py "$pkgdir/usr/lib/python3.10/site-packages/ninja_syntax.py"
but I wonder if "$pkgdir/usr/lib/python3.10/site-packages" is the best place for the python script.
Also it would be compatible to the AUR package.