Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2019 05:20:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234816] [NEW PORT] sysutils/ioc: CLI tool for jail management with libioc{age,ell}
Message-ID:  <bug-234816-7788-nCgbY2KaLs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234816-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234816-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234816

--- Comment #5 from gronke <stefan@gronke.net> ---
> Python ports should almost always be prefixed with PKGNAMEPREFIX=3DPYTHON=
_PKGNAMEPREFIX.

That is not required for this package because it is not an importable Python
module.

> NO_BUILD=3Dyes - replace with USE_PYTHON=3Ddistutils autoplist (variable =
is currently defined but empty incorrectly)

The variable is empty on purpose. Although this project uses Python (and has
dependencies coming from Pip), it does not build a Python distribution.
USE_PYTHON=3D is indeed wanted, but the fact that no files are written to
PKGNAMEPREFIX makes it unnecessary to prefix this package with py36-*.

Otherwise users would be surprised that installing py36-ioc does not result=
 in
availability of the according module.

> The PORTNAME is not consistent with the setup.py:name (ioc_cli)

Before the rename of bug #234812 from devel/py-ioc to devel/py-libioc this =
CLI
tool and the Python module had the same name. There is reason to use the Py=
thon
module libioc without installing the CLI, which is only one client using the
library.

The internal module name ioc_cli is only internally used to build the Click
command structure.

> Use USE_RC_SUBR for the rc.d script, after copying the file from WRKSRC t=
o files/ (FILESDIR) at post-extract: time. See: https://www.freebsd.org/doc=
/en/books/porters-handbook/book.html#rc-scripts

Thanks for the hint, will do!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234816-7788-nCgbY2KaLs>