mirror-komikku/flatpak
Valéry Febvre 40dc989233 [Flatpak] Manifest: Updates GNUStep 2023-05-18 00:23:56 +02:00
..
README.md [Flatpak] Refine cb3653c2 2022-08-17 21:24:28 +02:00
flatpak-cargo-generator.py Cleanup 2022-12-20 14:34:41 +01:00
flatpak-pip-generator Cleanup 2022-12-20 14:34:41 +01:00
info.febvre.Komikku.json [Flatpak] Manifest: Updates GNUStep 2023-05-18 00:23:56 +02:00
python3-beautifulsoup4.json Cleanup 2022-12-20 14:34:41 +01:00
python3-brotli.json Cleanup 2022-12-20 14:34:41 +01:00
python3-cffi.json Cleanup 2022-12-20 14:34:41 +01:00
python3-cryptography-cargo-deps.json Cleanup 2022-12-20 14:34:41 +01:00
python3-dateparser.json [Flatpak] Bump version of Python dateparser to 1.1.8 2023-03-23 22:37:53 +01:00
python3-emoji.json Cleanup 2022-12-20 14:34:41 +01:00
python3-file-magic.json Cleanup 2022-12-20 14:34:41 +01:00
python3-keyring.json [Flatpak] Added Rust dependencies of Python cryptography to avoid --share-network option (not allowed in Flathub sandbox) 2022-08-17 21:00:44 +02:00
python3-lxml.json [Flatpak] Add --ignore-installed option to Python lxml 2021-10-21 00:02:27 +02:00
python3-natsort.json Cleanup 2022-12-20 14:34:41 +01:00
python3-piexif.json [Servers] VizManga: Refines 96b894d7 2023-03-16 01:38:21 +01:00
python3-pillow.json Cleanup 2022-12-20 14:34:41 +01:00
python3-pure-protobuf.json Cleanup 2022-12-20 14:34:41 +01:00
python3-rarfile.json Cleanup 2022-12-20 14:34:41 +01:00
python3-requests.json [Servers] dd6f72b6 2023-03-29 18:58:00 +02:00
python3-setuptools_rust.json Cleanup 2022-12-20 14:34:41 +01:00
python3-unidecode.json Cleanup 2022-12-20 14:34:41 +01:00

README.md

Generate Rust dependencies of Python cryptography

Why?: Because, in Flathub sandbox, -share-network option is not allowed.

  1. Get and uncompress Python cryptography sources somewhere.

  2. Generate Cargo.lock file:

cd /path/to/cryptography-x.y.z
cargo vendor --manifest-path src/rust/
  1. Generate sources list JSON file in Komikku flatpak folder:
cd /path/to/Komikku/flatpak
python flatpak-cargo-generator.py /path/to/cryptography-x.y.z/src/rust/Cargo.lock -o python3-cryptography-cargo-deps.json

python3-cryptography-cargo-deps.json is used in python3-keyring.json.