summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2022-11-10 23:20:14 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2022-11-20 18:58:18 +0100
commit1c0184004f13c9e821dd52f08a50521fddb7d9f0 (patch)
tree359ea9018a32b2a4af991c455533db3148b156e3 /net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild
parentapp-eselect/eselect-wine: switch tarball (diff)
downloadgentoo-1c0184004f13c9e821dd52f08a50521fddb7d9f0.tar.gz
gentoo-1c0184004f13c9e821dd52f08a50521fddb7d9f0.tar.bz2
gentoo-1c0184004f13c9e821dd52f08a50521fddb7d9f0.zip
net-wireless/nanovna-saver: add 0.5.3
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/28215 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild')
-rw-r--r--net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild b/net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild
new file mode 100644
index 000000000000..e39815a71fc2
--- /dev/null
+++ b/net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2019-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 NanoVNA"
+HOMEPAGE="https://github.com/mihtjel/nanovna-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/mihtjel/nanovna-saver/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-python/cython[${PYTHON_USEDEP}]
+ 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
+}