[...] > Nicely done and that fixed it so it compiles now. Now, the last part I > am stuck on is that the package has an underscore in it: > > Writing > /usr/local/lib/python2.7/site-packages/apsw-3.8.0.2_r1-py2.7.egg-info > > which kills me on deinstall: > > pkg_delete: file > '/usr/local/lib/python2.7/site-packages/apsw-3.8.0.2-py2.7.egg-info' > doesn't exist
You can change the name of the egg-info file via the PYDISTUTILS_EGGINFO
variable. Something like the following might do the trick for you:
PYDISTUTILS_EGGINFO=${PORTNAME}-${PORTVERSION}_r1-py${PYTHON_VER}...
However, the egg-info consists of multiple parts, so you might go an
easier route by setting PYDISTUTILS_PKGVERSION to something like:
PYDISTUTILS_PKGVERSION= ${PORTVERSION}_r1
and leave the _EGGINFO variable alone. Check /usr/ports/Mk/bsd.python.mk
for further details about how the egg info file name is built, The
documentation on the knobs is fairly good.
Cheers
Marcus
pgpHUuQH_SDbk.pgp
Description: PGP signature
