svn commit: r542188 - in head/sysutils: . py-jailconf

Kubilay Kocak koobs at FreeBSD.org
Tue Jul 14 02:26:35 UTC 2020


Author: koobs
Date: Tue Jul 14 02:26:34 2020
New Revision: 542188
URL: https://svnweb.freebsd.org/changeset/ports/542188

Log:
  sysutils/py-jailconf: Parse and edit your FreeBSD jail.conf file
  
  Parse and edit your FreeBSD jail.conf file with Python.
  
  WWW: https://github.com/leforestier/jailconf

Added:
  head/sysutils/py-jailconf/
  head/sysutils/py-jailconf/Makefile   (contents, props changed)
  head/sysutils/py-jailconf/distinfo   (contents, props changed)
  head/sysutils/py-jailconf/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Tue Jul 14 02:23:31 2020	(r542187)
+++ head/sysutils/Makefile	Tue Jul 14 02:26:34 2020	(r542188)
@@ -977,6 +977,7 @@
     SUBDIR += py-honcho
     SUBDIR += py-hpilo
     SUBDIR += py-iowait
+    SUBDIR += py-jailconf
     SUBDIR += py-leviathan
     SUBDIR += py-liquidctl
     SUBDIR += py-mitogen

Added: head/sysutils/py-jailconf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-jailconf/Makefile	Tue Jul 14 02:26:34 2020	(r542188)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	jailconf
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.1
+CATEGORIES=	sysutils python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs at FreeBSD.org
+COMMENT=	Parse and edit your FreeBSD jail.conf file
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>=3.9:devel/py-ply@${PY_FLAVOR}
+
+USES=		python:3.0+
+USE_GITHUB=	yes # tests nnot packaged in PyPI sdist
+USE_PYTHON=	autoplist distutils
+
+#LICENSE=	"BSD". Unclear. See Upstream #1
+#LICENSE_FILE=	Does not exist
+
+GH_ACCOUNT=	leforestier
+
+NO_ARCH=	yes
+
+do-test:
+	${TOUCH} ${WRKSRC}/test/__init__.py
+	${MV} ${WRKSRC}/test/jailconf_test.py ${WRKSRC}/test/test_jailconf.py
+	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
+
+.include <bsd.port.mk>

Added: head/sysutils/py-jailconf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-jailconf/distinfo	Tue Jul 14 02:26:34 2020	(r542188)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1594691968
+SHA256 (leforestier-jailconf-v0.2.1_GH0.tar.gz) = b2eef97da86da5b761cdb9fa09d17abfe199b9918451494264aaddc5cfba522e
+SIZE (leforestier-jailconf-v0.2.1_GH0.tar.gz) = 5191

Added: head/sysutils/py-jailconf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-jailconf/pkg-descr	Tue Jul 14 02:26:34 2020	(r542188)
@@ -0,0 +1,3 @@
+Parse and edit your FreeBSD jail.conf file with Python.
+
+WWW: https://github.com/leforestier/jailconf


More information about the svn-ports-all mailing list