diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-02-27 11:25:41 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-02-27 11:25:41 +0800 |
commit | df169d1b36d2145346b290a3d36862358baeba07 (patch) | |
tree | add4553a10240a7090210eec032ab5db8334d5fd | |
parent | ae54c7f49cca4aff6623c5615bb53c2bafaea7e7 (diff) | |
download | freebsd-ports-gnome-df169d1b36d2145346b290a3d36862358baeba07.tar.gz freebsd-ports-gnome-df169d1b36d2145346b290a3d36862358baeba07.tar.zst freebsd-ports-gnome-df169d1b36d2145346b290a3d36862358baeba07.zip |
add py-serial 1.12
Serial port encapsulation library for Python
PR: 35367
Submitted by: Hye-Shik Chang <perky@fallin.lv>
-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 4beb02488954..684438577d44 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 000000000000..008a606c91da --- /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 000000000000..7d473f2c307e --- /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 000000000000..7f422d8191e2 --- /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 000000000000..e98c04ac4ac7 --- /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 000000000000..2550132df65b --- /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 |