tech-pkg archive

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

Re: python package PLIST generation.



On Mon, Jan 18, 2016 at 11:13:21PM +1300, Mark Davies wrote:
> I'm trying to package the python package aiohttp but having problems with the 
> PLIST.
> 
> I create a package, do a make install, then use "make print-PLIST" to create 
> the PLIST. Then clean and do another make install and get this PLIST 
> complaint:
> 
> => Checking file-check results for py35-aiohttp-0.20.2
> ERROR: ************************************************************
> ERROR: The following files are in the PLIST but not in 
> /local/scratch/pkgsrc/mcs/py-aio
> http/work.debretts/.destdir/usr/pkg:
> ERROR:         /local/scratch/pkgsrc/mcs/py-
> aiohttp/work.debretts/.destdir/usr/pkg/lib/
> python3.5/site-packages/aiohttp/__pycache__/abc.opt-1.cpython-35.pyc
>      [...]
> ERROR: ************************************************************
> ERROR: The following files are in /local/scratch/pkgsrc/mcs/py-
> aiohttp/work.debretts/.destdir/usr/pkg but not in the PLIST:
> ERROR:         /local/scratch/pkgsrc/mcs/py-
> aiohttp/work.debretts/.destdir/usr/pkg/lib/python3.5/site-packages/aiohttp/__pycache__/abc.cpython-35.opt-1.pyc
>      [...]
> 
> 
> So the destdir has files of the form
>     ..../__pycache__/XXX.cpython-35.opt-1.pyc
> the PLIST supposedly has
>     ..../__pycache__/XXX.opt-1.cpython-35.pyc
> 
> neither of which is in the actual PLIST.
> 
> So presumably lang/python/plist-python.awk is doing something not quite right.
> Anyone know how to fix it?

Is your lang/python up-to-date?
Are you including lang/python/extension.mk (e.g., via egg.mk or distutils.mk)?
 Thomas


Home | Main Index | Thread Index | Old Index