pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wheel.mk & setuptools: py-wheel mostly unneeded nowadays



On Mon, Nov 11, 2024 at 12:46:29PM -0500, Greg Troxel wrote:
> I wonder if wheel.mk should have variables that define the needed tools,
> and default to TOOL_DEPENDINGing on setuptools.  But I am very much
> non-expert about py-building-stuff.

I thought about that but it would probably look like

PYTHON_BUILD_FRAMEWORK=	 setuptools

instead of

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools

and I'm not sure it's much easier (yes, we could ?= default it to
setuptools).

Another idea would be to put the "${MV} foo foo-${PYVERSSUFFIX}" into
variables instead, something like

PYTHON_VERSIONED_BINARIES=   bin/foo
 Thomas


Home | Main Index | Thread Index | Old Index