pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/textproc/py-patiencediff



On Sun, Jan 07, 2024 at 08:43:10PM +0100, Rhialto wrote:
> On Sun 07 Jan 2024 at 16:36:46 +0000, Thomas Klausner wrote:
> > +TOOL_DEPENDS+=     ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
> > +TOOL_DEPENDS+=     ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
> 
> Wouldn't it make sense if that were included in
> "../../lang/python/wheel.mk", if it's needed? Especially the second one,
> given the names.

No.

The name comes from the Python file format (whl) that is used as base
for the pkgsrc binary package.

There are many different tools that can be used for creating such whl
files. setuptools + wheel is a common one, but there are at about a
dozen of them, and many of them don't need py-wheel.

> The package built fine without these explicit dependencies, even when I
> built for python 3.11 for which I started with no python3.11 nor python
> modules at all.

Not if you install the dependencies from binary packages.

I'm pretty sure you let it install the dependencies and didn't clean
up, so the tool dependencies of one of the package's dependencies were
still installed, which is why it worked for you.
 Thomas



Home | Main Index | Thread Index | Old Index