- PyPi is queried for an package with coresponding version (if no version is given, highest available is used)
- PyPi metadata is collected, and gpypi.enamer.Enamer.get_vars() is used to collect common ebuild variables
- Initial ebuild is written to overlay with SRC_URI
- Ebuild in unpacked with Portage API through shell
- Unpacked dir is inspected for setup.py information
- Ebuild is rendered again and written to an overlay
- Possible dependencies from setup.py are resolved and whole process is repeated for each one.
All the work is done by gpypi.enamer.Enamer.get_vars(). Specifically:
This module runs numerous tests against whole PyPI. It should be run manually, to detect new possible issues. All failures MUST be first written as unittests and then fixed accordingly.
Important
Issues should not be closed until there are appropriate tests and documentation for the changeset.
List of features that may be implemented in no particular order: