diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-21 03:42:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-21 03:42:55 +0100 |
commit | 855f2ab2714a36dd2d3b757890b2449d3e9155f2 (patch) | |
tree | 21996677d9df011c406a514a9487ee25e7a5fe48 /net-wireless/nanovna-saver | |
parent | 90a3be9d71a22834f9bc82c072f1b993f9a10e31 (diff) |
gentoo auto-resync : 21:08:2023 - 03:42:55
Diffstat (limited to 'net-wireless/nanovna-saver')
-rw-r--r-- | net-wireless/nanovna-saver/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/nanovna-saver/nanovna-saver-0.6.2.ebuild | 48 | ||||
-rw-r--r-- | net-wireless/nanovna-saver/nanovna-saver-9999.ebuild | 15 |
3 files changed, 55 insertions, 12 deletions
diff --git a/net-wireless/nanovna-saver/Manifest b/net-wireless/nanovna-saver/Manifest index 3ffa033276d4..2c88c6067862 100644 --- a/net-wireless/nanovna-saver/Manifest +++ b/net-wireless/nanovna-saver/Manifest @@ -1,4 +1,6 @@ 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 EBUILD nanovna-saver-0.5.4.ebuild 1273 BLAKE2B 0d4fbdfb5f9d43da42816fdb80f7dedda810f3280c40b50705eb086c598e7616227719bdb8a83ed37105a3380557b4b158d64f41e1a48bf06f27f623eabbd89d SHA512 08857031cd10edb52931b5a78d687e62470039228a8d8f02efaf7e98759db9cb0d5bbf2fdb2b3de0c97317205e184d612dd4beafaef31eb6796895a27b52e8f2 -EBUILD nanovna-saver-9999.ebuild 1275 BLAKE2B 941fdc3687f3b37fb2d91c08d068e3fd72adab3deb53b3695ee3dc1a8887558e8a340c35ab98d4dd5706909c7506bbc4d8083dc7138d3c05159f480d764c09ae SHA512 d7c300847a171c883d670846d37274f77f4f8a04631e4580598944a25ebcad9698bcd964b852cd0d70685e14042fd13f144181d0ba605a6b6a6b36aa9cece184 +EBUILD nanovna-saver-0.6.2.ebuild 1160 BLAKE2B 880e3bad18ae1d45eb876847558444c855d946023ce4a50f871beca2e2f2d82f68bfe8099dd152ae38db823159fee24cba9fc8498a1540104638729e9ebf81d4 SHA512 cce07f6718a27fb9b94e913f262020895525ad3283eefbb1a9c7e53dfccdc21fc1bd0970e41a377178e167bff80267f5e82f057bfe0463228ba26489c26d43ef +EBUILD nanovna-saver-9999.ebuild 1160 BLAKE2B 880e3bad18ae1d45eb876847558444c855d946023ce4a50f871beca2e2f2d82f68bfe8099dd152ae38db823159fee24cba9fc8498a1540104638729e9ebf81d4 SHA512 cce07f6718a27fb9b94e913f262020895525ad3283eefbb1a9c7e53dfccdc21fc1bd0970e41a377178e167bff80267f5e82f057bfe0463228ba26489c26d43ef MISC metadata.xml 543 BLAKE2B 04c50e81948a367bbe842cc1471471c482a5f813c90d7f98fb5af27868700496d4edc08aabd9d4a0674c556a467ab03a83f7b356039b1fc92e41e301e682f739 SHA512 e250acfe7bae2e5673270f4af746aca72a3d50b5b248cd70cf2a2f87aa30ce74d505fbf806cf5f7809be1aafad631f4e68a83aa13622dfdbbf498107f888bcab diff --git a/net-wireless/nanovna-saver/nanovna-saver-0.6.2.ebuild b/net-wireless/nanovna-saver/nanovna-saver-0.6.2.ebuild new file mode 100644 index 000000000000..f9bae222d086 --- /dev/null +++ b/net-wireless/nanovna-saver/nanovna-saver-0.6.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 2019-2023 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" +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" + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}" +fi +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + dev-python/cython[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] + dev-python/PyQt6[${PYTHON_USEDEP},gui,widgets] + 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 b34fe28b25d0..f9bae222d086 100644 --- a/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild +++ b/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild @@ -17,7 +17,8 @@ if [ "${PV}" = "9999" ]; then 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" + KEYWORDS="~amd64" + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}" fi IUSE="" @@ -25,21 +26,13 @@ DEPEND="" RDEPEND="${DEPEND} dev-python/cython[${PYTHON_USEDEP}] dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] + dev-python/PyQt6[${PYTHON_USEDEP},gui,widgets] dev-python/numpy[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}]" -BDEPEND="" +BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]" distutils_enable_tests pytest -src_prepare() { - sed -i -e "s/48.png/48/" \ - -e "s/TerminalOptions=/#TerminalOptions=/" \ - -e "s/Path=/#Path=/" NanoVNASaver.desktop || die - sed -i "/nanovnasaver/d" setup.py || die - eapply_user -} - python_install() { distutils-r1_python_install } |