mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
- Remove PY_SETUPTOOLS: py-setuptools should be used rather than PY_SETUPTOOLS Changes: https://github.com/pyvisa/pyvisa-py/releases https://github.com/pyvisa/pyvisa-py/blob/main/CHANGES
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
PORTNAME= pyvisa-py
|
|
PORTVERSION= 0.7.2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI \
|
|
https://github.com/pyvisa/pyvisa-py/releases/download/${PORTVERSION}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= PyVISA-py-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= PyVISA backend in pure Python
|
|
WWW= https://github.com/pyvisa/pyvisa-py
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyvisa>=1.13.0:devel/py-pyvisa@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= SERIAL USB
|
|
SERIAL_DESC= Access to devices via RS-232
|
|
USB_DESC= Access to devices via USB
|
|
|
|
SERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=3.0:comms/py-pyserial@${PY_FLAVOR}
|
|
USB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|