dev-python/pyvisa: add pkg_postinst backend info

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2026-03-02 11:01:55 +08:00
parent 1bbce683cb
commit 74d0a2b116

View File

@@ -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"
}