svn commit: r399221 - in head/devel: . pyvisa pyvisa-py

Max Brazhnikov makc at FreeBSD.org
Tue Oct 13 20:59:54 UTC 2015


Author: makc
Date: Tue Oct 13 20:59:51 2015
New Revision: 399221
URL: https://svnweb.freebsd.org/changeset/ports/399221

Log:
  Add new ports. devel/pyvisa:
  
  Python bindings to the "Virtual Instrument Software Architecture"
  VISA library, in order to control measurement devices via GPIB,
  RS232, or USB.
  
  WWW: https://pypi.python.org/pypi/PyVISA
  
  devel/pyvisa-py:
  
  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.
  
  WWW: https://pypi.python.org/pypi/PyVISA-py

Added:
  head/devel/pyvisa/
  head/devel/pyvisa-py/
  head/devel/pyvisa-py/Makefile   (contents, props changed)
  head/devel/pyvisa-py/distinfo   (contents, props changed)
  head/devel/pyvisa-py/pkg-descr   (contents, props changed)
  head/devel/pyvisa/Makefile   (contents, props changed)
  head/devel/pyvisa/distinfo   (contents, props changed)
  head/devel/pyvisa/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Oct 13 20:56:30 2015	(r399220)
+++ head/devel/Makefile	Tue Oct 13 20:59:51 2015	(r399221)
@@ -4455,6 +4455,8 @@
     SUBDIR += pysvn
     SUBDIR += pythk
     SUBDIR += pythontidy
+    SUBDIR += pyvisa
+    SUBDIR += pyvisa-py
     SUBDIR += qbzr
     SUBDIR += qca
     SUBDIR += qca-qt5

Added: head/devel/pyvisa-py/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pyvisa-py/Makefile	Tue Oct 13 20:59:51 2015	(r399221)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	pyvisa-py
+PORTVERSION=	0.2
+CATEGORIES=	devel python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	makc at FreeBSD.org
+COMMENT=	PyVISA backend in a pure Python
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	hgrecco
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+OPTIONS_GROUP=	DRIVERS
+DRIVERS_DESC=	Additional modules
+OPTIONS_GROUP_DRIVERS=	SERIAL USB
+
+SERIAL_DESC=		Access to devices via RS-232
+SERIAL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}serial>0:${PORTSDIR}/comms/py-serial
+
+USB_DESC=		Access to devices via USB
+USB_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}usb>0:${PORTSDIR}/devel/py-usb
+
+.include <bsd.port.mk>

Added: head/devel/pyvisa-py/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pyvisa-py/distinfo	Tue Oct 13 20:59:51 2015	(r399221)
@@ -0,0 +1,2 @@
+SHA256 (hgrecco-pyvisa-py-0.2_GH0.tar.gz) = 602f8c405c0753d162820213504e0d501b05e9dcbb538191a985b0293c970741
+SIZE (hgrecco-pyvisa-py-0.2_GH0.tar.gz) = 48322

Added: head/devel/pyvisa-py/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pyvisa-py/pkg-descr	Tue Oct 13 20:59:51 2015	(r399221)
@@ -0,0 +1,5 @@
+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.
+
+WWW: https://pypi.python.org/pypi/PyVISA-py

Added: head/devel/pyvisa/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pyvisa/Makefile	Tue Oct 13 20:59:51 2015	(r399221)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	pyvisa
+PORTVERSION=	1.8
+CATEGORIES=	devel python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	makc at FreeBSD.org
+COMMENT=	Python VISA bindings for GPIB, RS232, and USB instruments
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyvisa-py>0:${PORTSDIR}/devel/pyvisa-py
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	hgrecco
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3400
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
+.endif
+
+.include <bsd.port.post.mk>

Added: head/devel/pyvisa/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pyvisa/distinfo	Tue Oct 13 20:59:51 2015	(r399221)
@@ -0,0 +1,2 @@
+SHA256 (hgrecco-pyvisa-1.8_GH0.tar.gz) = 52830df5abcc293c2cd027517ee79f4f3005c7e27b8b8f0562b0bd6af8fa5e3a
+SIZE (hgrecco-pyvisa-1.8_GH0.tar.gz) = 423435

Added: head/devel/pyvisa/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pyvisa/pkg-descr	Tue Oct 13 20:59:51 2015	(r399221)
@@ -0,0 +1,5 @@
+Python bindings to the "Virtual Instrument Software Architecture"
+VISA library, in order to control measurement devices via GPIB,
+RS232, or USB.
+
+WWW: https://pypi.python.org/pypi/PyVISA


More information about the svn-ports-all mailing list