diff options
Diffstat (limited to 'net-wireless/nanovna-saver/nanovna-saver-9999.ebuild')
-rw-r--r-- | net-wireless/nanovna-saver/nanovna-saver-9999.ebuild | 16 |
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 -} |