Apply upstream cpython commits to relocate test directories. Fetch some CPython upstream commits that [relocate stdlib test files into `test` directory](https://github.com/python/cpython/issues/93839). This is a  preparation for #3166.
Previously `ctypes` and `unittest` modules had test directories in them so it was hard to bundle them in a zipfile. I hoped this to be included in Python 3.11, but sadly it was delayed to 3.12.





package:
  name: ffmpeg
  version: "4.4.1"

source:
  url: https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n4.4.1.tar.gz
  sha256: 82b43cc67296bcd01a59ae6b327cdb50121d3a9e35f41a30de1edd71bb4a6666
  extract_dir: FFmpeg-n4.4.1
build:
  type: static_library
  script: |
    emconfigure ./configure \
      --extra-cflags="-fPIC" \
      --disable-x86asm \
      --disable-inline-asm \
      --disable-doc \
      --disable-stripping \
      --disable-programs \
      --disable-pthreads \
      --nm="$PYODIDE_ROOT/emsdk/emsdk/upstream/bin/llvm-nm -g" \
      --ar=emar --cc=emcc --cxx=em++ --objcc=emcc --dep-cc=emcc --ranlib=emranlib \
      --prefix=${WASM_LIBRARY_DIR}

    emmake make -j${PYODIDE_JOBS:-3}
    emmake make install

package:
  name: ffmpeg
  version: "4.4.1"

source:
  url: https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n4.4.1.tar.gz
  sha256: 82b43cc67296bcd01a59ae6b327cdb50121d3a9e35f41a30de1edd71bb4a6666
  extract_dir: FFmpeg-n4.4.1
build:
  type: static_library
  script: |
    emconfigure ./configure \
      --extra-cflags="-fPIC" \
      --disable-x86asm \
      --disable-inline-asm \
      --disable-doc \
      --disable-stripping \
      --disable-programs \
      --disable-pthreads \
      --nm="$PYODIDE_ROOT/emsdk/emsdk/upstream/bin/llvm-nm -g" \
      --ar=emar --cc=emcc --cxx=em++ --objcc=emcc --dep-cc=emcc --ranlib=emranlib \
      --prefix=${WASM_LIBRARY_DIR}

    emmake make -j${PYODIDE_JOBS:-3}
    emmake make install
