mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/pyvisa: add pkg_postinst backend info
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -30,3 +30,13 @@ BDEPEND="
|
||||
|
||||
EPYTEST_PLUGINS=( )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
elog "PyVISA requires a VISA backend to communicate with instruments."
|
||||
elog "Available backends:"
|
||||
elog " - dev-python/pyvisa-py (pure Python, no proprietary drivers needed)"
|
||||
elog " - NI-VISA (proprietary, from National Instruments)"
|
||||
elog ""
|
||||
elog "Install at least one backend, e.g.:"
|
||||
elog " emerge dev-python/pyvisa-py"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user