Skip to content

Commit

Permalink
dev-python/PyVISA: add 1.14.1
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
  • Loading branch information
Nowa-Ammerlaan committed Feb 9, 2024
1 parent 0188c1e commit d9988d4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/PyVISA/Manifest
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
30 changes: 30 additions & 0 deletions dev-python/PyVISA/PyVISA-1.14.1.ebuild
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"
}

0 comments on commit d9988d4

Please sign in to comment.