dev-python/simplespectral: import from pentoo
authorZero_Chaos <zerochaos@gentoo.org>
Mon, 19 Feb 2018 16:47:16 +0000 (11:47 -0500)
committerZero_Chaos <zerochaos@gentoo.org>
Mon, 19 Feb 2018 17:29:09 +0000 (12:29 -0500)
needed dep for soapy_power

Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-python/simplespectral/Manifest [new file with mode: 0644]
dev-python/simplespectral/metadata.xml [new file with mode: 0644]
dev-python/simplespectral/simplespectral-1.0.0.ebuild [new file with mode: 0644]
dev-python/simplespectral/simplespectral-9999.ebuild [new file with mode: 0644]

diff --git a/dev-python/simplespectral/Manifest b/dev-python/simplespectral/Manifest
new file mode 100644 (file)
index 0000000..01c21d5
--- /dev/null
@@ -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 (file)
index 0000000..f26be1a
--- /dev/null
@@ -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 (file)
index 0000000..fd9443a
--- /dev/null
@@ -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 (file)
index 0000000..fd9443a
--- /dev/null
@@ -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}]"