nanovna-saver: save some very broken stuff from gentoo because I use it

This commit is contained in:
Rick Farina (Zero_Chaos) 2022-03-19 22:31:42 -04:00
parent 3ff8b55f17
commit 629b84ef5f
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
5 changed files with 85 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST nanovna-saver-0.3.10.tar.gz 477821 BLAKE2B c41889c1421642c7df55e470b7a45acdf17483203a133d909ca3323150bdf1b712af42c1c28981c8171535fa13dc3573218a4872139f72a447ce29a1f7921b35 SHA512 47a13673aa5639bb3eabbf55a183a19b611144710041a7a4dac4782b4f022f0a316453169a210123c4f26dab1a19af27be37cddcf641d8aecc266396b8fa6eff

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">mihtjel/nanovna-saver</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,38 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8,9,10} )
inherit distutils-r1
DESCRIPTION="tool for reading, displaying and saving data from the NanoVNA"
HOMEPAGE="https://github.com/mihtjel/nanovna-saver"
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=""
#this is broke and I have no idea why
RESTRICT="test"
DEPEND=""
RDEPEND="${DEPEND}
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]"
BDEPEND=""
src_prepare() {
#obviously the wrong solution, but can't figure it out
rm -rf "${S}/test"
distutils-r1_src_prepare
}

View file

@ -0,0 +1,38 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8,9,10} )
inherit distutils-r1
DESCRIPTION="tool for reading, displaying and saving data from the NanoVNA"
HOMEPAGE="https://github.com/mihtjel/nanovna-saver"
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=""
#this is broke and I have no idea why
RESTRICT="test"
DEPEND=""
RDEPEND="${DEPEND}
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]"
BDEPEND=""
src_prepare() {
#obviously the wrong solution, but can't figure it out
rm -rf "${S}/test"
distutils-r1_src_prepare
}

View file

@ -20,3 +20,4 @@ net-wireless/libm2k
dev-python/simplespectral
dev-python/simplesoapy
net-wireless/soapy_power
net-wireless/nanovna-saver