1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

add py-serial 1.12

Serial port encapsulation library for Python

PR:		35367
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
This commit is contained in:
Ying-Chieh Liao 2002-02-27 03:25:41 +00:00
parent f191bfbe47
commit 1c4f8b2988
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55296
6 changed files with 51 additions and 0 deletions

View File

@ -26,6 +26,7 @@
SUBDIR += mwavem
SUBDIR += plp
SUBDIR += pr
SUBDIR += py-serial
SUBDIR += qico
SUBDIR += qpage
SUBDIR += ruby-termios

30
comms/py-serial/Makefile Normal file
View File

@ -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>

1
comms/py-serial/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (pyserial-1.12.zip) = ac41d76fcb8a7bf3689790f0ad069428

View File

@ -0,0 +1 @@
Serial port encapsulation library for Python

View File

@ -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/

11
comms/py-serial/pkg-plist Normal file
View File

@ -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