tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: patch: handling python distutils and egg files
On Sat, Jul 24, 2010 at 08:00:28AM -0400, Greg Troxel wrote:
> >> diff -u -p -r1.4 PLIST
> >> --- security/py-crypto/PLIST 23 Jul 2010 23:24:19 -0000 1.4
> >> +++ security/py-crypto/PLIST 24 Jul 2010 01:39:23 -0000
> >> @@ -265,4 +265,4 @@ ${PYSITELIB}/Crypto/__init__.pyo
> >> ${PYSITELIB}/Crypto/pct_warnings.py
> >> ${PYSITELIB}/Crypto/pct_warnings.pyc
> >> ${PYSITELIB}/Crypto/pct_warnings.pyo
> >> -${PYSITELIB}/${EGG_FILE}
> >> +${EGG_MAYBE}${PYSITELIB}/${EGG_FILE}
> >
> > IIUC, this is not needed?
>
> It is necessary because when built under Python 2.4 the egg file will
> not be created, but under 2.5+ it will be.
Sorry for not asking more verbosely, but what I meant was that you have
PRINT_PLIST_AWK+=
{gsub("${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info",
"$${EGG_MAYBE}$${PYSITELIB}/$${EGG_FILE}") }
and I'm wondering if that that doesn't mean that
${PYSITELIB}/${EGG_FILE}
in the PLIST should automatically commented out, and we don't need to
change PLISTs?
Thomas
Home |
Main Index |
Thread Index |
Old Index