Hi Python team.

I'm starting to work on a new port of azure-cli.

These are the new dependent ports that I have until now:

  sysutils/py-azure-cli-core
    -> devel/py-azure-cli-telemetry
      -> devel/py-portalocker
    -> devel/py-azure-mgmt-resource
    -> textproc/py-antlr4-python2-runtime  # Python 2
    -> textproc/py-antlr4-python3-runtime  # Python 3
       Maybe add $PY_ANTLR4 to Mk/Uses/python.mk?

And this is the main port: sysutils/py-azure-cli
https://pypi.org/project/azure-cli/

It depends on other 50 modules (not mandatory) that are also hosted on PyPI.
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/setup.py#L51-L102

IMHO there are these approaches.

1) Bundle all modules in sysutils/py-azure-cli.
2) Create 50 additional ports for all modules.
   sysutils/py-azure-cli depending on all of them.
   And maybe a slave port sysutils/py-azure-cli-standalone that doesn't depend
   any module, so the users can choose what module to install.

Any advices here?

And thank you for your time.
-- 
Danilo G. Baio (dbaio)

Attachment: signature.asc
Description: PGP signature

Reply via email to