[Bug 255722] Mk/Uses/python.mk: Needs to support pyproject.toml-based projects: USE_PYTHON=build feature
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Aug 2022 23:17:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722 --- Comment #10 from Yuri Victorovich <yuri@freebsd.org> --- (In reply to Charlie Li from comment #9) Hi Charlie, Thanks for your comment. Current implementation is functionally almost identical to your description in https://wiki.freebsd.org/Python/PEP-517: * It is PEP-517 compliant. * It requires port maintainers to parse pyproject.toml and add DEPENDS lines accordingly (this is also done in the supplied examples). * It checks that requirements are met, and fails otherwise. Differences: * I used USE_PYTHON=build instead of USE_PYTHON=pep517: the user intent here is to build the project. IMO there's no need to put the standard name into Makefiles in many places. "build" is a lot easier to remember. * autoplist isn't currently supported. It isn't obvious that it should be. Benefits of this implementation: * It is minimalistic. It does exactly what is required with as little code as possible. * It uses only build/installer packages, a minimally required set of dependencies, and still provides the same functionality. Best, Yuri -- You are receiving this mail because: You are on the CC list for the bug.