ports/153452: New port: science/py-ws2300 A driver for the LaCrosse WS-2300 weather station

Stefan Bethke stb at lassitu.de
Sun Dec 26 11:40:11 UTC 2010


>Number:         153452
>Category:       ports
>Synopsis:       New port: science/py-ws2300 A driver for the LaCrosse WS-2300 weather station
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 26 11:40:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Bethke
>Release:        FreeBSD 8.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD diesel.lassitu.de 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #6 r216182: Sat Dec 4 14:44:46 CET 2010 root at diesel.lassitu.de:/usr/obj/usr/src/sys/DIESEL amd64


Ws2300 manipulates the LaCrosse WS-2300 weather station via its RS232
interface. It can read and write values, and can continuously log data from
WS-2300 to a file or SQL database.

WWW: http://ace-host.stuart.id.au/russell/files/ws2300/


# 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-ws2300
#	py-ws2300/distinfo
#	py-ws2300/pkg-plist
#	py-ws2300/Makefile
#	py-ws2300/files
#	py-ws2300/files/ws2300
#	py-ws2300/pkg-descr
#
echo c - py-ws2300
mkdir -p py-ws2300 > /dev/null 2>&1
echo x - py-ws2300/distinfo
sed 's/^X//' >py-ws2300/distinfo << 'd6658d0e9f20f34fad70eb0626cb729c'
XSHA256 (ws2300-1.3.tar.gz) = f824943f04791d63fc5edd940a60181bde2c8f575c11be1e473036fce76c7eef
XSIZE (ws2300-1.3.tar.gz) = 63738
d6658d0e9f20f34fad70eb0626cb729c
echo x - py-ws2300/pkg-plist
sed 's/^X//' >py-ws2300/pkg-plist << 'f76cabf254af03cfc8bad852c78c288d'
X%%PYTHON_SITELIBDIR%%/ws2300.py
X%%PYTHON_SITELIBDIR%%/ws2300.pyc
X%%PYTHON_SITELIBDIR%%/ws2300.pyo
Xbin/ws2300
f76cabf254af03cfc8bad852c78c288d
echo x - py-ws2300/Makefile
sed 's/^X//' >py-ws2300/Makefile << '7a0b06e1c53503f2c69695bf7d7531a7'
X# New ports collection makefile for:	py-ws2300
X# Date created:				26 December 2010
X# Whom:					Stefan Bethke <stb at lassitu.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ws2300
XPORTVERSION=	1.3
XCATEGORIES=	science python
XMASTER_SITES=	http://ace-host.stuart.id.au/russell/files/ws2300/ \
X		http://www.transit.hanse.de/mirror/ace-host.stuart.id.au/russell/files/ws2300/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X#DISTNAME=	pydns-${PORTVERSION}
X
XMAINTAINER=	stb at lassitu.de
XCOMMENT=	A driver for the LaCrosse WS-2300 weather station
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
X#PYDISTUTILS_PKGNAME=	x
X
XMAN1=	ws2300.1
X
Xpost-install:
X	#@${LN} -sf ${PYTHONPREFIX_SITELIBDIR}/ws2300.py ${PREFIX}/bin/ws2300
X	@${INSTALL_SCRIPT} ${FILESDIR}/ws2300 ${PREFIX}/bin/ws2300
X	@${INSTALL_MAN} ${WRKSRC}/ws2300.1 ${PREFIX}/man/man1/
X
X.include <bsd.port.mk>
7a0b06e1c53503f2c69695bf7d7531a7
echo c - py-ws2300/files
mkdir -p py-ws2300/files > /dev/null 2>&1
echo x - py-ws2300/files/ws2300
sed 's/^X//' >py-ws2300/files/ws2300 << '02cea18e519bd17929d719270a34d8f7'
X#!/usr/bin/env python
X
Xfrom ws2300 import *
Xmain(sys.argv)
02cea18e519bd17929d719270a34d8f7
echo x - py-ws2300/pkg-descr
sed 's/^X//' >py-ws2300/pkg-descr << '008ccc22a6abb8405cc79d0e3f0a0ef6'
XWs2300 manipulates the LaCrosse WS-2300 weather station via its RS232
Xinterface. It can read and write values, and can continuously log data from
XWS-2300 to a file or SQL database.
X
XWWW: http://ace-host.stuart.id.au/russell/files/ws2300/
008ccc22a6abb8405cc79d0e3f0a0ef6
exit

>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list