Bug 234812 - [NEW PORT] devel/py-libioc: Python 3 library to manage FreeBSD jails with ioc{age,ell}
Summary: [NEW PORT] devel/py-libioc: Python 3 library to manage FreeBSD jails with ioc...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL: https://bsdci.github.io/libioc
Keywords: feature, needs-patch, needs-qa
Depends on:
Blocks: 234816
  Show dependency treegraph
 
Reported: 2019-01-10 08:54 UTC by gronke
Modified: 2019-02-08 20:50 UTC (History)
3 users (show)

See Also:
koobs: maintainer-feedback? (stefan)


Attachments
devel/py-ioc ports package (5.38 KB, text/plain)
2019-01-10 08:54 UTC, gronke
no flags Details
devel/py-libioc ports package (5.64 KB, text/plain)
2019-01-12 05:07 UTC, gronke
no flags Details
devel/py-libioc ports package (1.99 KB, text/plain)
2019-01-12 09:15 UTC, gronke
no flags Details
devel/py-libioc ports package (1.99 KB, text/plain)
2019-02-08 20:50 UTC, gronke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gronke 2019-01-10 08:54:23 UTC
Created attachment 200977 [details]
devel/py-ioc ports package

ioc is a jail manager based on the idea of iocage and iocell. The ioc Python module gives object-oriente access to jails in compatibility with iocage_legacy, iocell and python-iocage (<1.0).

The project was formerly known as libiocage, but has left the iocage project recently.

Due to dependency restriction the package is currently only available for Python 3.6.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-01-10 09:21:25 UTC
ioc is already a registered PyPI name for "A small dependency injection container based on Symfony2 Dependency Component".

I would recommend registering a PyPI name for this project and distributing a source distribution (sdist) in PyPI (CHEESESHOP)

This port should also be renamed according to and to match that registered name
Comment 2 gronke 2019-01-10 09:38:40 UTC
Good catch! I did not register a PyPI package because the module heavily depends on FreeBSD features. There are still dependencies that need a src tree to be checked out (py-libzfs) that make deployments via Pip unsuitable (not impossible with binary Wheels, but a ports package seems to be the better fit).

Will investigate on naming options and modify this Bug accordingly.
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2019-01-12 03:09:37 UTC
(In reply to gronke from comment #2)

Thank you for the additional detail. I would still recommend registering a PyPI name, even if an sdist is not distributed in the immediate term, and renaming the port proposed here accordingly.
Comment 4 gronke 2019-01-12 05:07:25 UTC
Created attachment 201051 [details]
devel/py-libioc ports package

A PyPI package called libioc was registered and this port renamed to devel/py-libioc.

pip Package URL: https://pypi.org/project/libioc/
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2019-01-12 06:12:07 UTC
@Stefan Thank for the update, if you could update the port to use autoplist (should handle everything automatically, use PLIST_FILES for anything 'extra') and confirm that this port (and the one in bug 234816 ) passes QA (portlint, poudriere) that would be great
Comment 6 gronke 2019-01-12 09:15:28 UTC
Created attachment 201052 [details]
devel/py-libioc ports package

The release was updated to v0.5.0, linted and tested with poudriere.
Comment 7 gronke 2019-02-08 20:50:53 UTC
Created attachment 201853 [details]
devel/py-libioc ports package

Update to libioc v0.6.0