diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2022-03-21 14:31:09 +0100 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2022-03-21 14:35:43 +0100 |
commit | 725073832253187b4183b0ddaa1672451e66ae49 (patch) | |
tree | 0b2f4c5ca0d1c11ee4f5be98499a786a78398726 /net-wireless/nanovna-saver | |
parent | sys-kernel/pf-sources: add 5.16-pf7 (diff) | |
download | gentoo-725073832253187b4183b0ddaa1672451e66ae49.tar.gz gentoo-725073832253187b4183b0ddaa1672451e66ae49.tar.bz2 gentoo-725073832253187b4183b0ddaa1672451e66ae49.zip |
net-wireless/nanovna-saver: enable py3.10, add USE deps and tests
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'net-wireless/nanovna-saver')
-rw-r--r-- | net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild b/net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild index 1270f8f75142..e2817ae6b9e4 100644 --- a/net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild +++ b/net-wireless/nanovna-saver/nanovna-saver-0.3.10.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="tool for reading, displaying and saving data from the NanoVNA" @@ -24,14 +24,16 @@ DEPEND="" RDEPEND="${DEPEND} dev-python/cython[${PYTHON_USEDEP}] dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/PyQt5[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets] dev-python/numpy[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}]" BDEPEND="" PATCHES=( "${FILESDIR}"/no-newline-in-description.patch ) -src_prepare() { - rm "${S}"/test -R || die - distutils-r1_src_prepare +distutils_enable_tests pytest + +python_install() { + rm -r "${BUILD_DIR}"/lib/test || die + distutils-r1_python_install } |