Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 11:39:28 +0900 (KST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35367: New port: comms/py-serial
Message-ID:  <200202270239.g1R2dSg81584@kornet.hanirc.org>

next in thread | raw e-mail | index | archive | help

>Number:         35367
>Category:       ports
>Synopsis:       New port: comms/py-serial
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 26 18:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD kornet.hanirc.org 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Jan 30 00:21:52 KST 2002 root@kornet.hanirc.org:/home/obj/home/src/sys/HANIRC i386

>Description:
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.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-serial
#	py-serial/Makefile
#	py-serial/distinfo
#	py-serial/pkg-comment
#	py-serial/pkg-descr
#	py-serial/pkg-plist
#
echo c - py-serial
mkdir -p py-serial > /dev/null 2>&1
echo x - py-serial/Makefile
sed 's/^X//' >py-serial/Makefile << 'END-of-py-serial/Makefile'
X# New ports collection makefile for:	py-serial
X# Date created:		26 February 2002
X# Whom:			Hye-Shik Chang <perky@fallin.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	serial
XPORTVERSION=	1.12
XCATEGORIES=	comms python
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	pyserial
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	pyserial-${PORTVERSION}
X
XMAINTAINER=	perky@fallin.lv
X
XUSE_ZIP=	yes
XEXTRACT_BEFORE_ARGS=	-a
XUSE_PYTHON=	yes
XPLIST_SUB+=	PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
XSETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
X
Xdo-build:
X	${SETUP_CMD} build
X
Xdo-install:
X	${SETUP_CMD} install
X
X.include <bsd.port.mk>
END-of-py-serial/Makefile
echo x - py-serial/distinfo
sed 's/^X//' >py-serial/distinfo << 'END-of-py-serial/distinfo'
XMD5 (pyserial-1.12.zip) = ac41d76fcb8a7bf3689790f0ad069428
END-of-py-serial/distinfo
echo x - py-serial/pkg-comment
sed 's/^X//' >py-serial/pkg-comment << 'END-of-py-serial/pkg-comment'
XSerial port encapsulation library for Python
END-of-py-serial/pkg-comment
echo x - py-serial/pkg-descr
sed 's/^X//' >py-serial/pkg-descr << 'END-of-py-serial/pkg-descr'
XThis module capsulates the access for the serial port.
XIt provides backends for stadard Python running on Windows,
XLinux, BSD (possibly any POSIX compilant system) and Jython.
XThe module named "serial" automaticaly selects the appropriate
Xbacked.
X
XWWW: http://pyserial.sourceforge.net/
END-of-py-serial/pkg-descr
echo x - py-serial/pkg-plist
sed 's/^X//' >py-serial/pkg-plist << 'END-of-py-serial/pkg-plist'
X%%PYTHON_SITELIBDIR%%/serial/__init__.py
X%%PYTHON_SITELIBDIR%%/serial/__init__.pyc
X%%PYTHON_SITELIBDIR%%/serial/serialjava.py
X%%PYTHON_SITELIBDIR%%/serial/serialjava.pyc
X%%PYTHON_SITELIBDIR%%/serial/serialposix.py
X%%PYTHON_SITELIBDIR%%/serial/serialposix.pyc
X%%PYTHON_SITELIBDIR%%/serial/serialutil.py
X%%PYTHON_SITELIBDIR%%/serial/serialutil.pyc
X%%PYTHON_SITELIBDIR%%/serial/serialwin32.py
X%%PYTHON_SITELIBDIR%%/serial/serialwin32.pyc
X@dirrm %%PYTHON_SITELIBDIR%%/serial
END-of-py-serial/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202270239.g1R2dSg81584>