# Created by: William Grzybowski # $FreeBSD: head/devel/py-libzfs/Makefile 413682 2016-04-20 12:07:28Z wg $ PORTNAME= libzfs PORTVERSION= 1.0 PORTREVISION= 5 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wg@FreeBSD.org COMMENT= Python libzfs bindings LICENSE= BSD2CLAUSE BUILD_DEPENDS= cython>0:lang/cython USE_GITHUB= yes GH_ACCOUNT= freenas GH_PROJECT= py-libzfs GH_TAGNAME= faa3e92 USES= python USE_PYTHON= autoplist distutils MAKE_ENV= FREEBSD_SRC=${SRC_BASE} .include .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel source files in ${SRC_BASE} .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000 IGNORE= This module requires at least FreeBSD 10.2 .endif .include