diff --git a/devel/py-python-dtrace/Makefile b/devel/py-python-dtrace/Makefile --- a/devel/py-python-dtrace/Makefile +++ b/devel/py-python-dtrace/Makefile @@ -1,5 +1,5 @@ PORTNAME= python-dtrace -PORTVERSION= 0.0.11 +PORTVERSION= 0.0.13 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,17 +12,19 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= python:3.6+ +USES= python USE_PYTHON= autoplist distutils cython cython_run .include -# TODO: Adjust this check once python-dtrace handles installed dtrace headers -# (https://reviews.freebsd.org/D27884). -MAKE_ENV+= FREEBSD_SRC_DIR=${SRC_BASE} +# We need to pass the path to the source for older FreeBSD versions that +# don't install dtrace.h to /usr/include. +.if !exists(/usr/include/dtrace.h) .if !exists(${SRC_BASE}/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h) IGNORE= requires kernel source files in SRC_BASE=${SRC_BASE} .endif +MAKE_ENV+= FREEBSD_SRC_DIR=${SRC_BASE} +.endif # Tests not included in the release tarball, uncomment if this changes. # TEST_DEPENDS=→${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} diff --git a/devel/py-python-dtrace/distinfo b/devel/py-python-dtrace/distinfo --- a/devel/py-python-dtrace/distinfo +++ b/devel/py-python-dtrace/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1610032322 -SHA256 (python-dtrace-0.0.11.tar.gz) = b343728e61cb697ab76eb8091a361d7de6735527c788fc85b979db8356640fbc -SIZE (python-dtrace-0.0.11.tar.gz) = 15143 +TIMESTAMP = 1615201570 +SHA256 (python-dtrace-0.0.13.tar.gz) = 23c6ddb3241686f6845d6333dade5215bb497c3e241a413f8251c42ae941123b +SIZE (python-dtrace-0.0.13.tar.gz) = 15619