mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
* docutils: clean up, support Python 3.10. - Use loops to generate the package/version specific PROVIDES. - Use version suffixes for the provided cmds, except for the ones from the package for the default Python version (3.9 currently). Note: Moved suffixes after the ".py", as names like "rst2html4310.py" looked weird, and we can't use "rst2html4-3.10.py" due to the "no dashes in PROVIDES or REQUIRES" rule. * docutils: change script suffixes. Original recipe was using, eg., "rst2html438.py", which looks weird. Previous commit used "rst2html4.py3.8", which at least is consistent with what it's done for Python and pip recipes. This one changes it to "rst2html4-3.8.py", which looks better, and matches what's done on ports for other platforms (MacPorts, for example). * docutils: further clean up. Provide versioned scripts, and also non-versioned symlinks for the scripts from the version of the packate that matches the default Python version (3.9 at the moment). * docutis: update to version 0.19 * docutils: simplify symlinks creation. As pointed out by Jérôme, we can use ln's ability to produce links relative link's location.