Date: Sat, 06 Jul 2013 18:50:22 -0400 From: Nikolai Lifanov <lifanov@mail.lifanov.com> To: koobs@freebsd.org Cc: python@freebsd.org, freebsd-ports@freebsd.org Subject: Re: =?UTF-8?Q?=25=25PYTHON=5FSITELIBDIR=25=25=20in=20pkg-plist?= Message-ID: <ff1fcf10a5263c64fa22b2e49d7e8fd2@mail.lifanov.com> In-Reply-To: <51D83B22.5010307@FreeBSD.org> References: <adddac56a8f7e1c0743abaf81772eccd@mail.lifanov.com> <51D83B22.5010307@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-07-06 11:43, Kubilay Kocak wrote: > On 7/07/2013 12:51 AM, Nikolai Lifanov wrote: >> Hello. >> >> I maintain sysutils/ansible, and I keep wanting to @dirrmtry >> %%PYTHON_SITELIBDIR%% and perhaps %%PYTHON_LIBDIR%%. >> portlint tells me that this is a wrong thing to do, while poudriere >> testport complains about leftover directories. >> >> What is the correct thing to do with these? >> >> - Nikolai Lifanov >> >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to >> "freebsd-ports-unsubscribe@freebsd.org" > > The following are 'normal'leftover entries when testing python ports, > and can safely be ignored: > > %%PYTHON_LIBDIR%%/site-packages/easy-install.pth > %%PYTHON_LIBDIR%%/site-packages/site.py > %%PYTHON_LIBDIR%%/site-packages/site.pyc > %%PYTHON_LIBDIR%%/site-packages/site.pyo > @dirrm %%PYTHON_LIBDIR%%/site-packages > @dirrm %%PYTHON_LIBDIR%% > > The above output is from poudriere, and > %%PYTHON_LIBDIR%%/site-packages/ > is actually %%PYTHON_SITELIBDIR%%. Here, poudriere is just making a > first-variable-from-the-list-wins guess. > > If you see porttools `port test` output, you'll note it displays > %%PYTHON_SITELIBDIR%% as the leftover prefix. They can be ignored as > well. > > Hope that helps :) > > -- > Koobs It makes sense. Thanks for the explanation! I see that the python ports include %%PYTHON_LIBDIR%% themselves. - Nikolai Lifanov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ff1fcf10a5263c64fa22b2e49d7e8fd2>