Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Aug 2022 23:17:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 255722] Mk/Uses/python.mk: Needs to support pyproject.toml-based projects: USE_PYTHON=build feature
Message-ID:  <bug-255722-21822-HTCfLxuYoZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255722-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255722-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255722

--- 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=3Dbuild instead of USE_PYTHON=3Dpep517: 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

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255722-21822-HTCfLxuYoZ>