aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/py-danzfs
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2012-06-01 01:11:09 +0800
committeraraujo <araujo@FreeBSD.org>2012-06-01 01:11:09 +0800
commit9c3203556cc71d9320284e666bea4b73b3b552d3 (patch)
tree0685e506ebfd05a50e0e6564c3279e6684bb9dbe /sysutils/py-danzfs
parent6e07aaa0dff8b875c32bedd99848bfbbab114666 (diff)
downloadfreebsd-ports-gnome-9c3203556cc71d9320284e666bea4b73b3b552d3.tar.gz
freebsd-ports-gnome-9c3203556cc71d9320284e666bea4b73b3b552d3.tar.zst
freebsd-ports-gnome-9c3203556cc71d9320284e666bea4b73b3b552d3.zip
DanZFS provides a Python API for checking the status of ZFS without the use of
libzfs. WWW: http://code.google.com/p/danzfs/ PR: ports/168370 Submitted by: Daniel Knaggs <knaggsy2000@gmail.com>
Diffstat (limited to 'sysutils/py-danzfs')
-rw-r--r--sysutils/py-danzfs/Makefile31
-rw-r--r--sysutils/py-danzfs/distinfo2
-rw-r--r--sysutils/py-danzfs/pkg-descr4
-rw-r--r--sysutils/py-danzfs/pkg-plist12
4 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/py-danzfs/Makefile b/sysutils/py-danzfs/Makefile
new file mode 100644
index 000000000000..1969f84399ff
--- /dev/null
+++ b/sysutils/py-danzfs/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: danzfs
+# Date created: 26 May 2012
+# Whom: Daniel Knaggs <knaggsy2000@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= danzfs
+PORTVERSION= 0.1.1
+CATEGORIES= sysutils python
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= knaggsy2000@gmail.com
+COMMENT= Provides a Python API for interacting with ZFS without using libzfs
+
+LICENSE= BSD
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+USE_XZ= yes
+
+WRKSRC= ${WRKDIR}/danzfs
+
+EXAMPLESDIR= ${PREFIX}/share/examples/danzfs
+
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+
+.include <bsd.port.mk>
diff --git a/sysutils/py-danzfs/distinfo b/sysutils/py-danzfs/distinfo
new file mode 100644
index 000000000000..e4db9219e97e
--- /dev/null
+++ b/sysutils/py-danzfs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (danzfs-0.1.1.tar.xz) = 79672edcc4f253b32fbfcc6233f7134955acba421882c5f3a4715b1b6b2e038a
+SIZE (danzfs-0.1.1.tar.xz) = 6756
diff --git a/sysutils/py-danzfs/pkg-descr b/sysutils/py-danzfs/pkg-descr
new file mode 100644
index 000000000000..d50f7791f52a
--- /dev/null
+++ b/sysutils/py-danzfs/pkg-descr
@@ -0,0 +1,4 @@
+DanZFS provides a Python API for checking the status of ZFS without the use of
+libzfs.
+
+WWW: http://code.google.com/p/danzfs/
diff --git a/sysutils/py-danzfs/pkg-plist b/sysutils/py-danzfs/pkg-plist
new file mode 100644
index 000000000000..47aa3c151b55
--- /dev/null
+++ b/sysutils/py-danzfs/pkg-plist
@@ -0,0 +1,12 @@
+%%PYTHON_SITELIBDIR%%/danzfs.py
+%%PYTHON_SITELIBDIR%%/danzfs.pyc
+%%PYTHON_SITELIBDIR%%/danzfs.pyo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_get.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_list_everything.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_list_filesystems.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_list_snapshots.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zfs_list_volumes.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zpool_iostat.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zpool_list.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zpool_status.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%