From owner-svn-ports-head@freebsd.org Sun Jun 24 19:01:25 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 906B81009C0D; Sun, 24 Jun 2018 19:01:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43B2B72F25; Sun, 24 Jun 2018 19:01:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 256D022AC0; Sun, 24 Jun 2018 19:01:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5OJ1PRh009974; Sun, 24 Jun 2018 19:01:25 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5OJ1Otu009970; Sun, 24 Jun 2018 19:01:24 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201806241901.w5OJ1Otu009970@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 24 Jun 2018 19:01:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473209 - in head/misc/py-SoapySDR: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc/py-SoapySDR: . files X-SVN-Commit-Revision: 473209 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 19:01:25 -0000 Author: yuri Date: Sun Jun 24 19:01:23 2018 New Revision: 473209 URL: https://svnweb.freebsd.org/changeset/ports/473209 Log: misc/py-SoapySDR: Fix the problem that C library was built with the python binding Also add CATEGORIES=hamradio Deleted: head/misc/py-SoapySDR/files/patch-CMakeLists.txt Modified: head/misc/py-SoapySDR/Makefile head/misc/py-SoapySDR/files/patch-python3_CMakeLists.txt head/misc/py-SoapySDR/files/patch-python3_FindPython3Interp.cmake head/misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake head/misc/py-SoapySDR/files/patch-python_CMakeLists.txt Modified: head/misc/py-SoapySDR/Makefile ============================================================================== --- head/misc/py-SoapySDR/Makefile Sun Jun 24 18:28:00 2018 (r473208) +++ head/misc/py-SoapySDR/Makefile Sun Jun 24 19:01:23 2018 (r473209) @@ -4,14 +4,14 @@ PORTNAME= SoapySDR DISTVERSIONPREFIX= soapy-sdr- DISTVERSION= 0.6.1-71 DISTVERSIONSUFFIX= -g69c16e9 -CATEGORIES= misc python +CATEGORIES= misc hamradio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Vendor and platform neutral SDR support library (python binding) LICENSE= BSL -LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt +LICENSE_FILE= ${WRKSRC}/../LICENSE_1_0.txt BROKEN_i386= error: redefinition of 'swig::traits', pending fix of https://github.com/pothosware/SoapySDR/issues/169 @@ -27,10 +27,9 @@ CMAKE_ARGS= -DFREEBSD_PYTHON_VERSION:INTEGER=${PYTHON_ -DFREEBSD_PYTHON_VER2:STRING=${PYTHON_VER} CMAKE_OFF= ENABLE_DOCS +WRKSRC_SUBDIR= python${PYTHON_VER:R:R:S/2//} # WARNING There are handcrafted paths in patches with '../' added to match this WRKSRC_SUBDIR for all python flavors + PLIST_FILES= ${PYTHON_SITELIBDIR}/SoapySDR.py \ ${PYTHON_SITELIBDIR}/_SoapySDR.so - -post-install: # Until fixed, just delete libs: https://github.com/pothosware/SoapySDR/issues/169 - @cd ${STAGEDIR}${PREFIX} && ${RM} -r bin include lib/lib* libdata share .include Modified: head/misc/py-SoapySDR/files/patch-python3_CMakeLists.txt ============================================================================== --- head/misc/py-SoapySDR/files/patch-python3_CMakeLists.txt Sun Jun 24 18:28:00 2018 (r473208) +++ head/misc/py-SoapySDR/files/patch-python3_CMakeLists.txt Sun Jun 24 19:01:23 2018 (r473209) @@ -1,5 +1,5 @@ ---- python3/CMakeLists.txt.orig 2018-05-13 06:02:48 UTC -+++ python3/CMakeLists.txt +--- ../python3/CMakeLists.txt.orig 2018-05-13 06:02:48 UTC ++++ ../python3/CMakeLists.txt @@ -55,7 +55,7 @@ endif() ######################################################################## include(FeatureSummary) Modified: head/misc/py-SoapySDR/files/patch-python3_FindPython3Interp.cmake ============================================================================== --- head/misc/py-SoapySDR/files/patch-python3_FindPython3Interp.cmake Sun Jun 24 18:28:00 2018 (r473208) +++ head/misc/py-SoapySDR/files/patch-python3_FindPython3Interp.cmake Sun Jun 24 19:01:23 2018 (r473209) @@ -1,5 +1,5 @@ ---- python3/FindPython3Interp.cmake.orig 2018-06-19 06:38:27 UTC -+++ python3/FindPython3Interp.cmake +--- ../python3/FindPython3Interp.cmake.orig 2018-06-19 06:38:27 UTC ++++ ../python3/FindPython3Interp.cmake @@ -39,7 +39,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Modified: head/misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake ============================================================================== --- head/misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake Sun Jun 24 18:28:00 2018 (r473208) +++ head/misc/py-SoapySDR/files/patch-python3_FindPython3Libs.cmake Sun Jun 24 19:01:23 2018 (r473209) @@ -1,5 +1,5 @@ ---- python3/FindPython3Libs.cmake.orig 2018-06-19 06:36:21 UTC -+++ python3/FindPython3Libs.cmake +--- ../python3/FindPython3Libs.cmake.orig 2018-06-19 06:36:21 UTC ++++ ../python3/FindPython3Libs.cmake @@ -46,7 +46,7 @@ INCLUDE(CMakeFindFrameworks) # Search for the python framework on Apple. # CMAKE_FIND_FRAMEWORKS(Python) Modified: head/misc/py-SoapySDR/files/patch-python_CMakeLists.txt ============================================================================== --- head/misc/py-SoapySDR/files/patch-python_CMakeLists.txt Sun Jun 24 18:28:00 2018 (r473208) +++ head/misc/py-SoapySDR/files/patch-python_CMakeLists.txt Sun Jun 24 19:01:23 2018 (r473209) @@ -1,5 +1,5 @@ ---- python/CMakeLists.txt.orig 2018-06-19 07:11:01 UTC -+++ python/CMakeLists.txt +--- ../python/CMakeLists.txt.orig 2018-06-19 07:11:01 UTC ++++ ../python/CMakeLists.txt @@ -121,7 +121,7 @@ set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} ######################################################################## include(FeatureSummary)