Packages the distutils stdlib module as a standalone package,
```
377K distutils.data
221K distutils.data.br
19K distutils.js
```
to reduce the minimal pyodide size.

Part of #1542 

This also,
 - adds documentation on what's supported or not in the stdlib
 - makes a few changes to `pyodide_build/buildall.py` to be able to add such stdlib packages as a dependency in other packages (which didn't work before). For instance, until there is a release with https://github.com/pypa/packaging/pull/396 micropip has a dependency on distutils.
Unvendor distutils. Packages the distutils stdlib module as a standalone package,
```
377K distutils.data
221K distutils.data.br
19K distutils.js
```
to reduce the minimal pyodide size.

Part of #1542 

This also,
 - adds documentation on what's supported or not in the stdlib
 - makes a few changes to `pyodide_build/buildall.py` to be able to add such stdlib packages as a dependency in other packages (which didn't work before). For instance, until there is a release with https://github.com/pypa/packaging/pull/396 micropip has a dependency on distutils.
package:
  name: joblib
  version: "0.11"

source:
  url: https://pypi.io/packages/source/j/joblib/joblib-0.11.tar.gz
  sha256: 7b8fd56df36d9731a83729395ccb85a3b401f62a96255deb1a77220c00ed4085

  patches:
    - patches/use-setuptools.patch
    - patches/ctypes-import.patch

test:
  imports:
    - joblib

package:
  name: joblib
  version: "0.11"

requirements:
  run:
  - distutils

source:
  url: https://pypi.io/packages/source/j/joblib/joblib-0.11.tar.gz
  sha256: 7b8fd56df36d9731a83729395ccb85a3b401f62a96255deb1a77220c00ed4085

  patches:
    - patches/use-setuptools.patch
    - patches/ctypes-import.patch

test:
  imports:
    - joblib
