🥔 install biplist for ci tests

biplist is an optional python dependency required for processing iOS
apps. (.ipa files)
This commit is contained in:
Michael Pöhn 2023-12-30 00:06:16 +01:00 committed by Hans-Christoph Steiner
parent 7211e9f9b4
commit 881943a0db
2 changed files with 7 additions and 3 deletions

View File

@ -20,7 +20,7 @@ buildserver run-tests:
image: registry.gitlab.com/fdroid/fdroidserver:buildserver
script:
- apt-get update
- apt-get install gnupg-agent python3-babel python3-clint python3-pycountry
- apt-get install gnupg-agent python3-babel python3-biplist python3-clint python3-pycountry
- ./tests/run-tests
# make sure that translations do not cause stacktraces
- cd $CI_PROJECT_DIR/locale
@ -154,8 +154,8 @@ ubuntu_jammy_pip:
- $pip install sdkmanager
- sdkmanager 'build-tools;33.0.0'
# pycountry is only for linting config/mirrors.yml, so its not in setup.py
- $pip install pycountry
# Install extras_require.optional from setup.py
- $pip install biplist pycountry
- $pip install dist/fdroidserver-*.tar.gz
- tar xzf dist/fdroidserver-*.tar.gz

View File

@ -108,7 +108,11 @@ setup(
'sdkmanager >= 0.6.4',
'yamllint',
],
# Some requires are only needed for very limited cases:
# * biplist is only used for parsing Apple .ipa files
# * pycountry is only for linting config/mirrors.yml
extras_require={
'optional': ['biplist', 'pycountry'],
'test': ['pyjks', 'html5print'],
'docs': [
'sphinx',