summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-02-19 11:51:36 -0500
committerZero_Chaos <zerochaos@gentoo.org>2018-02-19 12:29:23 -0500
commit9a5e1b8399ed2d3dde2ba6e60912626841bc9558 (patch)
tree3ee33d6031813e38a1405d323117f93f3851be34 /net-wireless/soapy_power/soapy_power-9999.ebuild
parentnet-wireless/soapysdr: import from pentoo (diff)
downloadgentoo-9a5e1b8399ed2d3dde2ba6e60912626841bc9558.tar.gz
gentoo-9a5e1b8399ed2d3dde2ba6e60912626841bc9558.tar.bz2
gentoo-9a5e1b8399ed2d3dde2ba6e60912626841bc9558.zip
net-wireless/soapy_power: import from pentoo
rewrite of rtl_power using soapy backend Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-wireless/soapy_power/soapy_power-9999.ebuild')
-rw-r--r--net-wireless/soapy_power/soapy_power-9999.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-wireless/soapy_power/soapy_power-9999.ebuild b/net-wireless/soapy_power/soapy_power-9999.ebuild
new file mode 100644
index 000000000000..cbaacd16f220
--- /dev/null
+++ b/net-wireless/soapy_power/soapy_power-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+inherit distutils-r1
+
+DESCRIPTION="Obtain power spectrum from SoapySDR devices"
+HOMEPAGE="https://github.com/xmikos/soapy_power"
+
+LICENSE="MIT"
+SLOT="0"
+
+if [ "${PV}" = "9999" ]; then
+ KEYWORDS=""
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/xmikos/soapy_power.git"
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/xmikos/soapy_power/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+IUSE="faster +fastest"
+
+DEPEND=""
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/simplespectral[${PYTHON_USEDEP}]
+ >=dev-python/simplesoapy-1.5.0[${PYTHON_USEDEP}]
+ faster? ( sci-libs/scipy[${PYTHON_USEDEP}] )
+ fastest? ( dev-python/pyFFTW[${PYTHON_USEDEP}] )"