Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding flatpak manifest + python dependencies for flatpak #697

Closed
wants to merge 1 commit into from

Conversation

jeteokeeffe
Copy link

I've added the flatpak manifest along with python dependencies file (necessary to create flatpak application). If you have any problems, questions or whatever, let me know.

You'll need to follow these steps to get the app to flathub repository.
https://github.com/flathub/flathub/wiki/App-Submission#how-to-submit-an-app

@genodeftest
Copy link
Member

Do we have to have fixed versions in the python-depends.json file? I.e. every time any of these packages is updated, we need to change this file?

@jeteokeeffe
Copy link
Author

Yes, the python dependencies are locked to a specific version. I have a python dependencies file that flatpak needs to build that locks versions.

For example

"modules": [
        {
            "name": "python3-dbus-python",
            "buildsystem": "simple",
            "build-commands": [
                "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} dbus-python"
            ],
            "sources": [
                {
                    "type": "file",
                    "url": "https://files.pythonhosted.org/packages/62/7e/d4fb56a1695fa65da0c8d3071855fa5408447b913c58c01933c2f81a269a/dbus-python-1.2.16.tar.gz",
                    "sha256": "11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4"
                }
            ]
        },

@jeteokeeffe jeteokeeffe closed this by deleting the head repository May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants