From 21259c24eef484e5b9badc6fd0c8d0b58d69fcad Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 26 Feb 2018 22:32:42 +0000 Subject: [PATCH] - Change MASTER_SITES to CHEESESHOP - Simplify Makefile: use PY_ENUM34 - Update pkg-descr - Add GitHub repository to WWW - Take maintainership --- devel/py-pyvisa/Makefile | 20 +++++++------------- devel/py-pyvisa/distinfo | 6 +++--- devel/py-pyvisa/pkg-descr | 7 ++++--- 3 files changed, 14 insertions(+), 19 deletions(-) diff --git a/devel/py-pyvisa/Makefile b/devel/py-pyvisa/Makefile index a7612db203c6..d8766c165846 100644 --- a/devel/py-pyvisa/Makefile +++ b/devel/py-pyvisa/Makefile @@ -3,28 +3,22 @@ PORTNAME= pyvisa PORTVERSION= 1.9.0 CATEGORIES= devel python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= PyVISA-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= Python VISA bindings for GPIB, RS232, and USB instruments +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python VISA bindings for GPIB, RS232, TCPIP and USB instruments LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyvisa-py>0:devel/py-pyvisa-py@${FLAVOR} - -USE_GITHUB= yes -GH_ACCOUNT= hgrecco +RUN_DEPENDS= ${PY_ENUM34} \ + ${PYTHON_PKGNAMEPREFIX}pyvisa-py>=0:devel/py-pyvisa-py@${FLAVOR} USES= python USE_LOCALE= en_US.UTF-8 USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3400 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34@${FLAVOR} -.endif - -.include +.include diff --git a/devel/py-pyvisa/distinfo b/devel/py-pyvisa/distinfo index 35519588941b..9a58ec0a70a3 100644 --- a/devel/py-pyvisa/distinfo +++ b/devel/py-pyvisa/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1519652917 -SHA256 (hgrecco-pyvisa-1.9.0_GH0.tar.gz) = ee0f9c40304234358d6be5699dbe9f0080442ca01a39220733545307b57307fd -SIZE (hgrecco-pyvisa-1.9.0_GH0.tar.gz) = 429390 +TIMESTAMP = 1519582213 +SHA256 (PyVISA-1.9.0.tar.gz) = 38e4a2800122b06441346d8469317f8117ee0d8ce700d12bf5bef337e6c152b5 +SIZE (PyVISA-1.9.0.tar.gz) = 440041 diff --git a/devel/py-pyvisa/pkg-descr b/devel/py-pyvisa/pkg-descr index 6df274b5ef86..d0fe1bc3aaa4 100644 --- a/devel/py-pyvisa/pkg-descr +++ b/devel/py-pyvisa/pkg-descr @@ -1,5 +1,6 @@ -Python bindings to the "Virtual Instrument Software Architecture" -VISA library, in order to control measurement devices via GPIB, -RS232, or USB. +A Python package for support of the "Virtual Instrument Software Architecture" +(VISA), in order to control measurement devices and test equipment via GPIB, +RS232, Ethernet or USB. WWW: https://pypi.python.org/pypi/PyVISA +WWW: https://github.com/pyvisa/pyvisa