Fri Jul 8 14:26:11 2022 UTC ()
uhd: switch to python 3

Bump PKGREVISION.


(wiz)
diff -r1.68 -r1.69 pkgsrc/ham/uhd/Makefile

cvs diff -r1.68 -r1.69 pkgsrc/ham/uhd/Makefile (expand / switch to unified diff)

--- pkgsrc/ham/uhd/Makefile 2022/06/30 11:18:30 1.68
+++ pkgsrc/ham/uhd/Makefile 2022/07/08 14:26:11 1.69
@@ -1,39 +1,41 @@ @@ -1,39 +1,41 @@
1# $NetBSD: Makefile,v 1.68 2022/06/30 11:18:30 nia Exp $ 1# $NetBSD: Makefile,v 1.69 2022/07/08 14:26:11 wiz Exp $
2 2
3DISTNAME= uhd-4.1.0.5 3DISTNAME= uhd-4.1.0.5
4PKGREVISION= 2 4PKGREVISION= 3
5CATEGORIES= ham 5CATEGORIES= ham
6MASTER_SITES= ${MASTER_SITE_GITHUB:=EttusResearch/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=EttusResearch/}
7GITHUB_TAG= v${PKGVERSION_NOREV} 7GITHUB_TAG= v${PKGVERSION_NOREV}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/EttusResearch/uhd 10HOMEPAGE= https://github.com/EttusResearch/uhd
11COMMENT= USRP (Universal Software Radio Peripheral) Hardware Drivers 11COMMENT= USRP (Universal Software Radio Peripheral) Hardware Drivers
12LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
13 13
14DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako 14DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
15DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests 15DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
16 16
17CMAKE_ARGS+= -DLIB_SUFFIX="" 17CMAKE_ARGS+= -DLIB_SUFFIX=""
18CMAKE_ARGS+= -DENABLE_MAN_PAGE_COMPRESSION=OFF 18CMAKE_ARGS+= -DENABLE_MAN_PAGE_COMPRESSION=OFF
19CMAKE_ARGS+= -DPKG_MAN_DIR=${PKGMANDIR}/man1 19CMAKE_ARGS+= -DPKG_MAN_DIR=${PKGMANDIR}/man1
20CMAKE_ARGS+= -DRST2HTML_EXECUTABLE=${PREFIX}/bin/rst2html-${PYVERSSUFFIX}.py 20CMAKE_ARGS+= -DRST2HTML_EXECUTABLE=${PREFIX}/bin/rst2html-${PYVERSSUFFIX}.py
21CMAKE_ARGS+= -Wno-dev 21CMAKE_ARGS+= -Wno-dev
 22
 23PYTHON_VERSIONS_INCOMPATIBLE= 27
 24
22.include "../../lang/python/pyversion.mk" 25.include "../../lang/python/pyversion.mk"
 26
23CMAKE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHONBIN} 27CMAKE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHONBIN}
24.if !empty(_PYTHON_VERSION:M3*) 
25CMAKE_ARGS+= -DENABLE_PYTHON3=ON 28CMAKE_ARGS+= -DENABLE_PYTHON3=ON
26.endif 
27 29
28# Upstream says C++11 is required, even though it is not documented. 30# Upstream says C++11 is required, even though it is not documented.
29# It is documented that gcc 4.8 is required, when using gcc. 31# It is documented that gcc 4.8 is required, when using gcc.
30# https://github.com/EttusResearch/uhd/issues/236 32# https://github.com/EttusResearch/uhd/issues/236
31# 33#
32# Upstream does not seem to have any documentation that gnu++11 is 34# Upstream does not seem to have any documentation that gnu++11 is
33# required, but it builds with tha and not with c++11 on netbsd-8. No 35# required, but it builds with tha and not with c++11 on netbsd-8. No
34# ticket filed because #236 resulted in in-ticket clarification only 36# ticket filed because #236 resulted in in-ticket clarification only
35# (and not a doc edit), and having experimented no clarification is 37# (and not a doc edit), and having experimented no clarification is
36# needed. 38# needed.
37USE_CMAKE= yes 39USE_CMAKE= yes
38USE_LANGUAGES= c gnu++14 40USE_LANGUAGES= c gnu++14
39USE_TOOLS+= pkg-config 41USE_TOOLS+= pkg-config