-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
- Loading branch information
1 parent
0188c1e
commit d9988d4
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |