summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-zsm-lib/Makefile28
-rw-r--r--devel/py-zsm-lib/distinfo3
-rw-r--r--devel/py-zsm-lib/pkg-descr8
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9f3548dbd74c..3617f65b2e80 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5279,6 +5279,7 @@
SUBDIR += py-zope.testing
SUBDIR += py-zope.traversing
SUBDIR += py-zope.viewlet
+ SUBDIR += py-zsm-lib
SUBDIR += py_static_check
SUBDIR += pybind11
SUBDIR += pybugz
diff --git a/devel/py-zsm-lib/Makefile b/devel/py-zsm-lib/Makefile
new file mode 100644
index 000000000000..d04bf93c7a80
--- /dev/null
+++ b/devel/py-zsm-lib/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= zsm-lib
+PORTVERSION= 0.2.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= mattias.lindvall@gmail.com
+COMMENT= ZFS Snapshot Manager Library
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sarge>=0.1.5:devel/py-sarge@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}marshmallow>=3.0.0.b20:devel/py-marshmallow@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.6.4:devel/py-pytest@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.mk>
diff --git a/devel/py-zsm-lib/distinfo b/devel/py-zsm-lib/distinfo
new file mode 100644
index 000000000000..2c5d9307ca2a
--- /dev/null
+++ b/devel/py-zsm-lib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1545496581
+SHA256 (zsm-lib-0.2.0.tar.gz) = 1a6a261ae4cee635386489fc9a6a188047fc17b3eb28198bcef9377570fc3d95
+SIZE (zsm-lib-0.2.0.tar.gz) = 7268
diff --git a/devel/py-zsm-lib/pkg-descr b/devel/py-zsm-lib/pkg-descr
new file mode 100644
index 000000000000..b97b64f3f1b8
--- /dev/null
+++ b/devel/py-zsm-lib/pkg-descr
@@ -0,0 +1,8 @@
+A python library that manages ZFS snapshots.
+
+- Manage multiple sets of rolling snapshots.
+- Configure a custom schedule via the config file.
+
+See also zsm, which provides a console interface to zsm-lib.
+
+WWW: https://zsm.rtfd.io/