- Switched build to use build/installer.
- Switched default version to Python 3.10.
- Only install man page / bash completions for the default
Python version.
- Changed SOURCE_URI to avoid:
> LookupError: setuptools-scm was unable to detect version
for /sources/tqdm-4.66.1.
(that error message suggested using PyPI's tarballs instead
of Github ones)
The presence of HaikuPorter's work git repo interferes with the
operation of some python packages used at build time, causing
builds with "hp -G" to succeed, but fail without that flag, unless
these work-arounds are applied:
- exporting a `SETUPTOOLS_SCM_PRETEND_VERSION` variable
- `rm -rf dist`
* python3.8: bulk removal of now obsolete "_python38" packages.
Done via scripting. No functional change intended or expected.
Some manual tweaks will follow.
* python3.8: further manual tweaks after bulk-3.8-removal.
Unlike the previous commit with automated changes,
I've tested builds for *these* recipes in beta4 64 bits.
Listed as a dependency for matplotlib.
Only providing a Python 3.10 for now, as this is a new recipe, and its
only inmediate target user would be matplotlib (that should also be
moved to 3.10).
In any case, I've tested the recipe works for multiple versions,
by locally building it for both 3.9 and 3.10.
Note: built (and very lightly tested) on 64 bits only.
Also, provide a non-versioned pybind11-config symlink to the 3.10 version
(matching our current default Python version).
This should (might?) help with packages as contourpy that expect to find a
non-versioned "pybind11-config".
* Drop usage of gcc2, as no supported Python version uses it.
(but provide "non _x86" on 32 bits).
* Drop support for Python 3.8 (no in-tree usage, other than a
disabled recipe (will work on that later).
* Build with build/installer.
* All test pass OK for the supported Python versions.
* Remove some clutter.
* Provide non-suffixed "cmd:"s for default Python version.
* Drop unnecessary gcc BUILD_PREQUIRES, and switch recipe to "any".
* Add missing typing_extensions dependency.
All "cmd:" now work at least with "--version" parameter, except for
`tkconch`, that deadlocks (known issue for Python + Tk: #6967).
Also: switch SOURCE_URI to github. The tarball there is 7.28 MB,
versus the previous 86.25 MB (due to the inclusion of mupdf.tar.gz,
which we don't need here, and weights 84.36 MB).