summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-02-19 11:47:16 -0500
committerZero_Chaos <zerochaos@gentoo.org>2018-02-19 12:29:09 -0500
commitb383e139723bf081614fb0decdbc9ca7535c3b86 (patch)
tree3b1ef83649528e25be8c48f51db003b7e2bfcc62 /dev-python/simplespectral
parentdev-python/simplesoapy: import from pentoo overlay (diff)
downloadgentoo-b383e139723bf081614fb0decdbc9ca7535c3b86.tar.gz
gentoo-b383e139723bf081614fb0decdbc9ca7535c3b86.tar.bz2
gentoo-b383e139723bf081614fb0decdbc9ca7535c3b86.zip
dev-python/simplespectral: import from pentoo
needed dep for soapy_power Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-python/simplespectral')
-rw-r--r--dev-python/simplespectral/Manifest1
-rw-r--r--dev-python/simplespectral/metadata.xml19
-rw-r--r--dev-python/simplespectral/simplespectral-1.0.0.ebuild30
-rw-r--r--dev-python/simplespectral/simplespectral-9999.ebuild30
4 files changed, 80 insertions, 0 deletions
diff --git a/dev-python/simplespectral/Manifest b/dev-python/simplespectral/Manifest
new file mode 100644
index 00000000000..01c21d5e93a
--- /dev/null
+++ b/dev-python/simplespectral/Manifest
@@ -0,0 +1 @@
+DIST simplespectral-1.0.0.tar.gz 5750 BLAKE2B 04ee4c90f9cda35ade1d250162ab1bcc278ae82a4d7f9a22d1aee6a1eceac7819ce6aa19f52e024469c51e08c00dc5f19253ff2b85d9b668dafdcd7a18c78d6f SHA512 16da3cb19cd7c567b64709a26ed5def7eb3047b08e2cb48db6962036a6c3e34c122dadf71821b6a22df55ebcf3c2ff95e3af3898efc8b4a6d5902e48de8e050c
diff --git a/dev-python/simplespectral/metadata.xml b/dev-python/simplespectral/metadata.xml
new file mode 100644
index 00000000000..f26be1adc30
--- /dev/null
+++ b/dev-python/simplespectral/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>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>radio@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">xmikos/simplespectral</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/simplespectral/simplespectral-1.0.0.ebuild b/dev-python/simplespectral/simplespectral-1.0.0.ebuild
new file mode 100644
index 00000000000..fd9443a974f
--- /dev/null
+++ b/dev-python/simplespectral/simplespectral-1.0.0.ebuild
@@ -0,0 +1,30 @@
+# 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="Heavily simplified scipy.signal.spectral module"
+HOMEPAGE="https://github.com/xmikos/simplespectral"
+
+LICENSE="MIT"
+SLOT="0"
+
+if [ "${PV}" = "9999" ]; then
+ KEYWORDS=""
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/xmikos/simplespectral.git"
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/xmikos/simplespectral/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+IUSE="faster +fastest"
+
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+ faster? ( sci-libs/scipy[${PYTHON_USEDEP}] )
+ fastest? ( dev-python/pyFFTW[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/simplespectral/simplespectral-9999.ebuild b/dev-python/simplespectral/simplespectral-9999.ebuild
new file mode 100644
index 00000000000..fd9443a974f
--- /dev/null
+++ b/dev-python/simplespectral/simplespectral-9999.ebuild
@@ -0,0 +1,30 @@
+# 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="Heavily simplified scipy.signal.spectral module"
+HOMEPAGE="https://github.com/xmikos/simplespectral"
+
+LICENSE="MIT"
+SLOT="0"
+
+if [ "${PV}" = "9999" ]; then
+ KEYWORDS=""
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/xmikos/simplespectral.git"
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/xmikos/simplespectral/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+IUSE="faster +fastest"
+
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+ faster? ( sci-libs/scipy[${PYTHON_USEDEP}] )
+ fastest? ( dev-python/pyFFTW[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"