dev-python/PyVISA - 1.14.1 (natinst)

Search

Install

Install this version:

emerge -a =dev-python/PyVISA-1.14.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/PyVISA-1.14.1

Or alternatively:

emerge --autounmask-write -a =dev-python/PyVISA-1.14.1

Package Information

Description:
Python VISA bindings for GPIB, RS232, and USB instruments
Homepage:
https://github.com/pyvisa/pyvisa
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.14.1 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( pypy3 python3_{10..13} )
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"
}

Inherited Eclasses

Dependencies

RDEPEND

dev-python/typing-extensions[]

BDEPEND

test? (
	dev-python/PyVISA-sim[]
	dev-python/PyVISA-py[]
)