Browse Source
android build: (qml) pin new transitive dependencies for reproducibility
patch-4
SomberNight
3 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
9 changed files with
152 additions and
0 deletions
-
contrib/android/p4a_recipes/Pillow/__init__.py
-
contrib/android/p4a_recipes/freetype/__init__.py
-
contrib/android/p4a_recipes/jpeg/__init__.py
-
contrib/android/p4a_recipes/libiconv/__init__.py
-
contrib/android/p4a_recipes/libzbar/__init__.py
-
contrib/android/p4a_recipes/png/__init__.py
-
contrib/android/p4a_recipes/pyqt5/__init__.py
-
contrib/android/p4a_recipes/pyqt5sip/__init__.py
-
contrib/android/p4a_recipes/qt5/__init__.py
|
|
@ -0,0 +1,18 @@ |
|
|
|
import os |
|
|
|
|
|
|
|
from pythonforandroid.recipes.Pillow import PillowRecipe |
|
|
|
from pythonforandroid.util import load_source |
|
|
|
|
|
|
|
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py')) |
|
|
|
|
|
|
|
|
|
|
|
assert PillowRecipe._version == "7.0.0" |
|
|
|
assert PillowRecipe.depends == ['png', 'jpeg', 'freetype', 'setuptools', 'python3'] |
|
|
|
assert PillowRecipe.python_depends == [] |
|
|
|
|
|
|
|
|
|
|
|
class PillowRecipePinned(util.InheritedRecipeMixin, PillowRecipe): |
|
|
|
sha512sum = "187173a525d4f3f01b4898633263b53a311f337aa7b159c64f79ba8c7006fd44798a058e7cc5d8f1116bad008e4142ff303456692329fe73b0e115ef5c225d73" |
|
|
|
|
|
|
|
|
|
|
|
recipe = PillowRecipePinned() |
|
|
@ -0,0 +1,18 @@ |
|
|
|
import os |
|
|
|
|
|
|
|
from pythonforandroid.recipes.freetype import FreetypeRecipe |
|
|
|
from pythonforandroid.util import load_source |
|
|
|
|
|
|
|
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py')) |
|
|
|
|
|
|
|
|
|
|
|
assert FreetypeRecipe._version == "2.10.1" |
|
|
|
assert FreetypeRecipe.depends == [] |
|
|
|
assert FreetypeRecipe.python_depends == [] |
|
|
|
|
|
|
|
|
|
|
|
class FreetypeRecipePinned(util.InheritedRecipeMixin, FreetypeRecipe): |
|
|
|
sha512sum = "346c682744bcf06ca9d71265c108a242ad7d78443eff20142454b72eef47ba6d76671a6e931ed4c4c9091dd8f8515ebdd71202d94b073d77931345ff93cfeaa7" |
|
|
|
|
|
|
|
|
|
|
|
recipe = FreetypeRecipePinned() |
|
|
@ -0,0 +1,18 @@ |
|
|
|
import os |
|
|
|
|
|
|
|
from pythonforandroid.recipes.jpeg import JpegRecipe |
|
|
|
from pythonforandroid.util import load_source |
|
|
|
|
|
|
|
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py')) |
|
|
|
|
|
|
|
|
|
|
|
assert JpegRecipe._version == "2.0.1" |
|
|
|
assert JpegRecipe.depends == [] |
|
|
|
assert JpegRecipe.python_depends == [] |
|
|
|
|
|
|
|
|
|
|
|
class JpegRecipePinned(util.InheritedRecipeMixin, JpegRecipe): |
|
|
|
sha512sum = "d456515dcda7c5e2e257c9fd1441f3a5cff0d33281237fb9e3584bbec08a181c4b037947a6f87d805977ec7528df39b12a5d32f6e8db878a62bcc90482f86e0e" |
|
|
|
|
|
|
|
|
|
|
|
recipe = JpegRecipePinned() |
|
|
@ -0,0 +1,18 @@ |
|
|
|
import os |
|
|
|
|
|
|
|
from pythonforandroid.recipes.libiconv import LibIconvRecipe |
|
|
|
from pythonforandroid.util import load_source |
|
|
|
|
|
|
|
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py')) |
|
|
|
|
|
|
|
|
|
|
|
assert LibIconvRecipe._version == "1.15" |
|
|
|
assert LibIconvRecipe.depends == [] |
|
|
|
assert LibIconvRecipe.python_depends == [] |
|
|
|
|
|
|
|
|
|
|
|
class LibIconvRecipePinned(util.InheritedRecipeMixin, LibIconvRecipe): |
|
|
|
sha512sum = "1233fe3ca09341b53354fd4bfe342a7589181145a1232c9919583a8c9979636855839049f3406f253a9d9829908816bb71fd6d34dd544ba290d6f04251376b1a" |
|
|
|
|
|
|
|
|
|
|
|
recipe = LibIconvRecipePinned() |
|
|
@ -0,0 +1,18 @@ |
|
|
|
import os |
|
|
|
|
|
|
|
from pythonforandroid.recipes.libzbar import LibZBarRecipe |
|
|
|
from pythonforandroid.util import load_source |
|
|
|
|
|
|
|
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py')) |
|
|
|
|
|
|
|
|
|
|
|
assert LibZBarRecipe._version == "0.10" |
|
|
|
assert LibZBarRecipe.depends == ['libiconv'] |
|
|
|
assert LibZBarRecipe.python_depends == [] |
|
|
|
|
|
|
|
|
|
|
|
class LibZBarRecipePinned(util.InheritedRecipeMixin, LibZBarRecipe): |
|
|
|
sha512sum = "d624f8ab114bf59c62e364f8b3e334bece48f5c11654739d810ed2b8553b8390a70763b0ae12d83c1472cfeda5d9e1a0b7c9c60228a79bf9f5a6fae4a9f7ccb9" |
|
|
|
|
|
|
|
|
|
|
|
recipe = LibZBarRecipePinned() |
|
|
@ -0,0 +1,18 @@ |
|
|
|
import os |
|
|
|
|
|
|
|
from pythonforandroid.recipes.png import PngRecipe |
|
|
|
from pythonforandroid.util import load_source |
|
|
|
|
|
|
|
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py')) |
|
|
|
|
|
|
|
|
|
|
|
assert PngRecipe._version == "1.6.37" |
|
|
|
assert PngRecipe.depends == [] |
|
|
|
assert PngRecipe.python_depends == [] |
|
|
|
|
|
|
|
|
|
|
|
class PngRecipePinned(util.InheritedRecipeMixin, PngRecipe): |
|
|
|
sha512sum = "f304f8aaaee929dbeff4ee5260c1ab46d231dcb0261f40f5824b5922804b6b4ed64c91cbf6cc1e08554c26f50ac017899a5971190ca557bc3c11c123379a706f" |
|
|
|
|
|
|
|
|
|
|
|
recipe = PngRecipePinned() |
|
|
@ -0,0 +1,18 @@ |
|
|
|
import os |
|
|
|
|
|
|
|
from pythonforandroid.recipes.pyqt5 import PyQt5Recipe |
|
|
|
from pythonforandroid.util import load_source |
|
|
|
|
|
|
|
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py')) |
|
|
|
|
|
|
|
|
|
|
|
assert PyQt5Recipe._version == "5.15.6" |
|
|
|
assert PyQt5Recipe.depends == ['qt5', 'pyjnius', 'setuptools', 'pyqt5sip'] |
|
|
|
assert PyQt5Recipe.python_depends == [] |
|
|
|
|
|
|
|
|
|
|
|
class PyQt5RecipePinned(util.InheritedRecipeMixin, PyQt5Recipe): |
|
|
|
sha512sum = "65fd663cb70e8701e49bd4b39dc9384546cf2edd1b3bab259ca64b50908f48bdc02ca143f36cd6b429075f5616dcc7b291607dcb63afa176e828cded3b82f5c7" |
|
|
|
|
|
|
|
|
|
|
|
recipe = PyQt5RecipePinned() |
|
|
@ -0,0 +1,18 @@ |
|
|
|
import os |
|
|
|
|
|
|
|
from pythonforandroid.recipes.pyqt5sip import PyQt5SipRecipe |
|
|
|
from pythonforandroid.util import load_source |
|
|
|
|
|
|
|
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py')) |
|
|
|
|
|
|
|
|
|
|
|
assert PyQt5SipRecipe._version == "12.9.0" |
|
|
|
assert PyQt5SipRecipe.depends == ['setuptools', 'python3'] |
|
|
|
assert PyQt5SipRecipe.python_depends == [] |
|
|
|
|
|
|
|
|
|
|
|
class PyQt5SipRecipePinned(util.InheritedRecipeMixin, PyQt5SipRecipe): |
|
|
|
sha512sum = "ca6f3b18b64391fded88732a8109a04d85727bbddecdf126679b187c7f0487c3c1f69ada3e8c54051281a43c6f2de70390ac5ff18a1bed79994070ddde730c5f" |
|
|
|
|
|
|
|
|
|
|
|
recipe = PyQt5SipRecipePinned() |
|
|
@ -0,0 +1,8 @@ |
|
|
|
from pythonforandroid.recipes.qt5 import Qt5Recipe |
|
|
|
|
|
|
|
|
|
|
|
assert Qt5Recipe._version == "9b43a43ee96198674060c6b9591e515e2d27c28f" |
|
|
|
assert Qt5Recipe.depends == ['python3'] |
|
|
|
assert Qt5Recipe.python_depends == [] |
|
|
|
|
|
|
|
recipe = Qt5Recipe() |