svn commit: r561084 - in head/devel/py-python-dtrace: . files
Alex Richardson
arichardson at FreeBSD.org
Sun Jan 10 16:10:46 UTC 2021
Author: arichardson (src committer)
Date: Sun Jan 10 16:10:45 2021
New Revision: 561084
URL: https://svnweb.freebsd.org/changeset/ports/561084
Log:
devel/py-python-dtrace: Update to 0.0.11
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
Deleted:
head/devel/py-python-dtrace/files/
Modified:
head/devel/py-python-dtrace/Makefile
head/devel/py-python-dtrace/distinfo
Modified: head/devel/py-python-dtrace/Makefile
==============================================================================
--- head/devel/py-python-dtrace/Makefile Sun Jan 10 16:04:33 2021 (r561083)
+++ head/devel/py-python-dtrace/Makefile Sun Jan 10 16:10:45 2021 (r561084)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= python-dtrace
-PORTVERSION= 0.0.9
+PORTVERSION= 0.0.11
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,22 @@ COMMENT= DTrace consumer for Python based on libdtrace
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python:3.6+ zip
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python:3.6+
USE_PYTHON= autoplist distutils cython cython_run
-.if !exists(${SRC_BASE}/sys/cddl/contrib/opensolaris/uts/common/dtrace.h)
-IGNORE= you must have "device dtrace" included in your kernel to build this package
+
+# 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>
Modified: head/devel/py-python-dtrace/distinfo
==============================================================================
--- head/devel/py-python-dtrace/distinfo Sun Jan 10 16:04:33 2021 (r561083)
+++ head/devel/py-python-dtrace/distinfo Sun Jan 10 16:10:45 2021 (r561084)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1476182943
-SHA256 (python-dtrace-0.0.9.zip) = 9daa24fe3b5d16c17c4afed00d3b2b2f869598efc5a8100b8570342713328912
-SIZE (python-dtrace-0.0.9.zip) = 21764
+TIMESTAMP = 1610032322
+SHA256 (python-dtrace-0.0.11.tar.gz) = b343728e61cb697ab76eb8091a361d7de6735527c788fc85b979db8356640fbc
+SIZE (python-dtrace-0.0.11.tar.gz) = 15143
More information about the svn-ports-head
mailing list