Create a python3 version of devel/py-libzfs.
Approved by: wg@ (maintainer)
This commit is contained in:
parent
73386a73b4
commit
64ad069cc5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436694
@ -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
|
||||
|
@ -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
|
||||
|
6
devel/py3-libzfs/Makefile
Normal file
6
devel/py3-libzfs/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../py-libzfs
|
||||
|
||||
USES= python:3.3+
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
Loading…
Reference in New Issue
Block a user