summaryrefslogtreecommitdiff
path: root/dev-python/pyvisa
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-02 07:10:59 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-02 07:10:59 +0000
commitc0656c8d2536fafb7b43a5c83288b99f600ca54b (patch)
treeeaec9e8b3ef59931427d76ec6a95cab7a889b4a9 /dev-python/pyvisa
parent0afa2e4c11accc0b2f071494ec4dc1f81b8d1a75 (diff)
downloadbaldeagleos-repo-c0656c8d2536fafb7b43a5c83288b99f600ca54b.tar.gz
baldeagleos-repo-c0656c8d2536fafb7b43a5c83288b99f600ca54b.tar.xz
baldeagleos-repo-c0656c8d2536fafb7b43a5c83288b99f600ca54b.zip
Adding metadata
Diffstat (limited to 'dev-python/pyvisa')
-rw-r--r--dev-python/pyvisa/Manifest1
-rw-r--r--dev-python/pyvisa/metadata.xml25
-rw-r--r--dev-python/pyvisa/pyvisa-1.16.1.ebuild32
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pyvisa/Manifest b/dev-python/pyvisa/Manifest
new file mode 100644
index 000000000000..2ff8a6bfb1bd
--- /dev/null
+++ b/dev-python/pyvisa/Manifest
@@ -0,0 +1 @@
+DIST pyvisa-1.16.1.tar.gz 238621 BLAKE2B ad1bddc9092bdb47d9b7c12450e5e213af86794c65c8f7e6b41f688ffc9b7fa509247378dbee868be202994640760c8a9dfcab13f4d96d8644a33c158b462413 SHA512 e505cfa4a14bdf8c3177f06c4126c90361d4badffac03eca3fea46c2b235b946739eb4b098e78ab62a72269f57b49cfc93cc08d807373f29f2c98e9eb6017f6d
diff --git a/dev-python/pyvisa/metadata.xml b/dev-python/pyvisa/metadata.xml
new file mode 100644
index 000000000000..820ce4dae969
--- /dev/null
+++ b/dev-python/pyvisa/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>vowstar@gmail.com</email>
+ <name>Huang Rui</name>
+ </maintainer>
+ <longdescription lang="en">
+ PyVISA is a Python package for controlling measurement devices and test
+ equipment via GPIB, RS232, USB, and Ethernet interfaces using the VISA
+ (Virtual Instrument Software Architecture) standard. It provides a
+ unified API for communicating with instruments from various manufacturers,
+ supporting both NI-VISA and pure-Python backends.
+ </longdescription>
+ <longdescription lang="zh">
+ PyVISA是一个Python包,用于通过GPIB、RS232、USB和以太网接口使用VISA
+ (虚拟仪器软件架构)标准来控制测量设备和测试设备。它提供了统一的API,
+ 用于与各个制造商的仪器进行通信,支持NI-VISA和纯Python后端。
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/pyvisa/pyvisa/issues</bugs-to>
+ <doc>https://pyvisa.readthedocs.io/</doc>
+ </upstream>
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pyvisa/pyvisa-1.16.1.ebuild b/dev-python/pyvisa/pyvisa-1.16.1.ebuild
new file mode 100644
index 000000000000..9bd997e25de9
--- /dev/null
+++ b/dev-python/pyvisa/pyvisa-1.16.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..14} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN="pyvisa"
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python VISA bindings for GPIB, RS232, TCPIP and USB instruments"
+HOMEPAGE="https://github.com/pyvisa/pyvisa https://pypi.org/project/pyvisa/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# test_visa_info requires installed entry point not available during test phase
+EPYTEST_DESELECT=(
+ pyvisa/testsuite/test_cmd_line_tools.py::TestCmdLineTools::test_visa_info
+)
+
+RDEPEND="
+ >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ ${RDEPEND}
+"
+
+EPYTEST_PLUGINS=( )
+distutils_enable_tests pytest