Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2018 19:02:48 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481243 - in head/devel: . py-libiocage py-libiocage/files
Message-ID:  <201810041902.w94J2mGA008379@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Thu Oct  4 19:02:48 2018
New Revision: 481243
URL: https://svnweb.freebsd.org/changeset/ports/481243

Log:
  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

Added:
  head/devel/py-libiocage/
  head/devel/py-libiocage/Makefile   (contents, props changed)
  head/devel/py-libiocage/distinfo   (contents, props changed)
  head/devel/py-libiocage/files/
  head/devel/py-libiocage/files/patch-setup.py   (contents, props changed)
  head/devel/py-libiocage/pkg-descr   (contents, props changed)
  head/devel/py-libiocage/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Oct  4 18:46:20 2018	(r481242)
+++ head/devel/Makefile	Thu Oct  4 19:02:48 2018	(r481243)
@@ -4694,6 +4694,7 @@
     SUBDIR += py-lazr.delegates
     SUBDIR += py-lazy
     SUBDIR += py-lazy-object-proxy
+    SUBDIR += py-libiocage
     SUBDIR += py-liblarch
     SUBDIR += py-libpeas
     SUBDIR += py-libplist

Added: head/devel/py-libiocage/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-libiocage/Makefile	Thu Oct  4 19:02:48 2018	(r481243)
@@ -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>

Added: head/devel/py-libiocage/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-libiocage/distinfo	Thu Oct  4 19:02:48 2018	(r481243)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1538659662
+SHA256 (iocage-libiocage-0.3.0.20181001-cee9351_GH0.tar.gz) = 613c665fd4630e968637d82a03ffe41a1cb19ba2ee635f24f44332cccf7842de
+SIZE (iocage-libiocage-0.3.0.20181001-cee9351_GH0.tar.gz) = 142020

Added: head/devel/py-libiocage/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-libiocage/files/patch-setup.py	Thu Oct  4 19:02:48 2018	(r481243)
@@ -0,0 +1,10 @@
+--- setup.py.orig	2018-10-04 10:36:15 UTC
++++ setup.py
+@@ -94,7 +94,6 @@ setup(
+     include_package_data=True,
+     install_requires=iocage_requirements["install_requires"],
+     dependency_links=iocage_requirements["dependency_links"],
+-    setup_requires=['pytest-runner'],
+     tests_require=['pytest', 'pytest-cov', 'pytest-pep8']
+ )
+ 

Added: head/devel/py-libiocage/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-libiocage/pkg-descr	Thu Oct  4 19:02:48 2018	(r481243)
@@ -0,0 +1,4 @@
+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

Added: head/devel/py-libiocage/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-libiocage/pkg-plist	Thu Oct  4 19:02:48 2018	(r481243)
@@ -0,0 +1,105 @@
+bin/ioc
+etc/rc.d/ioc
+%%PYTHON_SITELIBDIR%%/ioc-0.3.0-py%%PYTHON_VER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/ioc-0.3.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/ioc-0.3.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/ioc-0.3.0-py%%PYTHON_VER%%.egg-info/entry_points.txt
+%%PYTHON_SITELIBDIR%%/ioc-0.3.0-py%%PYTHON_VER%%.egg-info/requires.txt
+%%PYTHON_SITELIBDIR%%/ioc-0.3.0-py%%PYTHON_VER%%.egg-info/top_level.txt
+%%PYTHON_SITELIBDIR%%/ioc/__init__.py
+%%PYTHON_SITELIBDIR%%/ioc/activate.py
+%%PYTHON_SITELIBDIR%%/ioc/clone.py
+%%PYTHON_SITELIBDIR%%/ioc/console.py
+%%PYTHON_SITELIBDIR%%/ioc/create.py
+%%PYTHON_SITELIBDIR%%/ioc/deactivate.py
+%%PYTHON_SITELIBDIR%%/ioc/destroy.py
+%%PYTHON_SITELIBDIR%%/ioc/exec.py
+%%PYTHON_SITELIBDIR%%/ioc/export.py
+%%PYTHON_SITELIBDIR%%/ioc/fetch.py
+%%PYTHON_SITELIBDIR%%/ioc/fstab.py
+%%PYTHON_SITELIBDIR%%/ioc/get.py
+%%PYTHON_SITELIBDIR%%/ioc/import.py
+%%PYTHON_SITELIBDIR%%/ioc/list.py
+%%PYTHON_SITELIBDIR%%/ioc/migrate.py
+%%PYTHON_SITELIBDIR%%/ioc/pkg.py
+%%PYTHON_SITELIBDIR%%/ioc/promote.py
+%%PYTHON_SITELIBDIR%%/ioc/provision.py
+%%PYTHON_SITELIBDIR%%/ioc/rename.py
+%%PYTHON_SITELIBDIR%%/ioc/restart.py
+%%PYTHON_SITELIBDIR%%/ioc/set.py
+%%PYTHON_SITELIBDIR%%/ioc/shared/__init__.py
+%%PYTHON_SITELIBDIR%%/ioc/shared/click.py
+%%PYTHON_SITELIBDIR%%/ioc/shared/jail.py
+%%PYTHON_SITELIBDIR%%/ioc/shared/output.py
+%%PYTHON_SITELIBDIR%%/ioc/snapshot.py
+%%PYTHON_SITELIBDIR%%/ioc/start.py
+%%PYTHON_SITELIBDIR%%/ioc/stop.py
+%%PYTHON_SITELIBDIR%%/ioc/update.py
+%%PYTHON_SITELIBDIR%%/iocage-0.3.0-py%%PYTHON_VER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/iocage-0.3.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/iocage-0.3.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/iocage-0.3.0-py%%PYTHON_VER%%.egg-info/requires.txt
+%%PYTHON_SITELIBDIR%%/iocage-0.3.0-py%%PYTHON_VER%%.egg-info/top_level.txt
+%%PYTHON_SITELIBDIR%%/iocage/BridgeInterface.py
+%%PYTHON_SITELIBDIR%%/iocage/CommandQueue.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Dataset.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/BaseConfig.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/Defaults.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/File/Fstab.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/File/RCConf.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/File/SysctlConf.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/File/__init__.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/JailConfig.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/Properties/Addresses.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/Properties/Defaultrouter.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/Properties/Interfaces.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/Properties/Resolver.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/Properties/ResourceLimit.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/Properties/__init__.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Jail/__init__.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Prototype.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Type/JSON.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Type/UCL.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Type/ZFS.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/Type/__init__.py
+%%PYTHON_SITELIBDIR%%/iocage/Config/__init__.py
+%%PYTHON_SITELIBDIR%%/iocage/Datasets.py
+%%PYTHON_SITELIBDIR%%/iocage/DevfsRules.py
+%%PYTHON_SITELIBDIR%%/iocage/Distribution.py
+%%PYTHON_SITELIBDIR%%/iocage/Filter.py
+%%PYTHON_SITELIBDIR%%/iocage/Firewall.py
+%%PYTHON_SITELIBDIR%%/iocage/Host.py
+%%PYTHON_SITELIBDIR%%/iocage/IPAddress.py
+%%PYTHON_SITELIBDIR%%/iocage/Jail.py
+%%PYTHON_SITELIBDIR%%/iocage/JailState.py
+%%PYTHON_SITELIBDIR%%/iocage/Jails.py
+%%PYTHON_SITELIBDIR%%/iocage/LaunchableResource.py
+%%PYTHON_SITELIBDIR%%/iocage/ListableResource.py
+%%PYTHON_SITELIBDIR%%/iocage/Logger.py
+%%PYTHON_SITELIBDIR%%/iocage/MacAddress.py
+%%PYTHON_SITELIBDIR%%/iocage/Network.py
+%%PYTHON_SITELIBDIR%%/iocage/NetworkInterface.py
+%%PYTHON_SITELIBDIR%%/iocage/NullFSBasejailStorage.py
+%%PYTHON_SITELIBDIR%%/iocage/Pkg.py
+%%PYTHON_SITELIBDIR%%/iocage/Prompts.py
+%%PYTHON_SITELIBDIR%%/iocage/Provisioning/__init__.py
+%%PYTHON_SITELIBDIR%%/iocage/Provisioning/ix.py
+%%PYTHON_SITELIBDIR%%/iocage/Release.py
+%%PYTHON_SITELIBDIR%%/iocage/Releases.py
+%%PYTHON_SITELIBDIR%%/iocage/Resource.py
+%%PYTHON_SITELIBDIR%%/iocage/ResourceBackup.py
+%%PYTHON_SITELIBDIR%%/iocage/ResourceSelector.py
+%%PYTHON_SITELIBDIR%%/iocage/ResourceUpdater.py
+%%PYTHON_SITELIBDIR%%/iocage/SecureTarfile.py
+%%PYTHON_SITELIBDIR%%/iocage/StandaloneJailStorage.py
+%%PYTHON_SITELIBDIR%%/iocage/Storage.py
+%%PYTHON_SITELIBDIR%%/iocage/Types.py
+%%PYTHON_SITELIBDIR%%/iocage/VersionedResource.py
+%%PYTHON_SITELIBDIR%%/iocage/ZFS.py
+%%PYTHON_SITELIBDIR%%/iocage/ZFSBasejailStorage.py
+%%PYTHON_SITELIBDIR%%/iocage/ZFSShareStorage.py
+%%PYTHON_SITELIBDIR%%/iocage/__init__.py
+%%PYTHON_SITELIBDIR%%/iocage/errors.py
+%%PYTHON_SITELIBDIR%%/iocage/events.py
+%%PYTHON_SITELIBDIR%%/iocage/helpers.py
+%%PYTHON_SITELIBDIR%%/iocage/helpers_object.py



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810041902.w94J2mGA008379>