Use python3-requests and deps from flatpak-common

This commit is contained in:
Kalev Lember 2023-08-03 17:42:19 +02:00
commit c7614c67c6
2 changed files with 2 additions and 34 deletions

View file

@ -12,8 +12,3 @@ flatpak:
--socket=fallback-x11
--socket=wayland
--socket=pulseaudio
cleanup-commands: |
ln -sfn /usr/lib/python3.*/site-packages/six.py \
/app/lib/python3.*/site-packages/urllib3/packages/six.py
ln -sfn /usr/lib/python3.*/site-packages/__pycache__/six.* \
/app/lib/python3.*/site-packages/urllib3/packages/__pycache__/

View file

@ -13,15 +13,13 @@ data:
- MIT
buildopts:
arches: [aarch64, x86_64]
rpms:
macros: |
%_py3_shebang_s %nil
%_without_tests 1
dependencies:
- buildrequires:
flatpak-common: [f38]
flatpak-runtime: [f38]
platform: [f38]
requires:
flatpak-common: [f38]
flatpak-runtime: [f38]
platform: [f38]
profiles:
@ -33,15 +31,10 @@ data:
- python3-gtts
# indirect deps
- python3-beautifulsoup4
- python3-charset-normalizer
- python3-click
- python3-gtts-token
- python3-idna
- python3-lxml
- python3-pysocks
- python3-requests
- python3-soupsieve
- python3-urllib3
components:
rpms:
dbus-python:
@ -65,36 +58,16 @@ data:
rationale: Runtime dependency
ref: f38
arches: [aarch64, x86_64]
python-charset-normalizer:
rationale: Runtime dependency
ref: f38
arches: [aarch64, x86_64]
python-click:
rationale: Runtime dependency
ref: f38
arches: [aarch64, x86_64]
python-idna:
rationale: Runtime dependency
ref: f38
arches: [aarch64, x86_64]
python-lxml:
rationale: Runtime dependency
ref: f38
arches: [aarch64, x86_64]
python-pysocks:
rationale: Runtime dependency
ref: f38
arches: [aarch64, x86_64]
python-requests:
rationale: Runtime dependency
ref: f38
arches: [aarch64, x86_64]
python-soupsieve:
rationale: Runtime dependency
ref: f38
arches: [aarch64, x86_64]
python-urllib3:
rationale: Runtime dependency
ref: f38
arches: [aarch64, x86_64]
...