Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2021 12:15:48 GMT
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 81f3562e82b7 - main - devel/py-python-dtrace: Update to 0.0.13
Message-ID:  <202104211215.13LCFm70066128@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arichardson (src committer):

URL: https://cgit.FreeBSD.org/ports/commit/?id=81f3562e82b7371578cfaefafd524c1c155bffe8

commit 81f3562e82b7371578cfaefafd524c1c155bffe8
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-04-21 12:11:58 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2021-04-21 12:14:48 +0000

    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
---
 devel/py-python-dtrace/Makefile | 12 +++++++-----
 devel/py-python-dtrace/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/devel/py-python-dtrace/Makefile b/devel/py-python-dtrace/Makefile
index ab15e1af27b7..f26bac54aa9c 100644
--- 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 @@ 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}
diff --git a/devel/py-python-dtrace/distinfo b/devel/py-python-dtrace/distinfo
index de3908c48cfa..708d3cca1854 100644
--- 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104211215.13LCFm70066128>