From f4065f729835e08d9ed1c52fd8ec2195d8e2fbd4 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 26 Feb 2018 22:32:48 +0000 Subject: [PATCH] Change MASTER_SITES to GitHub - Fix COMMENT - Simplify options - Update pkg-descr - Add GitHub repository to WWW - Take maintainership --- devel/py-pyvisa-py/Makefile | 22 +++++++++------------- devel/py-pyvisa-py/distinfo | 5 +++-- devel/py-pyvisa-py/pkg-descr | 14 +++++++++++--- 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/devel/py-pyvisa-py/Makefile b/devel/py-pyvisa-py/Makefile index 3ce117846f70..f27dae3d7bd5 100644 --- a/devel/py-pyvisa-py/Makefile +++ b/devel/py-pyvisa-py/Makefile @@ -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 diff --git a/devel/py-pyvisa-py/distinfo b/devel/py-pyvisa-py/distinfo index 037a6e6df0b9..b4f1c7ed8019 100644 --- a/devel/py-pyvisa-py/distinfo +++ b/devel/py-pyvisa-py/distinfo @@ -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 diff --git a/devel/py-pyvisa-py/pkg-descr b/devel/py-pyvisa-py/pkg-descr index 1a6bb8ee7dec..5695e8fdb571 100644 --- a/devel/py-pyvisa-py/pkg-descr +++ b/devel/py-pyvisa-py/pkg-descr @@ -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