mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
dev-python/pyvisa-py: new package, add 0.8.1
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
1
dev-python/pyvisa-py/Manifest
Normal file
1
dev-python/pyvisa-py/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pyvisa_py-0.8.1.tar.gz 102061 BLAKE2B 8ea850539f298568c449211a95182ed41f89b7cf5c37330f406b71b88938e26feaab29077bd6e2ad2b8afb61f7f8df23fe8a6a9cabb730d4447f15803ace8f72 SHA512 ac5cf656147c3a22d8d4e427d669873a648316f5285d644b2a34a0322f8b6835b5de50832a2481feb71e6cb7e4c62c1f6262d49094db0b5a6baebf41aa0061f4
|
||||
27
dev-python/pyvisa-py/metadata.xml
Normal file
27
dev-python/pyvisa-py/metadata.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vowstar@gmail.com</email>
|
||||
<name>Huang Rui</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
PyVISA-py is a pure Python implementation of the VISA (Virtual Instrument
|
||||
Software Architecture) library. It allows message-based communication with
|
||||
laboratory instruments over Serial, USB, GPIB, and Ethernet (TCP/IP)
|
||||
interfaces without requiring proprietary vendor VISA libraries.
|
||||
</longdescription>
|
||||
<longdescription lang="zh">
|
||||
PyVISA-py 是 VISA(虚拟仪器软件架构)库的纯 Python 实现。它允许通过串口、
|
||||
USB、GPIB 和以太网(TCP/IP)接口与实验室仪器进行基于消息的通信,无需依赖
|
||||
专有的厂商 VISA 库。
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pyvisa-py</remote-id>
|
||||
<remote-id type="github">pyvisa/pyvisa-py</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="serial">Enable serial port communication via <pkg>dev-python/pyserial</pkg></flag>
|
||||
<flag name="usb">Enable USB communication via <pkg>dev-python/pyusb</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
31
dev-python/pyvisa-py/pyvisa-py-0.8.1.ebuild
Normal file
31
dev-python/pyvisa-py/pyvisa-py-0.8.1.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_PN="pyvisa_py"
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Pure Python implementation of a VISA library"
|
||||
HOMEPAGE="https://github.com/pyvisa/pyvisa-py https://pypi.org/project/pyvisa-py/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="serial usb"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyvisa-1.15.0[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
serial? ( >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] )
|
||||
usb? ( dev-python/pyusb[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( )
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user