Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/soapy-sdr soapy-sdr: delete the python binding. Wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09cd96e62298
branches:  trunk
changeset: 436380:09cd96e62298
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Aug 01 08:17:43 2020 +0000

description:
soapy-sdr: delete the python binding. Will be added as a separate package.

diffstat:

 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(-)

diffs (92 lines):

diff -r 90d89025fa75 -r 09cd96e62298 ham/soapy-sdr/Makefile
--- a/ham/soapy-sdr/Makefile    Sat Aug 01 07:49:26 2020 +0000
+++ b/ham/soapy-sdr/Makefile    Sat Aug 01 08:17:43 2020 +0000
@@ -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_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 @@
 LDFLAGS+=              -lpthread
 
 .include "../../devel/boost-headers/buildlink3.mk"
-.include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 90d89025fa75 -r 09cd96e62298 ham/soapy-sdr/PLIST
--- a/ham/soapy-sdr/PLIST       Sat Aug 01 07:49:26 2020 +0000
+++ b/ham/soapy-sdr/PLIST       Sat Aug 01 08:17:43 2020 +0000
@@ -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.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 -r 90d89025fa75 -r 09cd96e62298 ham/soapy-sdr/distinfo
--- a/ham/soapy-sdr/distinfo    Sat Aug 01 07:49:26 2020 +0000
+++ b/ham/soapy-sdr/distinfo    Sat Aug 01 08:17:43 2020 +0000
@@ -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 -r 90d89025fa75 -r 09cd96e62298 ham/soapy-sdr/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/soapy-sdr/patches/patch-CMakeLists.txt        Sat Aug 01 08:17:43 2020 +0000
@@ -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)
+ 
+ 
+ ########################################################################



Home | Main Index | Thread Index | Old Index