diff options
author | Rick Farina <zerochaos@gentoo.org> | 2019-11-06 13:46:40 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2019-11-06 13:46:51 -0500 |
commit | a7d5fea34fae45eaf202e9546cb4055f83aef2fe (patch) | |
tree | 0141efe971e970de13079bb846622ee8bf56ae02 /net-wireless | |
parent | dev-db/mariadb: Version bump for 10.2.28 (diff) | |
download | gentoo-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')
-rw-r--r-- | net-wireless/nanovna-saver/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/nanovna-saver/nanovna-saver-0.1.5.ebuild | 28 | ||||
-rw-r--r-- | net-wireless/nanovna-saver/nanovna-saver-9999.ebuild | 16 |
3 files changed, 37 insertions, 8 deletions
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 -} |