ports/153452: New port: science/py-ws2300 A driver for the LaCrosse WS-2300 weather station
Stefan Bethke
stb at lassitu.de
Mon Dec 27 12:20:14 UTC 2010
The following reply was made to PR ports/153452; it has been noted by GNATS.
From: Stefan Bethke <stb at lassitu.de>
To: FreeBSD-gnats-submit at FreeBSD.org,
freebsd-ports-bugs at FreeBSD.org
Cc:
Subject: Re: ports/153452: New port: science/py-ws2300 A driver for the LaCrosse WS-2300 weather station
Date: Mon, 27 Dec 2010 13:16:54 +0100
--Apple-Mail-3--535081652
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
The upstream author was nice enough to incorporate the changes in the =
patch, so here's the new SHAR with version 1.4.
--=20
Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811
--Apple-Mail-3--535081652
Content-Disposition: attachment;
filename=py-ws2300.shar
Content-Type: application/octet-stream;
name="py-ws2300.shar"
Content-Transfer-Encoding: 7bit
# 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/distinfo
# py-ws2300/pkg-plist
# py-ws2300/Makefile
# py-ws2300/files/ws2300
# py-ws2300/pkg-descr
#
echo x - py-ws2300/distinfo
sed 's/^X//' >py-ws2300/distinfo << 'd6658d0e9f20f34fad70eb0626cb729c'
XSHA256 (ws2300-1.4.tar.gz) = b12a94e004490ba6664e50803cd04d955a667af9f331359f4c100b299830909f
XSIZE (ws2300-1.4.tar.gz) = 74094
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.4
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 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
--Apple-Mail-3--535081652--
More information about the freebsd-ports-bugs
mailing list