On 2016/09/15 22:10, Daniel Jakots wrote: > On Sat, 27 Aug 2016 21:21:07 +0100, Stuart Henderson > <s...@spacehopper.org> wrote: > > > You have to bump them all because otherwise packaging will fail > > (PLIST_DB). If you are going to this trouble anyway it is probably > > worth looking at setting PKGSPEC for setuputils to reduce the need > > for future bumps.. > > So I'm looking again at this update. > I looked at PKGSPEC. I looked at the +CONTENTS in a package that > depends on setuptools and there is : > @depend devel/py-setuptools:py-setuptools->=18.2v0:py-setuptools-18.2p0v0 > which must comes from > MODPY_SETUPUTILS_DEPEND ?= devel/py-setuptools${MODPY_FLAVOR}>=18.2v0 > in lang/python/python.port.mk > > and AFAIU how PKGSPEC works, it would do the same thing so I don't > really see how it would help?
Hmmmm. Looks like I may have been wrong, I've just done a bit of testing and it seems that changing the version part of the package spec in MODPY_SETUPUTILS_DEPEND actually does *not* require REVISION bumps for dependent ports. Here's the version using PKGSPEC, but from my newer testing I think that this would be exactly equivalent to just changing MODPY_SETUPUTILS_DEPEND. python.port.mk: MODPY_SETUPUTILS_DEPEND ?= devel/py-setuptools${MODPY_FLAVOR} devel/py-setuptools/Makefile: PKGSPEC = ${MODPY_PY_PREFIX}setuptools->=18.2v0