diff --git a/dev-python/PyVISA/Manifest b/dev-python/PyVISA/Manifest index 35b6f3c05..c7a71e31f 100644 --- a/dev-python/PyVISA/Manifest +++ b/dev-python/PyVISA/Manifest @@ -1 +1,2 @@ DIST PyVISA-1.13.0.tar.gz 227028 BLAKE2B 7764ac8b0e892ea53f885ed8bf40725f50889ccff972ab74489c1e287bc38570d1d38f8c55ba4ced4df36cd0be9f4e526ddb3d3b445dfbd8d5a8a87636b5fb92 SHA512 b0569c2868088af743e785380015a77432c2e717ba5f9d16509e9a3629725e9d6261a198250a3fff4e72ffcb5b7c59a0b565ec269d3a06450c98cbac1efb0cc1 +DIST PyVISA-1.14.1.tar.gz 234683 BLAKE2B 7186249d300f3b2e386d82d459a698679996ba8f4f770ed5ed5e101ed07fe3d3ae3d10f44ebb154dd90bfdbb8bd8e1200146c5c605a7575cf9d810f5c608574d SHA512 b0567d2d7f6396749812929a0f000c900b410c7942ca4345b9aac22183faffbad2895b7c13eded943562719e1de2dc0de9460f2b1314d9d02c22452f771f58f5 diff --git a/dev-python/PyVISA/PyVISA-1.14.1.ebuild b/dev-python/PyVISA/PyVISA-1.14.1.ebuild new file mode 100644 index 000000000..e560f1205 --- /dev/null +++ b/dev-python/PyVISA/PyVISA-1.14.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION="Python VISA bindings for GPIB, RS232, and USB instruments" +HOMEPAGE="https://github.com/pyvisa/pyvisa" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/typing-extensions[${PYTHON_USEDEP}]" + +BDEPEND="test? ( + dev-python/PyVISA-sim[${PYTHON_USEDEP}] + dev-python/PyVISA-py[${PYTHON_USEDEP}] +)" # And optionally sci-ni/ni_visa for extra tests + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme + +pkg_postinst() { + elog "You'll need a VISA driver to use this package, either the proprietary sci-ni/ni_visa::natinst from National Instruments or the open-source pure python implementation dev-python/PyVISA-py" +}