soapy-sdr: delete the python binding. Will be added as a separate package.diff -r1.1 -r1.2 pkgsrc/ham/soapy-sdr/Makefile
(tnn)
@@ -1,47 +1,35 @@ | @@ -1,47 +1,35 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2020/08/01 07:46:14 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2020/08/01 08:17:43 tnn Exp $ | |
2 | 2 | |||
3 | DISTNAME= soapy-sdr-0.7.2 | 3 | DISTNAME= soapy-sdr-0.7.2 | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= ham | 5 | CATEGORIES= ham | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=pothosware/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=pothosware/} | |
6 | GITHUB_PROJECT= SoapySDR | 7 | GITHUB_PROJECT= SoapySDR | |
7 | GITHUB_TAG= ${DISTNAME} | 8 | GITHUB_TAG= ${DISTNAME} | |
8 | 9 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/pothosware/SoapySDR/wiki | 11 | HOMEPAGE= https://github.com/pothosware/SoapySDR/wiki | |
11 | COMMENT= Vendor and platform neutral SDR support library | 12 | COMMENT= Vendor and platform neutral SDR support library | |
12 | LICENSE= boost-license | 13 | LICENSE= boost-license | |
13 | 14 | |||
14 | USE_CMAKE= yes | 15 | USE_CMAKE= yes | |
15 | USE_TOOLS+= pkg-config | 16 | USE_TOOLS+= pkg-config | |
16 | USE_LANGUAGES+= c c++ | 17 | USE_LANGUAGES+= c c++ | |
17 | 18 | |||
18 | # Uses PyObject_Compare() (Supports python 3.8 in master branch) | |||
19 | PYTHON_VERSIONS_ACCEPTED= 27 | |||
20 | PY_PATCHPLIST= yes | |||
21 | ||||
22 | .include "../../lang/python/pyversion.mk" | |||
23 | ||||
24 | .if !empty(_PYTHON_VERSION:M3*) | |||
25 | CMAKE_ARGS+= -DPYTHON3_EXECUTABLE=${PYTHONBIN:Q} | |||
26 | CMAKE_ARGS+= -DPYTHON3_LIBRARIES=${PREFIX:Q}/${PYLIB:Q} | |||
27 | CMAKE_ARGS+= -DPYTHON3_INCLUDE_DIRS=${PREFIX:Q}/${PYINC:Q} | |||
28 | .endif | |||
29 | ||||
30 | SUBST_CLASSES+= getopt | 19 | SUBST_CLASSES+= getopt | |
31 | SUBST_STAGE.getopt= pre-configure | 20 | SUBST_STAGE.getopt= pre-configure | |
32 | SUBST_MESSAGE.getopt= Fixing getopt_long_only | 21 | SUBST_MESSAGE.getopt= Fixing getopt_long_only | |
33 | SUBST_FILES.getopt+= apps/SoapySDRUtil.cpp | 22 | SUBST_FILES.getopt+= apps/SoapySDRUtil.cpp | |
34 | SUBST_SED.getopt+= -e s,getopt_long_only,getopt_long, | 23 | SUBST_SED.getopt+= -e s,getopt_long_only,getopt_long, | |
35 | 24 | |||
36 | SUBST_CLASSES+= mandir | 25 | SUBST_CLASSES+= mandir | |
37 | SUBST_STAGE.mandir= pre-configure | 26 | SUBST_STAGE.mandir= pre-configure | |
38 | SUBST_MESSAGE.mandir= Fixing manpage directory | 27 | SUBST_MESSAGE.mandir= Fixing manpage directory | |
39 | SUBST_FILES.mandir+= apps/CMakeLists.txt | 28 | SUBST_FILES.mandir+= apps/CMakeLists.txt | |
40 | SUBST_SED.mandir+= -e 's,share/man,${PKGMANDIR},' | 29 | SUBST_SED.mandir+= -e 's,share/man,${PKGMANDIR},' | |
41 | 30 | |||
42 | # boost's posix_thread header causes pthread_create() reference | 31 | # boost's posix_thread header causes pthread_create() reference | |
43 | LDFLAGS+= -lpthread | 32 | LDFLAGS+= -lpthread | |
44 | 33 | |||
45 | .include "../../devel/boost-headers/buildlink3.mk" | 34 | .include "../../devel/boost-headers/buildlink3.mk" | |
46 | .include "../../lang/python/extension.mk" | |||
47 | .include "../../mk/bsd.pkg.mk" | 35 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2020/08/01 07:46:14 tnn Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2020/08/01 08:17:43 tnn Exp $ | |
2 | bin/SoapySDRUtil | 2 | bin/SoapySDRUtil | |
3 | include/SoapySDR/Config.h | 3 | include/SoapySDR/Config.h | |
4 | include/SoapySDR/Config.hpp | 4 | include/SoapySDR/Config.hpp | |
5 | include/SoapySDR/Constants.h | 5 | include/SoapySDR/Constants.h | |
6 | include/SoapySDR/ConverterPrimitives.hpp | 6 | include/SoapySDR/ConverterPrimitives.hpp | |
7 | include/SoapySDR/ConverterRegistry.hpp | 7 | include/SoapySDR/ConverterRegistry.hpp | |
8 | include/SoapySDR/Device.h | 8 | include/SoapySDR/Device.h | |
9 | include/SoapySDR/Device.hpp | 9 | include/SoapySDR/Device.hpp | |
10 | include/SoapySDR/Errors.h | 10 | include/SoapySDR/Errors.h | |
11 | include/SoapySDR/Errors.hpp | 11 | include/SoapySDR/Errors.hpp | |
12 | include/SoapySDR/Formats.h | 12 | include/SoapySDR/Formats.h | |
13 | include/SoapySDR/Formats.hpp | 13 | include/SoapySDR/Formats.hpp | |
14 | include/SoapySDR/Logger.h | 14 | include/SoapySDR/Logger.h | |
@@ -16,19 +16,17 @@ include/SoapySDR/Logger.hpp | @@ -16,19 +16,17 @@ include/SoapySDR/Logger.hpp | |||
16 | include/SoapySDR/Modules.h | 16 | include/SoapySDR/Modules.h | |
17 | include/SoapySDR/Modules.hpp | 17 | include/SoapySDR/Modules.hpp | |
18 | include/SoapySDR/Registry.hpp | 18 | include/SoapySDR/Registry.hpp | |
19 | include/SoapySDR/Time.h | 19 | include/SoapySDR/Time.h | |
20 | include/SoapySDR/Time.hpp | 20 | include/SoapySDR/Time.hpp | |
21 | include/SoapySDR/Types.h | 21 | include/SoapySDR/Types.h | |
22 | include/SoapySDR/Types.hpp | 22 | include/SoapySDR/Types.hpp | |
23 | include/SoapySDR/Version.h | 23 | include/SoapySDR/Version.h | |
24 | include/SoapySDR/Version.hpp | 24 | include/SoapySDR/Version.hpp | |
25 | lib/libSoapySDR.so | 25 | lib/libSoapySDR.so | |
26 | lib/libSoapySDR.so.0.7 | 26 | lib/libSoapySDR.so.0.7 | |
27 | lib/libSoapySDR.so.${PKGVERSION} | 27 | lib/libSoapySDR.so.${PKGVERSION} | |
28 | lib/pkgconfig/SoapySDR.pc | 28 | lib/pkgconfig/SoapySDR.pc | |
29 | ${PYSITELIB}/SoapySDR.py | |||
30 | ${PYSITELIB}/_SoapySDR.so | |||
31 | man/man1/SoapySDRUtil.1 | 29 | man/man1/SoapySDRUtil.1 | |
32 | share/cmake/SoapySDR/SoapySDRConfig.cmake | 30 | share/cmake/SoapySDR/SoapySDRConfig.cmake | |
33 | share/cmake/SoapySDR/SoapySDRConfigVersion.cmake | 31 | share/cmake/SoapySDR/SoapySDRConfigVersion.cmake | |
34 | share/cmake/SoapySDR/SoapySDRUtil.cmake | 32 | share/cmake/SoapySDR/SoapySDRUtil.cmake |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.1 2020/08/01 07:46:14 tnn Exp $ | 1 | $NetBSD: distinfo,v 1.2 2020/08/01 08:17:43 tnn Exp $ | |
2 | 2 | |||
3 | SHA1 (soapy-sdr-0.7.2.tar.gz) = f2639510f2ba006c1f8f96e53de6809dbbf41c51 | 3 | SHA1 (soapy-sdr-0.7.2.tar.gz) = f2639510f2ba006c1f8f96e53de6809dbbf41c51 | |
4 | RMD160 (soapy-sdr-0.7.2.tar.gz) = bea70c024d73ed0053d4ecc43c9b8a78fb7c60ea | 4 | RMD160 (soapy-sdr-0.7.2.tar.gz) = bea70c024d73ed0053d4ecc43c9b8a78fb7c60ea | |
5 | SHA512 (soapy-sdr-0.7.2.tar.gz) = 2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371 | 5 | SHA512 (soapy-sdr-0.7.2.tar.gz) = 2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371 | |
6 | Size (soapy-sdr-0.7.2.tar.gz) = 124607 bytes | 6 | Size (soapy-sdr-0.7.2.tar.gz) = 124607 bytes | |
7 | SHA1 (patch-CMakeLists.txt) = b385386b77e988a07f0877a911242b033d7406d3 |
$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)
########################################################################