On Wed, 2 Dec 2015 20:15:06 +0000, Stuart Henderson <st...@openbsd.org>
wrote:

> > > Dont remove the ${MODPY_COMMENT} lines from PLIST as they're used
> > > for py3 FLAVOR.  
> > 
> > Ok, I'm still trying to figure out when to trust make update-plist
> > and when to not to :)  
> 
> For python ports that have a python3 flavour, use 'FLAVOR=python3 make
> REVISION=999 plist', reinstate MODPY_COMMENTs on the ${MODPY_PYCACHE}/
> *directory* entries in plist (not file entries within that directory),
> and check for any other unintended changes. (Also make sure that both
> the normal and python3 flavours can be installed at the same time,
> i.e. no conflicting files).
> 
> For python 2-only python ports, just 'make REVISION=999 plist' and
> check.
> 
> (REVISION=999 is a hack to avoid getting FULLPKGNAME subst'ed in place
> of portname-${MODPY_EGG_VERSION} - if it has a pkg-readme file it will
> need special treatment but this avoids extra work with the majority
> of python ports).

Thanks for the advice!

Reply via email to