[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2024-06-01 Thread Sam James
commit: 68ec02c5ea02712425d654fcf8bf42b3b97a0d81
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun  2 01:45:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  2 01:45:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ec02c5

net-wireless/soapysdr: fix live template kws

Signed-off-by: Sam James  gentoo.org>

 net-wireless/soapysdr/soapysdr-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index dbc5bebb6a98..ad161a57c0f5 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -14,7 +14,7 @@ if [ "${PV}" = "" ]; then
EGIT_CLONE_TYPE="shallow"
inherit git-r3
 else
-   KEYWORDS="amd64 ~arm ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~riscv ~x86"

SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
 fi



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2024-06-01 Thread Sam James
commit: 8821591153aff8dbdd7c7a399d33f3600e83fbc3
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun  2 01:09:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  2 01:09:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88215911

net-wireless/soapysdr: disable py3.9

Signed-off-by: Sam James  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.8.1.ebuild | 2 +-
 net-wireless/soapysdr/soapysdr-.ebuild  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
index fae8341b7d65..b82e2be6935d 100644
--- a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit cmake python-r1
 

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index fa9402a85678..04bd0f2876cd 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit cmake python-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/files/, net-wireless/soapysdr/

2024-06-01 Thread Sam James
commit: b68f6dcca10b8439e9de2c2eea96853cee5f2577
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun  2 01:23:09 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  2 01:40:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b68f6dcc

net-wireless/soapysdr: fix broken Python handling

* Add patch for Python 3.12 distutils

* Switch to python-single-r1 as its only Python reverse dependency in
  ::gentoo is net-wireless/gnuradio.

  Before now, it was completely broken as it'd use whatever Python it
  felt like -- at no point was EPYTHON/PYTHON passed into the build system,
  and it accumulated args when re-running for each impl (just enabling Python,
  not for any specific impl) anyway.

  We also only installed once anyway.

Fixes: 915993925dd6ae9f4303278ab00e4feb49c5d12b
Signed-off-by: Sam James  gentoo.org>

 .../soapysdr-0.8.1-python3.12-distutils.patch  | 74 ++
 ...pysdr-0.8.1.ebuild => soapysdr-0.8.1-r1.ebuild} | 48 +++---
 net-wireless/soapysdr/soapysdr-.ebuild | 43 ++---
 3 files changed, 116 insertions(+), 49 deletions(-)

diff --git 
a/net-wireless/soapysdr/files/soapysdr-0.8.1-python3.12-distutils.patch 
b/net-wireless/soapysdr/files/soapysdr-0.8.1-python3.12-distutils.patch
new file mode 100644
index ..877bc9c15ba7
--- /dev/null
+++ b/net-wireless/soapysdr/files/soapysdr-0.8.1-python3.12-distutils.patch
@@ -0,0 +1,74 @@
+https://github.com/pothosware/SoapySDR/commit/1ee5670803f89b21d84a6a84acbb578da051c119
+
+From 1ee5670803f89b21d84a6a84acbb578da051c119 Mon Sep 17 00:00:00 2001
+From: Ryan Volz 
+Date: Tue, 26 Sep 2023 14:56:59 -0400
+Subject: [PATCH] Remove deprecated use of distutils, fix for Python 3.12+
+
+This switches to using sysconfig from distutils, which is necessary for
+Python 3.12+ since distutils is deprecated and has been removed.
+
+It is necessary to specify the install scheme when a prefix other than
+the Python default is used so that changes to the default scheme made by
+distributions (e.g. Debian, Fedora) do not produce an incorrect Python
+installation directory. For example, Debian patches the default scheme
+to prepend the path with '/local', but if a user specifies a prefix of
+'/usr/local', then the path using the default scheme would be
+'/usr/local/local/...' with a duplicated 'local' directory. Specifying
+an unmodified install scheme fixes that.
+
+Signed-off-by: Ryan Volz 
+---
+ python/get_python_lib.py | 36 ---
+ 1 file changed, 25 insertions(+), 11 deletions(-)
+
+diff --git a/python/get_python_lib.py b/python/get_python_lib.py
+index 0c716529..574f0b60 100644
+--- a/python/get_python_lib.py
 b/python/get_python_lib.py
+@@ -1,19 +1,33 @@
+ import os
++import pathlib
+ import sys
+-import site
+-from distutils.sysconfig import get_python_lib
++import sysconfig
+ 
+ if __name__ == '__main__':
+-prefix = sys.argv[1]
++prefix = pathlib.Path(sys.argv[1]).resolve()
+ 
+-#ask distutils where to install the python module
+-install_dir = get_python_lib(plat_specific=True, prefix=prefix)
++# default install dir for the running Python interpreter
++default_install_dir = 
pathlib.Path(sysconfig.get_path('platlib')).resolve()
+ 
+-#use sites when the prefix is already recognized
++# if default falls under the desired prefix, we're done
+ try:
+-paths = [p for p in site.getsitepackages() if p.startswith(prefix)]
+-if len(paths) == 1: install_dir = paths[0]
+-except AttributeError: pass
++relative_install_dir = default_install_dir.relative_to(prefix)
++except ValueError:
++# get install dir for the specified prefix
++# can't use the default scheme because distributions modify it
++# newer Python versions have 'venv' scheme, use for all OSs.
++if 'venv' in sysconfig.get_scheme_names():
++scheme = 'venv'
++elif os.name == 'nt':
++scheme = 'nt'
++else:
++scheme = 'posix_prefix'
++prefix_install_dir = pathlib.Path(sysconfig.get_path(
++'platlib',
++scheme=scheme,
++vars={'base': prefix, 'platbase': prefix},
++)).resolve()
++relative_install_dir = prefix_install_dir.relative_to(prefix)
+ 
+-#strip the prefix to return a relative path
+-print(os.path.relpath(install_dir, prefix))
++# want a relative path for use in the build system
++print(relative_install_dir)
+

diff --git a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.8.1-r1.ebuild
similarity index 58%
rename from net-wireless/soapysdr/soapysdr-0.8.1.ebuild
rename to net-wireless/soapysdr/soapysdr-0.8.1-r1.ebuild
index b82e2be6935d..f4f69287124e 100644
--- a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.8.1-r1.ebuild
@@ -4,8 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-
-inhe

[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2024-05-18 Thread Arthur Zamarin
commit: f165572239645b420f442882638c2b02b6916e81
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 18 08:18:06 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 18 08:18:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1655722

net-wireless/soapysdr: Stabilize 0.8.1 amd64, #908603

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.8.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
index fa9402a85678..fae8341b7d65 100644
--- a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ if [ "${PV}" = "" ]; then
EGIT_CLONE_TYPE="shallow"
inherit git-r3
 else
-   KEYWORDS="~amd64 ~arm ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~riscv ~x86"

SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
 fi



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2023-08-19 Thread Rick Farina
commit: dbd0b2b2c39af82ef3ca1133205c20e57a16b731
Author: Rick Farina  gentoo  org>
AuthorDate: Sat Aug 19 13:38:02 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Sat Aug 19 13:38:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd0b2b2

net-wireless/soapysdr: drop 0.7.2

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/Manifest  |  1 -
 net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 60 -
 2 files changed, 61 deletions(-)

diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest
index 608bd6bf2e48..2de4d5a52684 100644
--- a/net-wireless/soapysdr/Manifest
+++ b/net-wireless/soapysdr/Manifest
@@ -1,2 +1 @@
-DIST soapysdr-0.7.2.tar.gz 124607 BLAKE2B 
534480574e2085bddea52141f26e0da8c70157e2c89a0af1236f3d1eb5b996d4ae5231cd209c610fc22d099bd9db665c4c7aea54081eeca2bb293b9eb1fe7c8e
 SHA512 
2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371
 DIST soapysdr-0.8.1.tar.gz 131252 BLAKE2B 
4dc97b683063a1bc52717f15b12a2471a338cebc30dccfd58723792119a496f5170b67eeda1ff4dbcd34811948f70b9f0e5df11b5b1738b46839ca7377fe557b
 SHA512 
50c8f1652bf9ca09215f9c4115175427ca7b5338add7591e31ca0e627093c94b73e7cf7f84fa71ff419cc010d3c1263931506c728bbaa00413a7915d56a87787

diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
deleted file mode 100644
index 2e4f82164255..
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake python-r1
-
-DESCRIPTION="vendor and platform neutral SDR support library"
-HOMEPAGE="https://github.com/pothosware/SoapySDR";
-
-if [ "${PV}" = "" ]; then
-   EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git";
-   EGIT_CLONE_TYPE="shallow"
-   inherit git-r3
-else
-   KEYWORDS="~amd64 ~arm ~riscv ~x86"
-   
SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
-   S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
-fi
-
-LICENSE="Boost-1.0"
-SLOT="0/${PV}"
-
-IUSE="bladerf hackrf python rtlsdr plutosdr uhd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   python? ( dev-lang/swig:0 )
-"
-PDEPEND="bladerf? ( net-wireless/soapybladerf )
-   hackrf? ( net-wireless/soapyhackrf )
-   rtlsdr? ( net-wireless/soapyrtlsdr )
-   plutosdr? ( net-wireless/soapyplutosdr )
-   uhd? ( net-wireless/soapyuhd )"
-
-src_configure() {
-   configuration() {
-   mycmakeargs+=(
-   -DENABLE_PYTHON=ON
-   -DBUILD_PYTHON3=ON
-   )
-   }
-
-   if use python; then
-   python_foreach_impl configuration
-   fi
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   if use python; then
-   python_foreach_impl python_optimize
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2023-08-19 Thread Rick Farina
commit: f24e41dde5d6eba875f2c5ea119a9f97358ff9b8
Author: Rick Farina  gentoo  org>
AuthorDate: Sat Aug 19 13:36:25 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Sat Aug 19 13:36:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f24e41dd

net-wireless/soapysdr: sync live

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/soapysdr-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index 1d464012b588..2e4f82164255 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -15,7 +15,7 @@ if [ "${PV}" = "" ]; then
EGIT_CLONE_TYPE="shallow"
inherit git-r3
 else
-   KEYWORDS="~amd64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~riscv ~x86"

SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
 fi



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2023-08-19 Thread Rick Farina
commit: 915993925dd6ae9f4303278ab00e4feb49c5d12b
Author: Rick Farina  gentoo  org>
AuthorDate: Sat Aug 19 13:37:45 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Sat Aug 19 13:37:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91599392

net-wireless/soapysdr: enable py3.12

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.8.1.ebuild | 2 +-
 net-wireless/soapysdr/soapysdr-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
index 2e4f82164255..fa9402a85678 100644
--- a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 
 inherit cmake python-r1
 

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index 2e4f82164255..fa9402a85678 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 
 inherit cmake python-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2023-04-05 Thread Rick Farina
commit: 10f828cb18c8e71aa212419fe0c7bbbf003c5ae9
Author: Rick Farina  gentoo  org>
AuthorDate: Thu Apr  6 02:06:42 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Thu Apr  6 02:06:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f828cb

net-wireless/soapysdr: enable py3.9

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 2 +-
 net-wireless/soapysdr/soapysdr-0.8.1.ebuild | 2 +-
 net-wireless/soapysdr/soapysdr-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
index d05998052986..2e4f82164255 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit cmake python-r1
 

diff --git a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
index d05998052986..2e4f82164255 100644
--- a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit cmake python-r1
 

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index a61a00912262..1d464012b588 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit cmake python-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2023-04-04 Thread Rick Farina
commit: 09269b4821e5a1d02a8c2c5769ca813499b1e59e
Author: Rick Farina  gentoo  org>
AuthorDate: Tue Apr  4 19:54:53 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Tue Apr  4 19:55:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09269b48

net-wireless/soapysdr: add 0.8.1

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/Manifest  |  1 +
 net-wireless/soapysdr/soapysdr-0.8.1.ebuild | 60 +
 2 files changed, 61 insertions(+)

diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest
index 8736fc69bae5..608bd6bf2e48 100644
--- a/net-wireless/soapysdr/Manifest
+++ b/net-wireless/soapysdr/Manifest
@@ -1 +1,2 @@
 DIST soapysdr-0.7.2.tar.gz 124607 BLAKE2B 
534480574e2085bddea52141f26e0da8c70157e2c89a0af1236f3d1eb5b996d4ae5231cd209c610fc22d099bd9db665c4c7aea54081eeca2bb293b9eb1fe7c8e
 SHA512 
2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371
+DIST soapysdr-0.8.1.tar.gz 131252 BLAKE2B 
4dc97b683063a1bc52717f15b12a2471a338cebc30dccfd58723792119a496f5170b67eeda1ff4dbcd34811948f70b9f0e5df11b5b1738b46839ca7377fe557b
 SHA512 
50c8f1652bf9ca09215f9c4115175427ca7b5338add7591e31ca0e627093c94b73e7cf7f84fa71ff419cc010d3c1263931506c728bbaa00413a7915d56a87787

diff --git a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
new file mode 100644
index ..d05998052986
--- /dev/null
+++ b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit cmake python-r1
+
+DESCRIPTION="vendor and platform neutral SDR support library"
+HOMEPAGE="https://github.com/pothosware/SoapySDR";
+
+if [ "${PV}" = "" ]; then
+   EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git";
+   EGIT_CLONE_TYPE="shallow"
+   inherit git-r3
+else
+   KEYWORDS="~amd64 ~arm ~riscv ~x86"
+   
SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
+   S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
+fi
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}"
+
+IUSE="bladerf hackrf python rtlsdr plutosdr uhd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   python? ( dev-lang/swig:0 )
+"
+PDEPEND="bladerf? ( net-wireless/soapybladerf )
+   hackrf? ( net-wireless/soapyhackrf )
+   rtlsdr? ( net-wireless/soapyrtlsdr )
+   plutosdr? ( net-wireless/soapyplutosdr )
+   uhd? ( net-wireless/soapyuhd )"
+
+src_configure() {
+   configuration() {
+   mycmakeargs+=(
+   -DENABLE_PYTHON=ON
+   -DBUILD_PYTHON3=ON
+   )
+   }
+
+   if use python; then
+   python_foreach_impl configuration
+   fi
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   if use python; then
+   python_foreach_impl python_optimize
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2023-04-04 Thread Rick Farina
commit: 0a6dc01175a17120867c32e0206010c0e89e7cbb
Author: Rick Farina  gentoo  org>
AuthorDate: Tue Apr  4 01:35:26 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Tue Apr  4 19:55:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6dc011

net-wireless/soapysdr: add python 3.11

Closes: https://bugs.gentoo.org/897184
Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 2 +-
 net-wireless/soapysdr/soapysdr-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
index 4ca5a16b1b82..d05998052986 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit cmake python-r1
 

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index 61d5b92cbede..a61a00912262 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit cmake python-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2022-07-12 Thread Sam James
commit: f428329b120428ed984f8530ea3e5ec9d8e32eab
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 13 06:15:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 13 06:15:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f428329b

net-wireless/soapysdr: Keyword 0.7.2 arm, #854291

Signed-off-by: Sam James  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
index 7c13d7f933c0..2ffa31c8eec6 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
@@ -15,7 +15,7 @@ if [ "${PV}" = "" ]; then
EGIT_CLONE_TYPE="shallow"
inherit git-r3
 else
-   KEYWORDS="~amd64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~riscv ~x86"

SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
 fi



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2022-06-10 Thread Thomas Beierlein
commit: 90654fbce3397bf10cb7d6d75886f3a0f394b2e1
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Jun 10 13:02:07 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Jun 10 13:03:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90654fbc

net-wireless/soapysdr: Add Python 3.10 support

Closes: https://bugs.gentoo.org/846209
Signed-off-by: Thomas Beierlein  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 4 ++--
 net-wireless/soapysdr/soapysdr-.ebuild  | 8 
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
index f9ebcebd59f1..7c13d7f933c0 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7,8,9,10} )
 
 inherit cmake python-r1
 

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index 0d446573c63d..7c13d7f933c0 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7,8,9,10} )
 
 inherit cmake python-r1
 
@@ -15,7 +15,7 @@ if [ "${PV}" = "" ]; then
EGIT_CLONE_TYPE="shallow"
inherit git-r3
 else
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~riscv ~x86"

SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
 fi



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2022-04-30 Thread Marek Szuba
commit: 07976232f4ebabda17ae9443186c40174e60295e
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Apr 30 19:07:32 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Apr 30 19:09:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07976232

net-wireless/soapysdr: keyword 0.7.2 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
index 0d446573c63d..f9ebcebd59f1 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ if [ "${PV}" = "" ]; then
EGIT_CLONE_TYPE="shallow"
inherit git-r3
 else
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~riscv ~x86"

SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
 fi



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2021-06-09 Thread Sam James
commit: 76878357cf012d531037c2df49a47f2b153d5f46
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 10 03:36:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 10 03:36:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76878357

net-wireless/soapysdr: conditionalise Python usage in src_install

Closes: https://bugs.gentoo.org/794958
Signed-off-by: Sam James  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 7 +--
 net-wireless/soapysdr/soapysdr-.ebuild  | 7 +--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
index ffd714150f9..0d446573c63 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -53,5 +53,8 @@ src_configure() {
 
 src_install() {
cmake_src_install
-   python_foreach_impl python_optimize
+
+   if use python; then
+   python_foreach_impl python_optimize
+   fi
 }

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index ffd714150f9..0d446573c63 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -53,5 +53,8 @@ src_configure() {
 
 src_install() {
cmake_src_install
-   python_foreach_impl python_optimize
+
+   if use python; then
+   python_foreach_impl python_optimize
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2020-12-03 Thread Rick Farina
commit: 76fe64f580c4e2d89b3a6952fdf84c0dadbf09cf
Author: Rick Farina  gentoo  org>
AuthorDate: Fri Dec  4 03:00:34 2020 +
Commit: Rick Farina  gentoo  org>
CommitDate: Fri Dec  4 03:14:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fe64f5

net-wireless/soapysdr: fix qa warnings

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/Manifest   |  2 +-
 .../{soapysdr-0.7.1.ebuild => soapysdr-0.7.2.ebuild} | 12 
 net-wireless/soapysdr/soapysdr-.ebuild   | 12 
 3 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest
index 3f6515b2a52..8736fc69bae 100644
--- a/net-wireless/soapysdr/Manifest
+++ b/net-wireless/soapysdr/Manifest
@@ -1 +1 @@
-DIST soapysdr-0.7.1.tar.gz 124532 BLAKE2B 
157c24610b5f89b549a7d670e26ba68cabb923b7fd95bab4adc4896f7fb9e13f58e53671a4802804bc15b09eb1113baddb5879fd14efe8b8ea1bfbff363dde0f
 SHA512 
9b2c4251d6362faecf770df021b74e3b387b99699ae4f7d3f145801e2acc901a3803f7b4d2cd50267013f1add6658703dfa5db6db28b8a645f1f8230117123cd
+DIST soapysdr-0.7.2.tar.gz 124607 BLAKE2B 
534480574e2085bddea52141f26e0da8c70157e2c89a0af1236f3d1eb5b996d4ae5231cd209c610fc22d099bd9db665c4c7aea54081eeca2bb293b9eb1fe7c8e
 SHA512 
2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371

diff --git a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
similarity index 87%
rename from net-wireless/soapysdr/soapysdr-0.7.1.ebuild
rename to net-wireless/soapysdr/soapysdr-0.7.2.ebuild
index f3b498a69d5..d5a5aa7bad6 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild
@@ -3,9 +3,9 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 
-inherit cmake-utils python-r1
+inherit cmake python-r1
 
 DESCRIPTION="vendor and platform neutral SDR support library"
 HOMEPAGE="https://github.com/pothosware/SoapySDR";
@@ -13,7 +13,6 @@ HOMEPAGE="https://github.com/pothosware/SoapySDR";
 if [ "${PV}" = "" ]; then
EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git";
EGIT_CLONE_TYPE="shallow"
-   KEYWORDS=""
inherit git-r3
 else
KEYWORDS="~amd64 ~x86"
@@ -49,5 +48,10 @@ src_configure() {
python_foreach_impl configuration
fi
 
-   cmake-utils_src_configure
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   python_foreach_impl python_optimize
 }

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index f3b498a69d5..d5a5aa7bad6 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -3,9 +3,9 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 
-inherit cmake-utils python-r1
+inherit cmake python-r1
 
 DESCRIPTION="vendor and platform neutral SDR support library"
 HOMEPAGE="https://github.com/pothosware/SoapySDR";
@@ -13,7 +13,6 @@ HOMEPAGE="https://github.com/pothosware/SoapySDR";
 if [ "${PV}" = "" ]; then
EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git";
EGIT_CLONE_TYPE="shallow"
-   KEYWORDS=""
inherit git-r3
 else
KEYWORDS="~amd64 ~x86"
@@ -49,5 +48,10 @@ src_configure() {
python_foreach_impl configuration
fi
 
-   cmake-utils_src_configure
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   python_foreach_impl python_optimize
 }



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2020-08-14 Thread Andreas Sturmlechner
commit: 853ca8d8199a367d6931f01f851ad4d10316459c
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug  3 21:25:51 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Aug 14 23:21:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=853ca8d8

net-wireless/soapysdr: Drop superfluous calls to python_is_python3

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.1.ebuild | 8 
 net-wireless/soapysdr/soapysdr-.ebuild  | 8 
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
index 178d51ae142..f3b498a69d5 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
@@ -39,10 +39,10 @@ PDEPEND="bladerf? ( net-wireless/soapybladerf )
 
 src_configure() {
configuration() {
-   mycmakeargs+=( -DENABLE_PYTHON=ON )
-   if python_is_python3; then
-   mycmakeargs+=( -DBUILD_PYTHON3=ON )
-   fi
+   mycmakeargs+=(
+   -DENABLE_PYTHON=ON
+   -DBUILD_PYTHON3=ON
+   )
}
 
if use python; then

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index 178d51ae142..f3b498a69d5 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -39,10 +39,10 @@ PDEPEND="bladerf? ( net-wireless/soapybladerf )
 
 src_configure() {
configuration() {
-   mycmakeargs+=( -DENABLE_PYTHON=ON )
-   if python_is_python3; then
-   mycmakeargs+=( -DBUILD_PYTHON3=ON )
-   fi
+   mycmakeargs+=(
+   -DENABLE_PYTHON=ON
+   -DBUILD_PYTHON3=ON
+   )
}
 
if use python; then



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2020-02-10 Thread Michał Górny
commit: 60da64b04bbb1e34c5fcc556bcee346bc444d1c9
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 10 21:08:36 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 10 21:24:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60da64b0

net-wireless/soapysdr: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.1.ebuild | 2 +-
 net-wireless/soapysdr/soapysdr-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
index 9244fbbf714..178d51ae142 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit cmake-utils python-r1
 

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index 9244fbbf714..178d51ae142 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit cmake-utils python-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2019-12-20 Thread Rick Farina
commit: 6a3d3bbb1e3e69df4af8fe430e3c7fd1ad13673f
Author: Rick Farina  gentoo  org>
AuthorDate: Fri Dec 20 19:30:35 2019 +
Commit: Rick Farina  gentoo  org>
CommitDate: Fri Dec 20 19:30:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a3d3bbb

net-wireless/soapysdr: python 3.7

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.1.ebuild | 4 ++--
 net-wireless/soapysdr/soapysdr-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
index 38efa5b2ccc..8f6c242211d 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
 
 inherit cmake-utils python-r1
 

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index 38efa5b2ccc..8f6c242211d 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
 
 inherit cmake-utils python-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2019-08-28 Thread Rick Farina
commit: 20709ce25476e92d1c44f6e4e8237b7963dbacbd
Author: Rick Farina  gentoo  org>
AuthorDate: Wed Aug 28 14:50:28 2019 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Aug 28 14:50:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20709ce2

net-wireless/soapysdr: bump

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/Manifest |  3 +-
 net-wireless/soapysdr/soapysdr-0.6.1-r1.ebuild | 53 --
 ...soapysdr-0.7.0.ebuild => soapysdr-0.7.1.ebuild} |  0
 3 files changed, 1 insertion(+), 55 deletions(-)

diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest
index 51daf073add..3f6515b2a52 100644
--- a/net-wireless/soapysdr/Manifest
+++ b/net-wireless/soapysdr/Manifest
@@ -1,2 +1 @@
-DIST soapysdr-0.6.1.tar.gz 112820 BLAKE2B 
42376a7a43c0d5a87a5b17b7d901cc7c74885083051c433c1f22427fe07a4fb0f111ddb460867bd7f748cb3ac6858b15e3dc69ba3ecca4574802c6bd0856a8cc
 SHA512 
80ae8d0b096139e0df70524a1ff05fa1954755177d7920dbd8acb37e45cf86729e2745dcfd4e9c7ae2d7aa564335c2f197ca25ea387daa8f376d6c3e93234106
-DIST soapysdr-0.7.0.tar.gz 122933 BLAKE2B 
2bd2f8812a6258a92ca4fe82ced10e3e97e348927dfc8a1f702a7ee4900b4fbe966a32566d1640a3474734074524cf31d8850b47a9b177e6e0e4d92c531409a6
 SHA512 
3dc69f070a2fe7acee9239154e58b21aa9c321fe35e2de77dfed8561016a93d5e693b5288da6d05e3d8c0f9ab7552ea12c4fd74ddb8d3c118d576f58251fb632
+DIST soapysdr-0.7.1.tar.gz 124532 BLAKE2B 
157c24610b5f89b549a7d670e26ba68cabb923b7fd95bab4adc4896f7fb9e13f58e53671a4802804bc15b09eb1113baddb5879fd14efe8b8ea1bfbff363dde0f
 SHA512 
9b2c4251d6362faecf770df021b74e3b387b99699ae4f7d3f145801e2acc901a3803f7b4d2cd50267013f1add6658703dfa5db6db28b8a645f1f8230117123cd

diff --git a/net-wireless/soapysdr/soapysdr-0.6.1-r1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.6.1-r1.ebuild
deleted file mode 100644
index 0b2bcdea38a..000
--- a/net-wireless/soapysdr/soapysdr-0.6.1-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-
-inherit cmake-utils python-r1
-
-DESCRIPTION="vendor and platform neutral SDR support library"
-HOMEPAGE="https://github.com/pothosware/SoapySDR";
-
-if [ "${PV}" = "" ]; then
-   EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git";
-   EGIT_CLONE_TYPE="shallow"
-   KEYWORDS=""
-   inherit git-r3
-else
-   KEYWORDS="~amd64 ~x86"
-   
SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
-   S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
-fi
-
-LICENSE="Boost-1.0"
-SLOT="0"
-
-IUSE="bladerf hackrf python rtlsdr plutosdr uhd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   python? ( dev-lang/swig:0 )
-"
-PDEPEND="bladerf? ( net-wireless/soapybladerf )
-   hackrf? ( net-wireless/soapyhackrf )
-   rtlsdr? ( net-wireless/soapyrtlsdr )
-   plutosdr? ( net-wireless/soapyplutosdr )
-   uhd? ( net-wireless/soapyuhd )"
-
-src_configure() {
-   configuration() {
-   mycmakeargs+=( -DENABLE_PYTHON=ON )
-   if python_is_python3; then
-   mycmakeargs+=( -DBUILD_PYTHON3=ON )
-   fi
-   }
-
-   if use python; then
-   python_foreach_impl configuration
-   fi
-
-   cmake-utils_src_configure
-}

diff --git a/net-wireless/soapysdr/soapysdr-0.7.0.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
similarity index 100%
rename from net-wireless/soapysdr/soapysdr-0.7.0.ebuild
rename to net-wireless/soapysdr/soapysdr-0.7.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2018-11-07 Thread Rick Farina
commit: 9ac001371490e83fd2e84ba585bd2c3d91c78d16
Author: Zero_Chaos  gentoo  org>
AuthorDate: Wed Nov  7 19:18:21 2018 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Nov  7 20:01:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac00137

net-wireless/soapysdr: bump

add subslot

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/soapysdr/Manifest | 1 +
 .../soapysdr/{soapysdr-.ebuild => soapysdr-0.7.0.ebuild}   | 7 ---
 net-wireless/soapysdr/soapysdr-.ebuild | 7 ---
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest
index f1850570c58..51daf073add 100644
--- a/net-wireless/soapysdr/Manifest
+++ b/net-wireless/soapysdr/Manifest
@@ -1 +1,2 @@
 DIST soapysdr-0.6.1.tar.gz 112820 BLAKE2B 
42376a7a43c0d5a87a5b17b7d901cc7c74885083051c433c1f22427fe07a4fb0f111ddb460867bd7f748cb3ac6858b15e3dc69ba3ecca4574802c6bd0856a8cc
 SHA512 
80ae8d0b096139e0df70524a1ff05fa1954755177d7920dbd8acb37e45cf86729e2745dcfd4e9c7ae2d7aa564335c2f197ca25ea387daa8f376d6c3e93234106
+DIST soapysdr-0.7.0.tar.gz 122933 BLAKE2B 
2bd2f8812a6258a92ca4fe82ced10e3e97e348927dfc8a1f702a7ee4900b4fbe966a32566d1640a3474734074524cf31d8850b47a9b177e6e0e4d92c531409a6
 SHA512 
3dc69f070a2fe7acee9239154e58b21aa9c321fe35e2de77dfed8561016a93d5e693b5288da6d05e3d8c0f9ab7552ea12c4fd74ddb8d3c118d576f58251fb632

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-0.7.0.ebuild
similarity index 88%
copy from net-wireless/soapysdr/soapysdr-.ebuild
copy to net-wireless/soapysdr/soapysdr-0.7.0.ebuild
index 0669ed4ac68..238bf83a0e2 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,9 +22,9 @@ else
 fi
 
 LICENSE="Boost-1.0"
-SLOT="0"
+SLOT="0/${PV}"
 
-IUSE="bladerf hackrf python rtlsdr uhd"
+IUSE="bladerf hackrf python rtlsdr plutosdr uhd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
@@ -34,6 +34,7 @@ DEPEND="${RDEPEND}
 PDEPEND="bladerf? ( net-wireless/soapybladerf )
hackrf? ( net-wireless/soapyhackrf )
rtlsdr? ( net-wireless/soapyrtlsdr )
+   plutosdr? ( net-wireless/soapyplutosdr )
uhd? ( net-wireless/soapyuhd )"
 
 src_configure() {

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
index 0669ed4ac68..238bf83a0e2 100644
--- a/net-wireless/soapysdr/soapysdr-.ebuild
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,9 +22,9 @@ else
 fi
 
 LICENSE="Boost-1.0"
-SLOT="0"
+SLOT="0/${PV}"
 
-IUSE="bladerf hackrf python rtlsdr uhd"
+IUSE="bladerf hackrf python rtlsdr plutosdr uhd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
@@ -34,6 +34,7 @@ DEPEND="${RDEPEND}
 PDEPEND="bladerf? ( net-wireless/soapybladerf )
hackrf? ( net-wireless/soapyhackrf )
rtlsdr? ( net-wireless/soapyrtlsdr )
+   plutosdr? ( net-wireless/soapyplutosdr )
uhd? ( net-wireless/soapyuhd )"
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2018-09-04 Thread Richard Farina
commit: 063f324eba15a918a5ea1a94f0878e2bc14a820c
Author: Zero_Chaos  gentoo  org>
AuthorDate: Tue Sep  4 20:30:37 2018 +
Commit: Richard Farina  gentoo  org>
CommitDate: Tue Sep  4 20:54:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063f324e

net-wireless/soapysdr: add plutosdr support

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 net-wireless/soapysdr/metadata.xml | 1 +
 .../soapysdr/{soapysdr-0.6.1.ebuild => soapysdr-0.6.1-r1.ebuild}   | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-wireless/soapysdr/metadata.xml 
b/net-wireless/soapysdr/metadata.xml
index 2d7ac62a7df..8b0393c48e0 100644
--- a/net-wireless/soapysdr/metadata.xml
+++ b/net-wireless/soapysdr/metadata.xml
@@ -13,6 +13,7 @@
Add support for bladerf hardware
Add support for hackrf hardware
Add support for rtlsdr hardware
+   Add support for Analog Devices 
ADALM-PLUTO hardware
Add support for Ettus USRP hardware



diff --git a/net-wireless/soapysdr/soapysdr-0.6.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.6.1-r1.ebuild
similarity index 92%
rename from net-wireless/soapysdr/soapysdr-0.6.1.ebuild
rename to net-wireless/soapysdr/soapysdr-0.6.1-r1.ebuild
index 0669ed4ac68..699b01529e7 100644
--- a/net-wireless/soapysdr/soapysdr-0.6.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.6.1-r1.ebuild
@@ -24,7 +24,7 @@ fi
 LICENSE="Boost-1.0"
 SLOT="0"
 
-IUSE="bladerf hackrf python rtlsdr uhd"
+IUSE="bladerf hackrf python rtlsdr plutosdr uhd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
@@ -34,6 +34,7 @@ DEPEND="${RDEPEND}
 PDEPEND="bladerf? ( net-wireless/soapybladerf )
hackrf? ( net-wireless/soapyhackrf )
rtlsdr? ( net-wireless/soapyrtlsdr )
+   plutosdr? ( net-wireless/soapyplutosdr )
uhd? ( net-wireless/soapyuhd )"
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2018-08-26 Thread Christian Ruppert
commit: 2e69319f20591bdcb0106bf57a1f3dd4e451a2f3
Author: Christian Ruppert  gentoo  org>
AuthorDate: Sun Aug 26 10:03:31 2018 +
Commit: Christian Ruppert  gentoo  org>
CommitDate: Sun Aug 26 10:03:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e69319f

net-wireless/soapysdr: Fix upstream metadata

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 net-wireless/soapysdr/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/soapysdr/metadata.xml 
b/net-wireless/soapysdr/metadata.xml
index cf56d5875a6..2d7ac62a7df 100644
--- a/net-wireless/soapysdr/metadata.xml
+++ b/net-wireless/soapysdr/metadata.xml
@@ -16,6 +16,6 @@
Add support for Ettus USRP hardware


-   cpothosware/SoapySDR
+   pothosware/SoapySDR

 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/

2018-02-19 Thread Richard Farina
commit: 8d81387a5e684b987d16d59fb96c70a5881ac9cf
Author: Zero_Chaos  gentoo  org>
AuthorDate: Mon Feb 19 16:50:45 2018 +
Commit: Richard Farina  gentoo  org>
CommitDate: Mon Feb 19 17:29:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d81387a

net-wireless/soapysdr: import from pentoo

needed dep for soapy_power and gr-osmosdr

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-wireless/soapysdr/Manifest  |  1 +
 net-wireless/soapysdr/metadata.xml  | 21 
 net-wireless/soapysdr/soapysdr-0.6.1.ebuild | 52 +
 net-wireless/soapysdr/soapysdr-.ebuild  | 52 +
 4 files changed, 126 insertions(+)

diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest
new file mode 100644
index 000..f1850570c58
--- /dev/null
+++ b/net-wireless/soapysdr/Manifest
@@ -0,0 +1 @@
+DIST soapysdr-0.6.1.tar.gz 112820 BLAKE2B 
42376a7a43c0d5a87a5b17b7d901cc7c74885083051c433c1f22427fe07a4fb0f111ddb460867bd7f748cb3ac6858b15e3dc69ba3ecca4574802c6bd0856a8cc
 SHA512 
80ae8d0b096139e0df70524a1ff05fa1954755177d7920dbd8acb37e45cf86729e2745dcfd4e9c7ae2d7aa564335c2f197ca25ea387daa8f376d6c3e93234106

diff --git a/net-wireless/soapysdr/metadata.xml 
b/net-wireless/soapysdr/metadata.xml
new file mode 100644
index 000..cf56d5875a6
--- /dev/null
+++ b/net-wireless/soapysdr/metadata.xml
@@ -0,0 +1,21 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   zeroch...@gentoo.org
+   Rick Farina
+   
+   
+   ra...@gentoo.org
+   Radio
+   
+   
+   Add support for bladerf hardware
+   Add support for hackrf hardware
+   Add support for rtlsdr hardware
+   Add support for Ettus USRP hardware
+   
+   
+   cpothosware/SoapySDR
+   
+

diff --git a/net-wireless/soapysdr/soapysdr-0.6.1.ebuild 
b/net-wireless/soapysdr/soapysdr-0.6.1.ebuild
new file mode 100644
index 000..0669ed4ac68
--- /dev/null
+++ b/net-wireless/soapysdr/soapysdr-0.6.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit cmake-utils python-r1
+
+DESCRIPTION="vendor and platform neutral SDR support library"
+HOMEPAGE="https://github.com/pothosware/SoapySDR";
+
+if [ "${PV}" = "" ]; then
+   EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git";
+   EGIT_CLONE_TYPE="shallow"
+   KEYWORDS=""
+   inherit git-r3
+else
+   KEYWORDS="~amd64 ~x86"
+   
SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
+   S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
+fi
+
+LICENSE="Boost-1.0"
+SLOT="0"
+
+IUSE="bladerf hackrf python rtlsdr uhd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   python? ( dev-lang/swig:0 )
+"
+PDEPEND="bladerf? ( net-wireless/soapybladerf )
+   hackrf? ( net-wireless/soapyhackrf )
+   rtlsdr? ( net-wireless/soapyrtlsdr )
+   uhd? ( net-wireless/soapyuhd )"
+
+src_configure() {
+   configuration() {
+   mycmakeargs+=( -DENABLE_PYTHON=ON )
+   if python_is_python3; then
+   mycmakeargs+=( -DBUILD_PYTHON3=ON )
+   fi
+   }
+
+   if use python; then
+   python_foreach_impl configuration
+   fi
+
+   cmake-utils_src_configure
+}

diff --git a/net-wireless/soapysdr/soapysdr-.ebuild 
b/net-wireless/soapysdr/soapysdr-.ebuild
new file mode 100644
index 000..0669ed4ac68
--- /dev/null
+++ b/net-wireless/soapysdr/soapysdr-.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit cmake-utils python-r1
+
+DESCRIPTION="vendor and platform neutral SDR support library"
+HOMEPAGE="https://github.com/pothosware/SoapySDR";
+
+if [ "${PV}" = "" ]; then
+   EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git";
+   EGIT_CLONE_TYPE="shallow"
+   KEYWORDS=""
+   inherit git-r3
+else
+   KEYWORDS="~amd64 ~x86"
+   
SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz 
-> ${P}.tar.gz"
+   S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
+fi
+
+LICENSE="Boost-1.0"
+SLOT="0"
+
+IUSE="bladerf hackrf python rtlsdr uhd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   python? ( dev-lang/swig:0 )
+"
+PDEPEND="bladerf? ( net-wireless/soapybladerf )
+   hackrf? ( net-wireless/soapyhackrf )
+   rtlsdr? ( net-wireless/soapyrtlsdr )
+   uhd? ( net-wireless/soapyuhd )