On 2017/09/13 09:37, Peter Hessler wrote:
> $ cat pkg/DESCR
> Asynchronous parallel SSH client library.
>
> Run SSH commands over many - hundreds/hundreds of thousands - number of
> servers asynchronously and with minimal system load on the client host.
>
> OK?
>
>
> --
> Economists can certainly disappoint you. One said that the economy
> would turn up by the last quarter. Well, I'm down to mine and it
> hasn't.
> -- Robert Orben
"PKGNAME = ${MODPY_PY_PREFIX}${DISTNAME}" - it's easier-reading to just
use py-${DISTNAME} here and let python.port.mk munge it
${MODPY_COMMENT} only goes on the directory not the .pyc files, i.e.
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pssh/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/pssh/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pssh/${MODPY_PYCACHE}_version.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pssh/${MODPY_PYCACHE}agent.${MODPY_PYC_MAGIC_TAG}pyc
the reason for this stuff is that py2 uses site-packages/pssh/*.pyc and
py3 uses site-packages/pssh/__pycache__/*.cpython-36.pyc, without the
MODPY_COMMENT on py27 you have two plist entries creating the same directory.