aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-libiocage/Makefile
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2018-10-05 03:02:48 +0800
committerwg <wg@FreeBSD.org>2018-10-05 03:02:48 +0800
commit3a15d1f6e1eb373bffee3b5a602a3ff8994aa830 (patch)
treea9fba56c9771a77eb20d8398a723fbdf81738194 /devel/py-libiocage/Makefile
parent5062b075dcd2781f9d12f5e4ecfd36f270b00fcb (diff)
downloadfreebsd-ports-gnome-3a15d1f6e1eb373bffee3b5a602a3ff8994aa830.tar.gz
freebsd-ports-gnome-3a15d1f6e1eb373bffee3b5a602a3ff8994aa830.tar.zst
freebsd-ports-gnome-3a15d1f6e1eb373bffee3b5a602a3ff8994aa830.zip
devel/py-libiocage: Library to manage jails with iocage
Provides programmatic access to iocage features and jails, while aiming to be compatible with iocage-legacy, and the current Python 3 version of iocage. WWW: https://github.com/iocage/libiocage
Diffstat (limited to 'devel/py-libiocage/Makefile')
-rw-r--r--devel/py-libiocage/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/devel/py-libiocage/Makefile b/devel/py-libiocage/Makefile
new file mode 100644
index 000000000000..5251bad477aa
--- /dev/null
+++ b/devel/py-libiocage/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= libiocage
+PORTVERSION= 0.3.0.20181001
+CATEGORIES= devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= maintainers@iocage.io
+COMMENT= Library to manage jails with iocage
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}GitPython>0:devel/py-gitpython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ucl>0:textproc/py-ucl@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}libzfs>0:devel/py-libzfs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sysctl>0:devel/py-sysctl@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}texttable>0:textproc/py-texttable@${PY_FLAVOR} \
+ ca_root_nss>0:security/ca_root_nss \
+ rsync:net/rsync
+
+USE_GITHUB= yes
+GH_ACCOUNT= iocage
+GH_PROJECT= libiocage
+GH_TAGNAME= cee9351
+
+NO_ARCH= yes
+USES= python:3.6+
+USE_PYTHON= distutils py3kplist
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/ioc ${STAGEDIR}${PREFIX}/etc/rc.d/ioc
+
+.include <bsd.port.mk>