svn commit: r562484 - in branches/2021Q1/devel/py-python-dtrace: . files
Antoine Brodin
antoine at FreeBSD.org
Sun Jan 24 15:56:00 UTC 2021
Author: antoine
Date: Sun Jan 24 15:55:59 2021
New Revision: 562484
URL: https://svnweb.freebsd.org/changeset/ports/562484
Log:
MFH: r561084 r562477
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
Make sure SRC_BASE is defined before testing it
Deleted:
branches/2021Q1/devel/py-python-dtrace/files/
Modified:
branches/2021Q1/devel/py-python-dtrace/Makefile
branches/2021Q1/devel/py-python-dtrace/distinfo
Directory Properties:
branches/2021Q1/ (props changed)
Modified: branches/2021Q1/devel/py-python-dtrace/Makefile
==============================================================================
--- branches/2021Q1/devel/py-python-dtrace/Makefile Sun Jan 24 15:38:29 2021 (r562483)
+++ branches/2021Q1/devel/py-python-dtrace/Makefile Sun Jan 24 15:55:59 2021 (r562484)
@@ -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,23 @@ 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
+.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}
+.if !exists(${SRC_BASE}/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h)
+IGNORE= requires kernel source files in SRC_BASE=${SRC_BASE}
.endif
-.include <bsd.port.mk>
+# 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.post.mk>
Modified: branches/2021Q1/devel/py-python-dtrace/distinfo
==============================================================================
--- branches/2021Q1/devel/py-python-dtrace/distinfo Sun Jan 24 15:38:29 2021 (r562483)
+++ branches/2021Q1/devel/py-python-dtrace/distinfo Sun Jan 24 15:55:59 2021 (r562484)
@@ -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-branches
mailing list