flatpak-builder-tools
flatpak-builder-tools copied to clipboard
Various helper tools for flatpak-builder
requirements-parser doesn't handle them internally so we need to extract them from original line. Not handling these results in unintended things being regarded as dependencies
If I generate the json module for `matplotlib` using `flatpak-pip-generator` and than I try to use it it fails with a numpy error: ``` Running: pip3 install --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}...
My `requirements.txt` ``` build_files/pyinstaller-4.9-py3-none-any.whl build_files/PyAudio-0.2.11-cp310-cp310-win_amd64.whl; sys_platform == 'win32' pyaudio; sys_platform != 'win32' pgi; sys_platform == 'linux' testresources; sys_platform == 'linux' ujson==5.1.0 pycparser==2.14 mutagen~=1.45.1 Pillow~=9.0 pychromecast~=10.3.0 protobuf==3.19.1 zeroconf~=0.37 pynput~=1.4.5 pypng~=0.0.20 pypresence~=4.0...
It would be really useful for app developers that want to support Linux through flatpak to use pip to install `flatpak-pip-generator`
I run the python generator against this requirements file: https://github.com/gnome-keysign/gnome-keysign/blob/1c5b04ac0b265491ab65b651e3bbbe0f4a310a18/requirements.txt ) and it produces empty sources: ``` $ flatpak-pip-generator --requirements-file=requirements.txt ======================================================================== Downloading sources ======================================================================== Running: "pip3 download --exists-action=i --dest /tmp/pip-generator-python3-requirements7hbolm42...
- Allows generator to create a single sources list from multiple .csproj files. A dependency may contain many .csproj files, but it makes sense to group the sources into one...
This will allow generating the dep file and then manually fixing it up. Ref #202
Since there's a `x-checker-data` block in the build metadata, I believe the flatpak devs and flathub maintainers are aware of the needs to update packages upon upstream changes. However, for...
I have IPC::Cmd in the dependencies and flatpak-cpan-generator fails. ``` $ ./flatpak-cpan-generator.pl IPC::Cmd ** Installing dependencies with cpanm... --> Working on IPC::Cmd Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-1.04.tar.gz ... OK Configuring IPC-Cmd-1.04 ... OK...
When running against the mu-editor package ``` Collecting pyqt5==5.10.1 (from mu-editor) Could not find a version that satisfies the requirement pyqt5==5.10.1 (from mu-editor) (from versions: ) No matching distribution found...