diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-02-27 03:25:41 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-02-27 03:25:41 +0000 |
commit | df169d1b36d2145346b290a3d36862358baeba07 (patch) | |
tree | add4553a10240a7090210eec032ab5db8334d5fd /comms | |
parent | ae54c7f49cca4aff6623c5615bb53c2bafaea7e7 (diff) | |
download | FreeBSD-ports-df169d1b36d2145346b290a3d36862358baeba07.zip FreeBSD-ports-df169d1b36d2145346b290a3d36862358baeba07.tar.gz |
add py-serial 1.12
Serial port encapsulation library for Python
PR: 35367
Submitted by: Hye-Shik Chang <perky@fallin.lv>
Diffstat (limited to 'comms')
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/py-serial/Makefile | 30 | ||||
-rw-r--r-- | comms/py-serial/distinfo | 1 | ||||
-rw-r--r-- | comms/py-serial/pkg-comment | 1 | ||||
-rw-r--r-- | comms/py-serial/pkg-descr | 7 | ||||
-rw-r--r-- | comms/py-serial/pkg-plist | 11 |
6 files changed, 51 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index 4beb024..6844385 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -26,6 +26,7 @@ SUBDIR += mwavem SUBDIR += plp SUBDIR += pr + SUBDIR += py-serial SUBDIR += qico SUBDIR += qpage SUBDIR += ruby-termios diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile new file mode 100644 index 0000000..008a606 --- /dev/null +++ b/comms/py-serial/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: py-serial +# Date created: 26 February 2002 +# Whom: Hye-Shik Chang <perky@fallin.lv> +# +# $FreeBSD$ +# + +PORTNAME= serial +PORTVERSION= 1.12 +CATEGORIES= comms python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= pyserial +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyserial-${PORTVERSION} + +MAINTAINER= perky@fallin.lv + +USE_ZIP= yes +EXTRACT_BEFORE_ARGS= -a +USE_PYTHON= yes +PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g} +SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py + +do-build: + ${SETUP_CMD} build + +do-install: + ${SETUP_CMD} install + +.include <bsd.port.mk> diff --git a/comms/py-serial/distinfo b/comms/py-serial/distinfo new file mode 100644 index 0000000..7d473f2 --- /dev/null +++ b/comms/py-serial/distinfo @@ -0,0 +1 @@ +MD5 (pyserial-1.12.zip) = ac41d76fcb8a7bf3689790f0ad069428 diff --git a/comms/py-serial/pkg-comment b/comms/py-serial/pkg-comment new file mode 100644 index 0000000..7f422d8 --- /dev/null +++ b/comms/py-serial/pkg-comment @@ -0,0 +1 @@ +Serial port encapsulation library for Python diff --git a/comms/py-serial/pkg-descr b/comms/py-serial/pkg-descr new file mode 100644 index 0000000..e98c04a --- /dev/null +++ b/comms/py-serial/pkg-descr @@ -0,0 +1,7 @@ +This module capsulates the access for the serial port. +It provides backends for stadard Python running on Windows, +Linux, BSD (possibly any POSIX compilant system) and Jython. +The module named "serial" automaticaly selects the appropriate +backed. + +WWW: http://pyserial.sourceforge.net/ diff --git a/comms/py-serial/pkg-plist b/comms/py-serial/pkg-plist new file mode 100644 index 0000000..2550132 --- /dev/null +++ b/comms/py-serial/pkg-plist @@ -0,0 +1,11 @@ +%%PYTHON_SITELIBDIR%%/serial/__init__.py +%%PYTHON_SITELIBDIR%%/serial/__init__.pyc +%%PYTHON_SITELIBDIR%%/serial/serialjava.py +%%PYTHON_SITELIBDIR%%/serial/serialjava.pyc +%%PYTHON_SITELIBDIR%%/serial/serialposix.py +%%PYTHON_SITELIBDIR%%/serial/serialposix.pyc +%%PYTHON_SITELIBDIR%%/serial/serialutil.py +%%PYTHON_SITELIBDIR%%/serial/serialutil.pyc +%%PYTHON_SITELIBDIR%%/serial/serialwin32.py +%%PYTHON_SITELIBDIR%%/serial/serialwin32.pyc +@dirrm %%PYTHON_SITELIBDIR%%/serial |