summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2024-01-15 16:52:38 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2024-01-15 16:54:48 +0100
commite047da0ba56cffb1ab2ecb22b2179e3442dc25dd (patch)
tree0eed94e60c94cc9e66947e6484af69762ccfe970 /net-wireless/nanovna-saver
parentnet-wireless/nanovna-saver: Fix QA - drop empty IUSE, SRC_URI and DEPEND (diff)
downloadgentoo-e047da0ba56cffb1ab2ecb22b2179e3442dc25dd.tar.gz
gentoo-e047da0ba56cffb1ab2ecb22b2179e3442dc25dd.tar.bz2
gentoo-e047da0ba56cffb1ab2ecb22b2179e3442dc25dd.zip
net-wireless/nanovna-saver: Add 0.6.3, adapt 9999 version
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'net-wireless/nanovna-saver')
-rw-r--r--net-wireless/nanovna-saver/Manifest1
-rw-r--r--net-wireless/nanovna-saver/nanovna-saver-0.6.3.ebuild47
-rw-r--r--net-wireless/nanovna-saver/nanovna-saver-9999.ebuild2
3 files changed, 50 insertions, 0 deletions
diff --git a/net-wireless/nanovna-saver/Manifest b/net-wireless/nanovna-saver/Manifest
index 48237f742dc9..bdd8dcf31023 100644
--- a/net-wireless/nanovna-saver/Manifest
+++ b/net-wireless/nanovna-saver/Manifest
@@ -1,2 +1,3 @@
DIST nanovna-saver-0.5.4.tar.gz 494010 BLAKE2B 71e4292e33dbb5b055e7ddd3a29222a67e05b1af431eaee64b613e50648b0b91ad5446cc2d3af868ae624826caf871bff9062275239298c29de261d741bad1f4 SHA512 6600b3c83fc1dcaf81a85b1d14087d2067327098c486011c8bfbaba83e06ca1081c6f7045730a58f097bab332072139707ea23c037924624d2f8100a7b61acb7
DIST nanovna-saver-0.6.2.tar.gz 579583 BLAKE2B aa10f8272a63e42f35f5c395203bc1101f2a166bc29274cf28385fa7aab33d89953fdcf4595fadeed25abb2b6c02948307a1576738bd421cd648f7ef2a953bc9 SHA512 d5c548ffda24d8ca69a30cdda4afc1473afa5f5c3fecf2cee17e65e16fd46bee0dc274d5d597c5bb354c7251870e1f3ba0bd61a43f0af424db5403c5694713b5
+DIST nanovna-saver-0.6.3.tar.gz 580073 BLAKE2B be8482bf60a3abfff8a58c14cb34e81cf7b5733efa4d4da02e8d1cae0884fc4030f14a21bd66a6e5fb38f05938a446de8a5919cf3d13d902568c8c76f43381f1 SHA512 96cedb567f01f90ff07fef385d7ab6130213ab35674668d50962795e527414ca772583991db7bab73375a2651cb23876f1047d914579d5bec7758173f70bce71
diff --git a/net-wireless/nanovna-saver/nanovna-saver-0.6.3.ebuild b/net-wireless/nanovna-saver/nanovna-saver-0.6.3.ebuild
new file mode 100644
index 000000000000..ac921ab992af
--- /dev/null
+++ b/net-wireless/nanovna-saver/nanovna-saver-0.6.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="tool for reading, displaying and saving data from the NanoVNA"
+HOMEPAGE="https://github.com/mihtjel/nanovna-saver"
+
+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"
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
+fi
+
+RDEPEND="${DEPEND}
+ dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/pyserial[${PYTHON_USEDEP}]
+ dev-python/PyQt6[${PYTHON_USEDEP},gui,widgets]
+ dev-python/PyQt6-sip[${PYTHON_USEDEP}]
+ dev-python/sip[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]"
+BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+python_install() {
+ distutils-r1_python_install
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
diff --git a/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild b/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild
index 8d10dabbf044..ac921ab992af 100644
--- a/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild
+++ b/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild
@@ -24,6 +24,8 @@ RDEPEND="${DEPEND}
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/PyQt6[${PYTHON_USEDEP},gui,widgets]
+ dev-python/PyQt6-sip[${PYTHON_USEDEP}]
+ dev-python/sip[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"