summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2019-11-06 13:46:40 -0500
committerRick Farina <zerochaos@gentoo.org>2019-11-06 13:46:51 -0500
commita7d5fea34fae45eaf202e9546cb4055f83aef2fe (patch)
tree0141efe971e970de13079bb846622ee8bf56ae02 /net-wireless/nanovna-saver/nanovna-saver-9999.ebuild
parentdev-db/mariadb: Version bump for 10.2.28 (diff)
downloadgentoo-a7d5fea34fae45eaf202e9546cb4055f83aef2fe.tar.gz
gentoo-a7d5fea34fae45eaf202e9546cb4055f83aef2fe.tar.bz2
gentoo-a7d5fea34fae45eaf202e9546cb4055f83aef2fe.zip
net-wireless/nanovna-saver: add release
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/nanovna-saver/nanovna-saver-9999.ebuild')
-rw-r--r--net-wireless/nanovna-saver/nanovna-saver-9999.ebuild16
1 files changed, 8 insertions, 8 deletions
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
-}