1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

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>
This commit is contained in:
Marcelo Araujo 2012-05-31 17:11:09 +00:00
parent f6edf467e5
commit 8b053f764a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297886
5 changed files with 50 additions and 0 deletions

View File

@ -712,6 +712,7 @@
SUBDIR += pwsafe
SUBDIR += py-XenAPI
SUBDIR += py-bcfg2
SUBDIR += py-danzfs
SUBDIR += py-drmaa
SUBDIR += py-filelike
SUBDIR += py-nagiosplugin

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (danzfs-0.1.1.tar.xz) = 79672edcc4f253b32fbfcc6233f7134955acba421882c5f3a4715b1b6b2e038a
SIZE (danzfs-0.1.1.tar.xz) = 6756

View File

@ -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/

View File

@ -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%%