svn commit: r355664 - head/science/py-ws2300

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu May 29 05:11:19 UTC 2014


Author: sunpoet
Date: Thu May 29 05:11:17 2014
New Revision: 355664
URL: http://svnweb.freebsd.org/changeset/ports/355664
QAT: https://qat.redports.org/buildarchive/r355664/

Log:
  - Update to 1.9
  - Update MASTER_SITES [1]
  - Add LICENSE
  - Use PYDISTUTILS_AUTOPLIST instead of PLIST
  - Update WWW [1]
  - While I'm here, fix USE_PYTHON
  
  PR:		ports/190274
  Submitted by:	Muhammad Moinur Rahman <5u623l20 at gmail.com>
  		Stefan Bethke <stb at lassitu.de> (maintainer) [1]
  Approved by:	Stefan Bethke <stb at lassitu.de> (maintainer)

Deleted:
  head/science/py-ws2300/pkg-plist
Modified:
  head/science/py-ws2300/Makefile
  head/science/py-ws2300/distinfo
  head/science/py-ws2300/pkg-descr

Modified: head/science/py-ws2300/Makefile
==============================================================================
--- head/science/py-ws2300/Makefile	Thu May 29 03:27:41 2014	(r355663)
+++ head/science/py-ws2300/Makefile	Thu May 29 05:11:17 2014	(r355664)
@@ -2,24 +2,22 @@
 # $FreeBSD$
 
 PORTNAME=	ws2300
-PORTVERSION=	1.7
+PORTVERSION=	1.9
 CATEGORIES=	science python
-MASTER_SITES=	http://ace-host.stuart.id.au/russell/files/ws2300/ \
-		http://www.transit.hanse.de/mirror/ace-host.stuart.id.au/russell/files/ws2300/
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}-1
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	stb at lassitu.de
 COMMENT=	Driver for the LaCrosse WS-2300 weather station
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
+LICENSE=	AGPLv3
 
-MAN1=	ws2300.1
+USE_PYTHON=	2
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
-NO_STAGE=	yes
 post-install:
-	#@${LN} -sf ${PYTHONPREFIX_SITELIBDIR}/ws2300.py ${PREFIX}/bin/ws2300
-	@${INSTALL_SCRIPT} ${FILESDIR}/ws2300 ${PREFIX}/bin/ws2300
-	@${INSTALL_MAN} ${WRKSRC}/ws2300.1 ${PREFIX}/man/man1/
+	${INSTALL_SCRIPT} ${FILESDIR}/ws2300 ${STAGEDIR}${PREFIX}/bin/ws2300
+	${INSTALL_MAN} ${WRKSRC}/ws2300.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 .include <bsd.port.mk>

Modified: head/science/py-ws2300/distinfo
==============================================================================
--- head/science/py-ws2300/distinfo	Thu May 29 03:27:41 2014	(r355663)
+++ head/science/py-ws2300/distinfo	Thu May 29 05:11:17 2014	(r355664)
@@ -1,2 +1,2 @@
-SHA256 (ws2300-1.7.tar.gz) = c5ddc2dcf2750a91d8dfcdce0e06224ab66218071654d16cbd3b7d91a1e5c2e7
-SIZE (ws2300-1.7.tar.gz) = 71114
+SHA256 (ws2300-1.9.tar.gz) = e55e089e2fdc3e365ef4fec53d1480fa1bdf49c0edab449fc3e745a72d747e14
+SIZE (ws2300-1.9.tar.gz) = 73257

Modified: head/science/py-ws2300/pkg-descr
==============================================================================
--- head/science/py-ws2300/pkg-descr	Thu May 29 03:27:41 2014	(r355663)
+++ head/science/py-ws2300/pkg-descr	Thu May 29 05:11:17 2014	(r355664)
@@ -2,4 +2,4 @@ Ws2300 manipulates the LaCrosse WS-2300 
 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/
+WWW: http://ws2300.sourceforge.net


More information about the svn-ports-all mailing list