devel/py-python-dtrace: Update to 0.0.13

This can now be built without the source tree present since
dtrace.h is now installed for FreeBSD13+.

Test Plan:	builds on my RPI4 without /usr/src now.
Reviewed By:	lwhsu
Differential Revision: https://reviews.freebsd.org/D29127
This commit is contained in:
Alex Richardson 2021-04-21 13:11:58 +01:00
parent dba0d9a7d3
commit 81f3562e82
2 changed files with 10 additions and 8 deletions

View File

@ -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 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
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 <bsd.port.pre.mk>
# 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}

View File

@ -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