pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/uhd uhd: switch to python 3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c93186f2421d
branches:  trunk
changeset: 381513:c93186f2421d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jul 08 14:26:11 2022 +0000

description:
uhd: switch to python 3

Bump PKGREVISION.

diffstat:

 ham/uhd/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r f070edb6218a -r c93186f2421d ham/uhd/Makefile
--- a/ham/uhd/Makefile  Fri Jul 08 14:24:46 2022 +0000
+++ b/ham/uhd/Makefile  Fri Jul 08 14:26:11 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.68 2022/06/30 11:18:30 nia Exp $
+# $NetBSD: Makefile,v 1.69 2022/07/08 14:26:11 wiz Exp $
 
 DISTNAME=      uhd-4.1.0.5
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    ham
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=EttusResearch/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -19,11 +19,13 @@
 CMAKE_ARGS+=   -DPKG_MAN_DIR=${PKGMANDIR}/man1
 CMAKE_ARGS+=   -DRST2HTML_EXECUTABLE=${PREFIX}/bin/rst2html-${PYVERSSUFFIX}.py
 CMAKE_ARGS+=   -Wno-dev
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/pyversion.mk"
+
 CMAKE_ARGS+=   -DPYTHON_EXECUTABLE=${PYTHONBIN}
-.if !empty(_PYTHON_VERSION:M3*)
 CMAKE_ARGS+=   -DENABLE_PYTHON3=ON
-.endif
 
 # Upstream says C++11 is required, even though it is not documented.
 # It is documented that gcc 4.8 is required, when using gcc.



Home | Main Index | Thread Index | Old Index