diff options
author | wg <wg@FreeBSD.org> | 2015-06-24 06:54:21 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2015-06-24 06:54:21 +0800 |
commit | aed97272c512dfecdf5c558f646a4d346902dce1 (patch) | |
tree | daf30d8d78c4457c48e2134ced38c28316bf6e4d | |
parent | 3a65e53e2462df68266de6643e656e9ebff50b33 (diff) | |
download | freebsd-ports-gnome-aed97272c512dfecdf5c558f646a4d346902dce1.tar.gz freebsd-ports-gnome-aed97272c512dfecdf5c558f646a4d346902dce1.tar.zst freebsd-ports-gnome-aed97272c512dfecdf5c558f646a4d346902dce1.zip |
devel/py-libzfs: Python libzfs bindings using cython.
WWW: https://github.com/freenas/py-libzfs
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-libzfs/Makefile | 36 | ||||
-rw-r--r-- | devel/py-libzfs/distinfo | 2 | ||||
-rw-r--r-- | devel/py-libzfs/pkg-descr | 3 |
4 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 23f91db8811c..4204a3a6fb5a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3957,6 +3957,7 @@ SUBDIR += py-libpeas SUBDIR += py-libplist SUBDIR += py-libvirt + SUBDIR += py-libzfs SUBDIR += py-ll-core SUBDIR += py-lock_file SUBDIR += py-lockfile diff --git a/devel/py-libzfs/Makefile b/devel/py-libzfs/Makefile new file mode 100644 index 000000000000..7f4d3d64616a --- /dev/null +++ b/devel/py-libzfs/Makefile @@ -0,0 +1,36 @@ +# Created by: William Grzybowski <wg@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= libzfs +PORTVERSION= 1.0 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wg@FreeBSD.org +COMMENT= Python libzfs bindings + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= cython>0:${PORTSDIR}/lang/cython + +USE_GITHUB= yes +GH_ACCOUNT= freenas +GH_PROJECT= py-libzfs +GH_TAGNAME= af5d66e + +USES= python +USE_PYTHON= autoplist distutils + +MAKE_ENV= FREEBSD_SRC=${SRC_BASE} + +.include <bsd.port.pre.mk> + +.if !exists(${SRC_BASE}/sys/Makefile) +IGNORE= requires kernel source files in ${SRC_BASE} +.endif + +.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1000000 +IGNORE= This module requires at least FreeBSD 10 +.endif + +.include <bsd.port.post.mk> diff --git a/devel/py-libzfs/distinfo b/devel/py-libzfs/distinfo new file mode 100644 index 000000000000..df9c2be6c344 --- /dev/null +++ b/devel/py-libzfs/distinfo @@ -0,0 +1,2 @@ +SHA256 (freenas-py-libzfs-1.0-af5d66e_GH0.tar.gz) = 7c7e1ddeb4f9bd24c7b3d282dd6798c029bae8c3133b106427ab1b4e41559171 +SIZE (freenas-py-libzfs-1.0-af5d66e_GH0.tar.gz) = 18450 diff --git a/devel/py-libzfs/pkg-descr b/devel/py-libzfs/pkg-descr new file mode 100644 index 000000000000..08efa8bf4c59 --- /dev/null +++ b/devel/py-libzfs/pkg-descr @@ -0,0 +1,3 @@ +Python libzfs bindings using cython. + +WWW: https://github.com/freenas/py-libzfs |