diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-13 08:16:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-13 08:16:09 +0000 |
commit | 4a74938e510c0dad732ae4c48f815dd0f0cabb46 (patch) | |
tree | e8c52cd3619bba6cf0a5c367f6c9d2cff0ac9d80 /net-wireless/nanovna-saver | |
parent | ebc282ef4dfa408accac685565b8ee5f6faec119 (diff) |
gentoo auto-resync : 13:02:2023 - 08:16:09
Diffstat (limited to 'net-wireless/nanovna-saver')
-rw-r--r-- | net-wireless/nanovna-saver/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild | 2 | ||||
-rw-r--r-- | net-wireless/nanovna-saver/nanovna-saver-0.5.4.ebuild | 55 | ||||
-rw-r--r-- | net-wireless/nanovna-saver/nanovna-saver-9999.ebuild | 24 |
4 files changed, 81 insertions, 6 deletions
diff --git a/net-wireless/nanovna-saver/Manifest b/net-wireless/nanovna-saver/Manifest index e17a8718867b..f35781274c41 100644 --- a/net-wireless/nanovna-saver/Manifest +++ b/net-wireless/nanovna-saver/Manifest @@ -1,4 +1,6 @@ DIST nanovna-saver-0.5.3.tar.gz 490288 BLAKE2B 9d5ee7af273c05c92c6e136d0102a01e113460bac37e9a81ab1851fee883fa6d4b13f79a37c93732a3d5fe70865ee613d69773730fe62acc96c398f5caee9255 SHA512 690cce321bc9a8885356d4ca95d50c9c0255c1356dac88c4a89ff87ea77cc2f7782120aa66128cd5d9955d1367205c7cb14f0bbbba06912a26640ebb097247e4 -EBUILD nanovna-saver-0.5.3.ebuild 929 BLAKE2B c9ebe7cb862215b7af2cb01be8014310a89bb3dac7e2ce1c413f0c017ef8a9f731dd175f7d504a4c6e17a74b9c1e22fc25df801b3d343239c66e45fc1787b292 SHA512 0a6e56ac08e49a7c52fb0065371174ead7d63635482f896217f41f17567efde77617eb8c103534dc093815d943ff0cc017cd3dd1e1a3660ddfa1778a1bd5f319 -EBUILD nanovna-saver-9999.ebuild 929 BLAKE2B c9ebe7cb862215b7af2cb01be8014310a89bb3dac7e2ce1c413f0c017ef8a9f731dd175f7d504a4c6e17a74b9c1e22fc25df801b3d343239c66e45fc1787b292 SHA512 0a6e56ac08e49a7c52fb0065371174ead7d63635482f896217f41f17567efde77617eb8c103534dc093815d943ff0cc017cd3dd1e1a3660ddfa1778a1bd5f319 +DIST nanovna-saver-0.5.4.tar.gz 494010 BLAKE2B 71e4292e33dbb5b055e7ddd3a29222a67e05b1af431eaee64b613e50648b0b91ad5446cc2d3af868ae624826caf871bff9062275239298c29de261d741bad1f4 SHA512 6600b3c83fc1dcaf81a85b1d14087d2067327098c486011c8bfbaba83e06ca1081c6f7045730a58f097bab332072139707ea23c037924624d2f8100a7b61acb7 +EBUILD nanovna-saver-0.5.3.ebuild 929 BLAKE2B ad64a3d032af6b1b26a0a4333bc0fc9004bb18422881776ff3e631196cbca8b7a7e01d89f93e2316a5be1975e2e7703a46ae7eedf2a00be5d03761b3606ee443 SHA512 27ea5a0d6a04011530b74aa1c0e12c69b093883f40428cb7b47ba0b853f2ecc152e7d0d53d5ca58195abb0259fa131ce4bbb3fa70dd5d2c5bdaaf1044460f481 +EBUILD nanovna-saver-0.5.4.ebuild 1275 BLAKE2B 941fdc3687f3b37fb2d91c08d068e3fd72adab3deb53b3695ee3dc1a8887558e8a340c35ab98d4dd5706909c7506bbc4d8083dc7138d3c05159f480d764c09ae SHA512 d7c300847a171c883d670846d37274f77f4f8a04631e4580598944a25ebcad9698bcd964b852cd0d70685e14042fd13f144181d0ba605a6b6a6b36aa9cece184 +EBUILD nanovna-saver-9999.ebuild 1275 BLAKE2B 941fdc3687f3b37fb2d91c08d068e3fd72adab3deb53b3695ee3dc1a8887558e8a340c35ab98d4dd5706909c7506bbc4d8083dc7138d3c05159f480d764c09ae SHA512 d7c300847a171c883d670846d37274f77f4f8a04631e4580598944a25ebcad9698bcd964b852cd0d70685e14042fd13f144181d0ba605a6b6a6b36aa9cece184 MISC metadata.xml 543 BLAKE2B 04c50e81948a367bbe842cc1471471c482a5f813c90d7f98fb5af27868700496d4edc08aabd9d4a0674c556a467ab03a83f7b356039b1fc92e41e301e682f739 SHA512 e250acfe7bae2e5673270f4af746aca72a3d50b5b248cd70cf2a2f87aa30ce74d505fbf806cf5f7809be1aafad631f4e68a83aa13622dfdbbf498107f888bcab diff --git a/net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild b/net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild index bd5e82c6aa23..3d852a8ac4cc 100644 --- a/net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild +++ b/net-wireless/nanovna-saver/nanovna-saver-0.5.3.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 DESCRIPTION="tool for reading, displaying and saving data from the NanoVNA" diff --git a/net-wireless/nanovna-saver/nanovna-saver-0.5.4.ebuild b/net-wireless/nanovna-saver/nanovna-saver-0.5.4.ebuild new file mode 100644 index 000000000000..b34fe28b25d0 --- /dev/null +++ b/net-wireless/nanovna-saver/nanovna-saver-0.5.4.ebuild @@ -0,0 +1,55 @@ +# 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 ~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 + +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 +} + +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 bd5e82c6aa23..b34fe28b25d0 100644 --- a/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild +++ b/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) -inherit distutils-r1 +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" @@ -31,7 +32,24 @@ BDEPEND="" 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() { - rm -r "${BUILD_DIR}"/lib/test || die distutils-r1_python_install } + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |