Create a python3 version of devel/py-libzfs.

Approved by:	wg@ (maintainer)
This commit is contained in:
Marcelo Araujo 2017-03-22 12:26:50 +00:00
parent 73386a73b4
commit 64ad069cc5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436694
3 changed files with 14 additions and 1 deletions

View File

@ -4915,6 +4915,7 @@
SUBDIR += py3-hgtools
SUBDIR += py3-jsonschema
SUBDIR += py3-libpeas
SUBDIR += py3-libzfs
SUBDIR += py3-lxml
SUBDIR += py3-mccabe
SUBDIR += py3-nose

View File

@ -18,13 +18,19 @@ GH_ACCOUNT= freenas
GH_PROJECT= py-libzfs
GH_TAGNAME= fb5b8f2
USES= python
USES?= python
USE_PYTHON= autoplist distutils
MAKE_ENV= FREEBSD_SRC=${SRC_BASE}
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 3306
BUILD_DEPENDS= cython>0:lang/cython3
.else
BUILD_DEPENDS= cython>0:lang/cython
.endif
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34
.endif

View File

@ -0,0 +1,6 @@
MASTERDIR= ${.CURDIR}/../py-libzfs
USES= python:3.3+
.include "${MASTERDIR}/Makefile"