Change MASTER_SITES to GitHub

- Fix COMMENT
- Simplify options
- Update pkg-descr
- Add GitHub repository to WWW
- Take maintainership
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-02-26 22:32:48 +00:00
parent 21259c24ee
commit f4065f7298
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463089
3 changed files with 23 additions and 18 deletions

View file

@ -3,29 +3,25 @@
PORTNAME= pyvisa-py
PORTVERSION= 0.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyVISA-py-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= PyVISA backend in a pure Python
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PyVISA backend in pure Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= hgrecco
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_GROUP= DRIVERS
DRIVERS_DESC= Additional modules
OPTIONS_GROUP_DRIVERS= SERIAL USB
OPTIONS_DEFINE= SERIAL USB
SERIAL_DESC= Access to devices via RS-232
USB_DESC= Access to devices via USB
SERIAL_DESC= Access to devices via RS-232
SERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}serial>0:comms/py-serial@${FLAVOR}
USB_DESC= Access to devices via USB
USB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}usb>0:devel/py-usb@${FLAVOR}
SERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}serial>=0:comms/py-serial@${FLAVOR}
USB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}usb>=0:devel/py-usb@${FLAVOR}
.include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (hgrecco-pyvisa-py-0.2_GH0.tar.gz) = 602f8c405c0753d162820213504e0d501b05e9dcbb538191a985b0293c970741
SIZE (hgrecco-pyvisa-py-0.2_GH0.tar.gz) = 48322
TIMESTAMP = 1519582840
SHA256 (PyVISA-py-0.2.tar.gz) = 4e77ac0302f13f22e003d9be07ede371ead3fd672a17d9a963e24e8babc29ad7
SIZE (PyVISA-py-0.2.tar.gz) = 50244

View file

@ -1,5 +1,13 @@
PyVISA-py is a backend for PyVISA. It implements most of the methods
for Message Based communication (Serial/USB/GPIB/Ethernet) using
Python and some cross platform libraries.
PyVISA started as wrapper for the NI-VISA library and therefore you need to
install National Instruments VISA library in your system. This works most of the
time, for most people. But NI-VISA is a proprietary library that only works on
certain systems. That is when PyVISA-py jumps in.
Starting from version 1.6, PyVISA allows to use different backends. These
backends can be dynamically loaded. PyVISA-py is one of such backends. It
implements most of the methods for Message Based communication
(Serial/USB/GPIB/Ethernet) using Python and some well developed, easy to deploy
and cross platform libraries.
WWW: https://pypi.python.org/pypi/PyVISA-py
WWW: https://github.com/pyvisa/pyvisa-py