-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android build: p4a to build pyqt5 using "hostpython" instead of sys py
The current system python in the docker baseimage is py3.9, while the targetpython and hostpython built by p4a are py3.8, and this was causing linker issues in the pyqt5 build. It is also cleaner IMHO to have p4a handle what is needed for a recipe instead of assuming it is available in the system. (and I think this is how other existing recipes work) fixes #8016
- Loading branch information
1 parent
47c480b
commit 1789778
Showing
9 changed files
with
70 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from pythonforandroid.recipes.packaging import PackagingRecipe | ||
|
||
|
||
assert PackagingRecipe._version == "21.3" | ||
assert PackagingRecipe.depends == ["setuptools", "pyparsing", "python3"] | ||
assert PackagingRecipe.python_depends == [] | ||
|
||
|
||
class PackagingRecipePinned(PackagingRecipe): | ||
sha512sum = "2e3aa276a4229ac7dc0654d586799473ced9761a83aa4159660d37ae1a2a8f30e987248dd0e260e2834106b589f259a57ce9936eef0dcc3c430a99ac6b663e05" | ||
|
||
|
||
recipe = PackagingRecipePinned() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from pythonforandroid.recipes.pyparsing import PyparsingRecipe | ||
|
||
|
||
assert PyparsingRecipe._version == "3.0.7" | ||
assert PyparsingRecipe.depends == ["setuptools", "python3"] | ||
assert PyparsingRecipe.python_depends == [] | ||
|
||
|
||
class PyparsingRecipePinned(PyparsingRecipe): | ||
sha512sum = "1e692f4cdaa6b6e8ca2729d0a3e2ba16d978f1957c538b6de3a4220ec7d996bdbe87c41c43abab851fffa3b0498a05841373e435602917b8c095042e273badb5" | ||
|
||
|
||
recipe = PyparsingRecipePinned() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from pythonforandroid.recipes.pyqt_builder import PyQtBuilderRecipe | ||
|
||
|
||
assert PyQtBuilderRecipe._version == "1.12.2" | ||
assert PyQtBuilderRecipe.depends == ["sip", "packaging", "python3"] | ||
assert PyQtBuilderRecipe.python_depends == [] | ||
|
||
|
||
class PyQtBuilderRecipePinned(PyQtBuilderRecipe): | ||
sha512sum = "022f2cd40c100543c4b442fc5b27bbf2ec853d94b531f8f6dc1d7f92b07bcc20e8f0a4eb64feb96d094ba0d5f01fddcc8aed23ddf67a61417e07983a73918230" | ||
|
||
|
||
recipe = PyQtBuilderRecipePinned() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from pythonforandroid.recipes.sip import SipRecipe | ||
|
||
|
||
assert SipRecipe._version == "6.5.1" | ||
assert SipRecipe.depends == ["setuptools", "packaging", "toml", "python3"] | ||
assert SipRecipe.python_depends == [] | ||
|
||
|
||
class SipRecipePinned(SipRecipe): | ||
sha512sum = "2d6f225e653873462d97dfdc85bd308a26b66996e1bb98e2c3aa60a3b260db745021f1d3182db8e943fd216ee27a2f65731b96d287e94f8f2e7972c5df971c69" | ||
|
||
|
||
recipe = SipRecipePinned() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from pythonforandroid.recipes.toml import TomlRecipe | ||
|
||
|
||
assert TomlRecipe._version == "0.10.2" | ||
assert TomlRecipe.depends == ["setuptools", "python3"] | ||
assert TomlRecipe.python_depends == [] | ||
|
||
|
||
class TomlRecipePinned(TomlRecipe): | ||
sha512sum = "ede2c8fed610a3827dba828f6e7ab7a8dbd5745e8ef7c0cd955219afdc83b9caea714deee09e853627f05ad1c525dc60426a6e9e16f58758aa028cb4d3db4b39" | ||
|
||
|
||
recipe = TomlRecipePinned() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,5 @@ pep517<0.7.0 | |
toml | ||
|
||
# needed for the Qt/QML Android GUI: | ||
PyQt-builder | ||
# TODO double-check this | ||
typing-extensions |