commit:     9a5e1b8399ed2d3dde2ba6e60912626841bc9558
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 16:51:36 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 17:29:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a5e1b83

net-wireless/soapy_power: import from pentoo

rewrite of rtl_power using soapy backend

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-wireless/soapy_power/Manifest                  |  1 +
 net-wireless/soapy_power/metadata.xml              | 19 +++++++++++++
 .../soapy_power/soapy_power-1.6.1-r1.ebuild        | 31 ++++++++++++++++++++++
 net-wireless/soapy_power/soapy_power-9999.ebuild   | 31 ++++++++++++++++++++++
 4 files changed, 82 insertions(+)

diff --git a/net-wireless/soapy_power/Manifest 
b/net-wireless/soapy_power/Manifest
new file mode 100644
index 00000000000..2a98d84b365
--- /dev/null
+++ b/net-wireless/soapy_power/Manifest
@@ -0,0 +1 @@
+DIST soapy_power-1.6.1.tar.gz 14672 BLAKE2B 
7cc16fed02a02f91cb62d3937a1cf73144f8a427acbba1bacf4c8949f8d270d7bf5a443ddd227b0a53183d79f62fa2fc5e13f67ac188dfc3a2a385d22634076a
 SHA512 
19aa0e80a7b67cb29d842343c09b8ca2e3068583c8117a8151c5b47f1a34369f0ec833f038595323712986c9348b14a43dc1fdc6516adb40de6b42a281d782e1

diff --git a/net-wireless/soapy_power/metadata.xml 
b/net-wireless/soapy_power/metadata.xml
new file mode 100644
index 00000000000..e93f0c7982e
--- /dev/null
+++ b/net-wireless/soapy_power/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>zeroch...@gentoo.org</email>
+               <name>Rick Farina</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>ra...@gentoo.org</email>
+               <name>Radio</name>
+       </maintainer>
+       <use>
+               <flag name="faster">Use <pkg>sci-libs/scipy</pkg> to speed up 
drawing</flag>
+               <flag name="fastest">Use <pkg>dev-python/pyFFTW</pkg> to speed 
up drawing to the max</flag>
+       </use>
+       <upstream>
+               <remote-id type="github">csete/gqrx</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/net-wireless/soapy_power/soapy_power-1.6.1-r1.ebuild 
b/net-wireless/soapy_power/soapy_power-1.6.1-r1.ebuild
new file mode 100644
index 00000000000..cbaacd16f22
--- /dev/null
+++ b/net-wireless/soapy_power/soapy_power-1.6.1-r1.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}] )"

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 00000000000..cbaacd16f22
--- /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}] )"

Reply via email to