From 9b4bb3dea2a1c78cf3cb6e3c9651460788ae417b Mon Sep 17 00:00:00 2001 From: tnn Date: Sat, 1 Aug 2020 08:17:43 +0000 Subject: soapy-sdr: delete the python binding. Will be added as a separate package. --- ham/soapy-sdr/Makefile | 16 ++-------------- ham/soapy-sdr/PLIST | 4 +--- ham/soapy-sdr/distinfo | 3 ++- ham/soapy-sdr/patches/patch-CMakeLists.txt | 21 +++++++++++++++++++++ 4 files changed, 26 insertions(+), 18 deletions(-) create mode 100644 ham/soapy-sdr/patches/patch-CMakeLists.txt (limited to 'ham') diff --git a/ham/soapy-sdr/Makefile b/ham/soapy-sdr/Makefile index 406c645d544..faf90085bf8 100644 --- a/ham/soapy-sdr/Makefile +++ b/ham/soapy-sdr/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.1 2020/08/01 07:46:14 tnn Exp $ +# $NetBSD: Makefile,v 1.2 2020/08/01 08:17:43 tnn Exp $ DISTNAME= soapy-sdr-0.7.2 +PKGREVISION= 1 CATEGORIES= ham MASTER_SITES= ${MASTER_SITE_GITHUB:=pothosware/} GITHUB_PROJECT= SoapySDR @@ -15,18 +16,6 @@ USE_CMAKE= yes USE_TOOLS+= pkg-config USE_LANGUAGES+= c c++ -# Uses PyObject_Compare() (Supports python 3.8 in master branch) -PYTHON_VERSIONS_ACCEPTED= 27 -PY_PATCHPLIST= yes - -.include "../../lang/python/pyversion.mk" - -.if !empty(_PYTHON_VERSION:M3*) -CMAKE_ARGS+= -DPYTHON3_EXECUTABLE=${PYTHONBIN:Q} -CMAKE_ARGS+= -DPYTHON3_LIBRARIES=${PREFIX:Q}/${PYLIB:Q} -CMAKE_ARGS+= -DPYTHON3_INCLUDE_DIRS=${PREFIX:Q}/${PYINC:Q} -.endif - SUBST_CLASSES+= getopt SUBST_STAGE.getopt= pre-configure SUBST_MESSAGE.getopt= Fixing getopt_long_only @@ -43,5 +32,4 @@ SUBST_SED.mandir+= -e 's,share/man,${PKGMANDIR},' LDFLAGS+= -lpthread .include "../../devel/boost-headers/buildlink3.mk" -.include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/ham/soapy-sdr/PLIST b/ham/soapy-sdr/PLIST index 561255f31bc..7563e52912c 100644 --- a/ham/soapy-sdr/PLIST +++ b/ham/soapy-sdr/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2020/08/01 07:46:14 tnn Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/08/01 08:17:43 tnn Exp $ bin/SoapySDRUtil include/SoapySDR/Config.h include/SoapySDR/Config.hpp @@ -26,8 +26,6 @@ lib/libSoapySDR.so lib/libSoapySDR.so.0.7 lib/libSoapySDR.so.${PKGVERSION} lib/pkgconfig/SoapySDR.pc -${PYSITELIB}/SoapySDR.py -${PYSITELIB}/_SoapySDR.so man/man1/SoapySDRUtil.1 share/cmake/SoapySDR/SoapySDRConfig.cmake share/cmake/SoapySDR/SoapySDRConfigVersion.cmake diff --git a/ham/soapy-sdr/distinfo b/ham/soapy-sdr/distinfo index b91944a9d37..756bfa22a0c 100644 --- a/ham/soapy-sdr/distinfo +++ b/ham/soapy-sdr/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1 2020/08/01 07:46:14 tnn Exp $ +$NetBSD: distinfo,v 1.2 2020/08/01 08:17:43 tnn Exp $ SHA1 (soapy-sdr-0.7.2.tar.gz) = f2639510f2ba006c1f8f96e53de6809dbbf41c51 RMD160 (soapy-sdr-0.7.2.tar.gz) = bea70c024d73ed0053d4ecc43c9b8a78fb7c60ea SHA512 (soapy-sdr-0.7.2.tar.gz) = 2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371 Size (soapy-sdr-0.7.2.tar.gz) = 124607 bytes +SHA1 (patch-CMakeLists.txt) = b385386b77e988a07f0877a911242b033d7406d3 diff --git a/ham/soapy-sdr/patches/patch-CMakeLists.txt b/ham/soapy-sdr/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..a9fb9b3bd96 --- /dev/null +++ b/ham/soapy-sdr/patches/patch-CMakeLists.txt @@ -0,0 +1,21 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2020/08/01 08:17:43 tnn Exp $ + +--- CMakeLists.txt.orig 2020-01-12 18:05:37.000000000 +0000 ++++ CMakeLists.txt +@@ -126,14 +126,14 @@ message(STATUS "######################## + message(STATUS "## Begin configuration for Python support...") + message(STATUS "#############################################") + message(STATUS "Enabling optional Python bindings if possible...") +-add_subdirectory(python) ++#add_subdirectory(python) + + message(STATUS "") + message(STATUS "#############################################") + message(STATUS "## Begin configuration for Python3 support...") + message(STATUS "#############################################") + message(STATUS "Enabling optional Python3 bindings if possible...") +-add_subdirectory(python3) ++#add_subdirectory(python3) + + + ######################################################################## -- cgit v1.2.3