Date: Wed, 13 Sep 2017 10:52:41 +0930 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: "Mikhail T." <mi+r29b@aldan.algebra.com>, python@FreeBSD.org Subject: Re: Having trouble with USES=python Message-ID: <8f980dcf-555f-8031-e546-07fc126de6df@ShaneWare.Biz> In-Reply-To: <5295784b-7d47-bd34-94ef-f17ec266024b@aldan.algebra.com> References: <5295784b-7d47-bd34-94ef-f17ec266024b@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13/09/2017 06:03, Mikhail T. wrote: > Hello! > > I've created the below port "by the book". However, something is not > right about the install -- some of the files duly installed into > STAGEDIR make their way neither into package nor into PREFIX. > > The check-plist complains about /some/ of the omissions: > > ===> Checking for items in STAGEDIR missing from pkg-plist > Error: Orphaned: > %%PYTHON_SITELIBDIR%%/scudcloud/resources/disable_snippets.js > Error: Orphaned: %%PYTHON_SITELIBDIR%%/scudcloud/resources/leftpane.js > Error: Orphaned: %%PYTHON_SITELIBDIR%%/scudcloud/resources/scudcloud.js > ===> Checking for items in pkg-plist which are not in STAGEDIR > > but not /all/ of them -- none of the icons, which are found under > STAGEDIR, make their way into ${PREFIX}/share/icons/ > > What am I doing wrong? Thank you! Yours, > > -mi With your Makefile - USE_PYTHON= autoplist distutils hunspell hunspell is not a python option, it should be as LIB_DEPENDS+= libhunspell-1.6.so:textproc/hunspell As you are using autoplist the file list is generated based on data in setup.py, like "package_data". You should patch setup.py so that it picks up the missing files and also adjust where it is installing data files such as icons, that may mean prefixing ${PREFIX} with ${STAGEDIR}. You may find those missing icons in /${PREFIX}/share/icons/ rather than within the ports work dir. -- FreeBSD - the place to B...Software Developing Shane Ambler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8f980dcf-555f-8031-e546-07fc126de6df>