mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
539efbdf26
I have committed changes upstream to allow building against Python3 as well as patches to build on FreeBSD, so the current patches are no longer needed. Reviewed by: swills Differential Revision: https://reviews.freebsd.org/D28020
34 lines
966 B
Makefile
34 lines
966 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= python-dtrace
|
|
PORTVERSION= 0.0.11
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= gcj21@cl.cam.ac.uk
|
|
COMMENT= DTrace consumer for Python based on libdtrace
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils cython cython_run
|
|
|
|
|
|
# TODO: Adjust this check once python-dtrace handles installed dtrace headers
|
|
# (https://reviews.freebsd.org/D27884).
|
|
MAKE_ENV+= FREEBSD_SRC_DIR=${SRC_BASE}
|
|
.if !exists(${SRC_BASE}/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h)
|
|
IGNORE= requires kernel source files in SRC_BASE=${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}
|
|
#do-test:
|
|
# @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
|
|
|
|
.include <bsd.port.mk>
|