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
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')
-rw-r--r--net-wireless/nanovna-saver/Manifest1
-rw-r--r--net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild37
-rw-r--r--net-wireless/nanovna-saver/nanovna-saver-9999.ebuild2
3 files changed, 38 insertions, 2 deletions
diff --git a/net-wireless/nanovna-saver/Manifest b/net-wireless/nanovna-saver/Manifest
index bc77dc0c10a2..0df196d4dc8a 100644
--- a/net-wireless/nanovna-saver/Manifest
+++ b/net-wireless/nanovna-saver/Manifest
@@ -1,2 +1,3 @@
DIST nanovna-saver-0.3.10.tar.gz 477821 BLAKE2B c41889c1421642c7df55e470b7a45acdf17483203a133d909ca3323150bdf1b712af42c1c28981c8171535fa13dc3573218a4872139f72a447ce29a1f7921b35 SHA512 47a13673aa5639bb3eabbf55a183a19b611144710041a7a4dac4782b4f022f0a316453169a210123c4f26dab1a19af27be37cddcf641d8aecc266396b8fa6eff
DIST nanovna-saver-0.4.0.tar.gz 488898 BLAKE2B 3c986dc9bb128f21e9bfb7cf28e12df1603168755dc4d44df8699a2e6ccd9343a6526583e48ad514a0d24cad9712d160c3c2570d743bb0f4dbdb0782f6a4f263 SHA512 24ada3374e9ccaf3b07efea09e1b4a2fcb1da54949b5d53dfd2798b9d296c1e05710085821fc52d7c1842a485d78a6bf8a7e85436ce93ad95c1b28fbd544f132
+DIST nanovna-saver-0.5.3.tar.gz 490288 BLAKE2B 9d5ee7af273c05c92c6e136d0102a01e113460bac37e9a81ab1851fee883fa6d4b13f79a37c93732a3d5fe70865ee613d69773730fe62acc96c398f5caee9255 SHA512 690cce321bc9a8885356d4ca95d50c9c0255c1356dac88c4a89ff87ea77cc2f7782120aa66128cd5d9955d1367205c7cb14f0bbbba06912a26640ebb097247e4
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
+}
diff --git a/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild b/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild
index e2817ae6b9e4..e39815a71fc2 100644
--- a/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild
+++ b/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild
@@ -29,8 +29,6 @@ RDEPEND="${DEPEND}
dev-python/scipy[${PYTHON_USEDEP}]"
BDEPEND=""
-PATCHES=( "${FILESDIR}"/no-newline-in-description.patch )
-
distutils_enable_tests pytest
python_install() {