summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Solano Gómez <gentoo@sattvik.com>2022-07-27 07:29:23 -0500
committerDaniel Solano Gómez <gentoo@sattvik.com>2022-07-27 07:30:54 -0500
commit965cddfa3b0d2ab6afa7c3a0eb7cd631c0a43800 (patch)
treed4ff90821c727c7df32eb2a2893a866c9821aab7
parentUpdate EAPIs to 6 (diff)
downloadsattvik-965cddfa3b0d2ab6afa7c3a0eb7cd631c0a43800.tar.gz
sattvik-965cddfa3b0d2ab6afa7c3a0eb7cd631c0a43800.tar.bz2
sattvik-965cddfa3b0d2ab6afa7c3a0eb7cd631c0a43800.zip
net-wireless/tinysa-saver: new package, add 0.11
Signed-off-by: Daniel Solano <gentoo@sattvik.com>
-rw-r--r--net-wireless/tinysa-saver/Manifest3
-rw-r--r--net-wireless/tinysa-saver/metadata.xml11
-rw-r--r--net-wireless/tinysa-saver/tinysa-saver-0.11.ebuild36
3 files changed, 50 insertions, 0 deletions
diff --git a/net-wireless/tinysa-saver/Manifest b/net-wireless/tinysa-saver/Manifest
new file mode 100644
index 0000000..08e6059
--- /dev/null
+++ b/net-wireless/tinysa-saver/Manifest
@@ -0,0 +1,3 @@
+DIST tinysa-saver-0.11.tar.gz 178869 BLAKE2B 7c0db1e17eb9d486aa515cae4b7b3acc63e3fa560101881298b404d23241f37c9d4934107574a097d575ce100bda2eb4d0750960dc74c03e99fd4754677eb73f SHA512 c4609c4bc1edcf427a2919b1c00e14c288763ec9830ce8dd61afeceb556d1afc86a0691fa16c90029bc8a459e861a68239d2965afbc13da7de8ac6c88a0c1216
+EBUILD tinysa-saver-0.11.ebuild 894 BLAKE2B a511cd9946f284207519d82eca3bbc0f366e1d5b67cfc0bad2393ef8af5ae04080a65a827349ee46083fc7a7bf8645953740763cb7217a2d3a83604946eb47a3 SHA512 1cd4847910daa5aba0cda4ebbd354241a9a54780b071fd9f24331b92474abfe0280d7dbd7309a2ba09f02ab029879d7113dbf424b2543300f3a585975a0230d0
+MISC metadata.xml 345 BLAKE2B 3b6401976bcb8734793612d5a67e3eae7ff8fb4dcdcb1d445ffb2bc7ccc08e7c462deb1d218f8516727ffaea5362a20e09eeaf654f2daae606cdff030dbda387 SHA512 eeae624cf11a31bbef413bfd2a599ad78f7a8bd06b739efd0875cd197a68fdab60351ba69863f758faab744ed2d2f59ccf37884d0dcf0979153bec4cef03c6e7
diff --git a/net-wireless/tinysa-saver/metadata.xml b/net-wireless/tinysa-saver/metadata.xml
new file mode 100644
index 0000000..d0296b7
--- /dev/null
+++ b/net-wireless/tinysa-saver/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@sattvik.com</email>
+ <name>Daniel Solano Gómez</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">erikkaashoek/tinysa-saver</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-wireless/tinysa-saver/tinysa-saver-0.11.ebuild b/net-wireless/tinysa-saver/tinysa-saver-0.11.ebuild
new file mode 100644
index 0000000..7b4b7e6
--- /dev/null
+++ b/net-wireless/tinysa-saver/tinysa-saver-0.11.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="tool for reading, displaying and saving data from the TinySA"
+HOMEPAGE="https://github.com/erikkaashoek/tinysa-saver"
+SRC_URI=""
+
+LICENSE="GPL-3+"
+SLOT="0"
+if [ "${PV}" = "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/mihtjel/nanovna-saver.git"
+else
+ SRC_URI="https://github.com/erikkaashoek/tinysa-saver/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-python/pyserial[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]"
+BDEPEND=""
+
+distutils_enable_tests pytest
+
+python_install() {
+ rm -r "${BUILD_DIR}"/lib/test || die
+ distutils-r1_python_install
+}