Merge branch 'optional-deps-for-macOS' into 'master'

install biplist and pycountry by default on macOS

See merge request fdroid/fdroidserver!1569
This commit is contained in:
Jochen Sprickerhof 2024-11-25 14:39:34 +00:00
commit 67e27cc706
2 changed files with 3 additions and 3 deletions

View file

@ -392,9 +392,6 @@ macOS:
- /bin/bash --version
- /bin/bash -n gradlew-fdroid tests/run-tests
# TODO remove the packages below once they are included in the Homebrew package
- $(brew --prefix fdroidserver)/libexec/bin/python3 -m pip install biplist oscrypto pycountry
# test fdroidserver from git with current package's dependencies
- fdroid="$(brew --prefix fdroidserver)/libexec/bin/python3 $PWD/fdroid" ./tests/run-tests

View file

@ -93,6 +93,8 @@ setup(
'platformdirs',
'androguard >= 3.3.5',
'asn1crypto',
# TODO use biplist on all platforms once IPA support is stable
'biplist ; sys_platform=="darwin"',
'clint',
'defusedxml',
'GitPython',
@ -101,6 +103,7 @@ setup(
'Pillow',
'apache-libcloud >= 0.14.1',
'puremagic',
'pycountry ; sys_platform=="darwin"',
'python-vagrant',
'PyYAML',
'qrcode',