Python 3.14.7 for MorphOS (libnix) - build sources
==================================================

Everything needed to rebuild Python3.14.7-MorphOS.tar.gz and the
developer package, except the large third-party sources:

  build.sh                 build script (Linux/WSL, bash)
  patches/*.diff           the MorphOS SDK 3.20 Python patches
                           (apply with patch -p2; 0017 is already in 3.14.7)
  patches/libnix/*.diff    libnix-specific patches (patch -p1), see SERIES.txt
  morphos/src/             libmorphoscompat: POSIX functions missing from
                           libnix, Unix <-> AmigaDOS path translation
                           (ld --wrap), lseek past EOF, requester suppression
  morphos/include/         shim headers (netdb.h with getaddrinfo, ...)
  morphos/tests/           host unit tests (path conversion, seek emulation)
  morphos/sqlite/          SQLite glue (dotfile-locking VFS, random.library,
                           PYMORPHOS_SQLITE_TRACE)
  morphos/libnix-config.site  autoconf cache for the libnix target
  morphos/dist/            files of the runtime package (README, smoke test)
  tools/amigafy_lha.py     makes a level-1 .lha from LHa for UNIX an "Amiga"
                           archive: OS ID 'A' and AmigaDOS protection bits
                           (----rwed for executables), so MorphOS LhA/XAD
                           restore the 'e' flag

Requirements
  - Linux or WSL with gcc, make, patch, perl, xz, unzip, openssl
  - the MorphOS SDK 3.20 cross toolchain installed in /gg
    (ppc-morphos-gcc-9)
  - a native Python 3.14.7 for the build (--with-build-python), e.g.
    built from the same sources
  - unmodified CPython 3.14.7 sources (python.org), unpacked as
    pristine-3.14.7/ next to build.sh
  - sqlite-amalgamation-3540100.zip from sqlite.org in deps/sqlite/dl/
    (build.sh checks its SHA3-256)

Build
  ./build.sh patch      # pristine-3.14.7 -> Python-3.14.7 + patches
  ./build.sh all        # compat layer, SQLite, configure, make, dist

Adjust HOSTPY at the top of build.sh to your build Python.
