Hi, I tested a little something even if it is still very rudimentary... and given that I am not a Python developer the code is probably quite ugly.
With the last few commits to oi-userland you can use: $ gmake update-latest in Python components to modify the Makefile to the latest known version in PyPI. The rest of the procedure remains fairly manual so far... Some notes specific to Python components: 1) If the COMPONENT_ARCHIVE_URL is set to $(call pypi_url) you can remove it. 2) The COMPONENT_PYPI macro is default set to COMPONENT_NAME but you may need to define it if there is a discrepancy. 3) If the component uses PyPI then the checksum will be automatically updated to the one stored in the JSON metadata. 4) This is all very basic, in particular you need to check if the latest version supports all Python versions or only Python >= 3.x, and if needed split the component into 2.x and 3.x. Next step will be to use the 'require_dist' metadata to generate dependencies. We are just a few maintainers so as Till said, let us try to be smart... Kind regards, Aurélien -- --- Praise the Caffeine embeddings
_______________________________________________ oi-dev mailing list [email protected] https://openindiana.org/mailman/listinfo/oi-dev
