1
0

qml: remove dependency "Pillow" (and its transitive deps)

closes https://github.com/spesmilo/electrum/issues/9572
This commit is contained in:
SomberNight
2025-02-20 17:58:42 +00:00
parent ea4adbb4d6
commit a3fc43cc2d
10 changed files with 111 additions and 147 deletions

View File

@@ -76,7 +76,6 @@ requirements =
cryptography,
pyqt6sip,
pyqt6,
pillow,
libzbar
# (str) Presplash of the application

View File

@@ -1,18 +0,0 @@
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 == "8.4.0"
assert PillowRecipe.depends == ['png', 'jpeg', 'freetype', 'setuptools', 'python3']
assert PillowRecipe.python_depends == []
class PillowRecipePinned(util.InheritedRecipeMixin, PillowRecipe):
sha512sum = "d395f69ccb37c52a3b6f45836700ffbc3173afae31848cc61d7b47db88ca1594541023beb9a14fd9067aca664e182c7d6e3300ab3e3095c31afe8dcbc6e08233"
recipe = PillowRecipePinned()

View File

@@ -1,18 +0,0 @@
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()

View File

@@ -1,18 +0,0 @@
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()

View File

@@ -1,18 +0,0 @@
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()