pkgsrc-Users archive

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

Re: build failure for devel/scons



On Tue, Jan 04, 2022 at 09:58:28PM +0100, Thomas Klausner wrote:
> On Sat, Jan 01, 2022 at 11:02:02PM +0100, Joerg Sonnenberger wrote:
> > On Sat, Jan 01, 2022 at 10:33:22PM +0100, Martin Husemann wrote:
> > > On Sat, Jan 01, 2022 at 09:54:20PM +0100, Thomas Klausner wrote:
> > > > Workaround: pkg_delete py*-setuptools before building scons.
> > > 
> > > Stupid question: why do so many pkgs have a full dependency on py*-setuptools
> > > (instead of just a build one)?
> > 
> > Because at least historically, it was necessary to register packages on
> > installation time. lang/python was never updated.
> 
> I've just made setuptools a TOOL_DEPENDS and verified that it doesn't
> break any of the egg.mk packages, and bumped their PKGREVISION.

I was told that many binaries generated using setuptools import
pkg_resources and thus use setuptools. I've gone over all egg.mk
packages with binaries in their PLIST and marked those needing it with
USE_PKG_RESOURCES=yes, which makes it DEPENDS on setuptools instead of
TOOL_DEPENDS.
 Thomas


Home | Main Index | Thread Index | Old Index