Files
packages/libs
Josef Schlehofer 2ccadf6d98 libtorrent-rasterbar: fix the python bindings
Building python3-libtorrent with CMake 4 and Python 3.14 fails in
several places, which the distutils error of 2.0.11 used to hide:

- On 32-bit targets FindPython rejects the 64-bit host interpreter.
  Pass the host python of OpenWrt as Python3_EXECUTABLE, which skips
  that check and keeps CMake on the python that gets setuptools.
- The egg_info step needs setuptools, which the host python no longer
  bundles since Python 3.12. Depend on python-setuptools/host when
  python3-libtorrent is selected.
- CMake names the module after the SOABI of the host interpreter, for
  example libtorrent.cpython-314-x86_64-linux-gnu.so, which the target
  python does not load. Rename it to libtorrent.so after installing.
- The wheel from Py3Build/Compile only held the example scripts as
  top-level modules and a second dist-info. The module always came
  from the CMake install, so drop the wheel steps.
- The module imports datetime when it loads, which python3-base does
  not ship. Depend on python3-light.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit e3a761dd66)
2026-10-05 08:38:04 +02:00
..
2025-11-14 11:26:46 -03:00
…
2026-09-07 13:55:47 +02:00
2025-11-12 19:07:04 +02:00
2025-11-15 22:38:09 +08:00
…
…
2026-10-05 08:00:26 +02:00
…
…
…
2026-09-28 16:18:48 +02:00
2026-01-18 07:32:33 +02:00
…
2025-10-28 23:32:24 +01:00
…
…
2026-05-14 10:17:29 +02:00
2025-10-02 13:37:16 +03:00
2025-11-28 09:45:55 +01:00
2026-04-07 13:27:57 +02:00
2026-04-07 13:27:57 +02:00
2026-05-28 11:44:16 +02:00
2025-11-06 22:29:22 +02:00
2025-11-26 13:05:36 +01:00
2026-05-24 09:28:03 +02:00
2026-05-28 11:44:16 +02:00
2025-11-19 12:22:58 +01:00
2026-04-07 13:27:58 +02:00
2026-09-29 08:46:15 +02:00
2025-11-12 01:46:40 +08:00
…
…
…
2026-08-13 16:25:49 +02:00
2026-03-15 12:25:21 +02:00
2026-03-15 12:25:21 +02:00
…
…
2026-10-05 08:01:04 +02:00
…
…
…
2026-05-24 03:25:12 +03:00
2025-11-20 17:04:44 +01:00
2025-11-14 12:16:53 +01:00
…
…
…
2025-11-15 14:03:59 +02:00
2025-11-15 08:32:37 +02:00