From a7d5fea34fae45eaf202e9546cb4055f83aef2fe Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Wed, 6 Nov 2019 13:46:40 -0500 Subject: net-wireless/nanovna-saver: add release Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Rick Farina --- net-wireless/nanovna-saver/Manifest | 1 + .../nanovna-saver/nanovna-saver-0.1.5.ebuild | 28 ++++++++++++++++++++++ .../nanovna-saver/nanovna-saver-9999.ebuild | 16 ++++++------- 3 files changed, 37 insertions(+), 8 deletions(-) create mode 100644 net-wireless/nanovna-saver/Manifest create mode 100644 net-wireless/nanovna-saver/nanovna-saver-0.1.5.ebuild (limited to 'net-wireless') diff --git a/net-wireless/nanovna-saver/Manifest b/net-wireless/nanovna-saver/Manifest new file mode 100644 index 000000000000..c7bbec5906af --- /dev/null +++ b/net-wireless/nanovna-saver/Manifest @@ -0,0 +1 @@ +DIST nanovna-saver-0.1.5.tar.gz 96346 BLAKE2B e3ae93df4c732f27dc7781068b6fba3abda81b84b1663953ddf5cbc043e45c273ccc1f25c81f0c02180ebfad8e0cd0d65411fc75f2c7124cfeed8b7ff0b71aff SHA512 cb230f17f45bff77bb60700e5a32d8fd577cfa2603a3bde03dbdebd20bc0c5c2acc1546560a08d0cb3c1abce5e7e6aef067e3805d5ec09e70aefb9e1a1f3a164 diff --git a/net-wireless/nanovna-saver/nanovna-saver-0.1.5.ebuild b/net-wireless/nanovna-saver/nanovna-saver-0.1.5.ebuild new file mode 100644 index 000000000000..eeb9302e2479 --- /dev/null +++ b/net-wireless/nanovna-saver/nanovna-saver-0.1.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_7 ) +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/pyserial[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}]" +BDEPEND="" diff --git a/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild b/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild index 96b4a3691d7b..eeb9302e2479 100644 --- a/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild +++ b/net-wireless/nanovna-saver/nanovna-saver-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 PYTHON_COMPAT=( python3_7 ) -inherit git-r3 distutils-r1 +inherit distutils-r1 DESCRIPTION="tool for reading, displaying and saving data from the NanoVNA" HOMEPAGE="https://github.com/mihtjel/nanovna-saver" @@ -11,8 +11,13 @@ SRC_URI="" LICENSE="GPL-3+" SLOT="0" -EGIT_REPO_URI="https://github.com/mihtjel/nanovna-saver.git" -KEYWORDS="" +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="" @@ -21,8 +26,3 @@ RDEPEND="${DEPEND} dev-python/PyQt5[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}]" BDEPEND="" - -src_prepare() { - sed -i 's#==5.11.2##' setup.py - default -} -- cgit v1.2.3-65-gdbad