Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 21:49:47 +0600 (BDT)
From:      Muhammad Moinur Rahman <5u623l20@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        stb@lassitu.de
Subject:   ports/190274: [PATCH] science/py-ws2300: update to 1.9, Add STAGE support
Message-ID:  <201405261549.s4QFnlhl065671@bofh.1asiacom.net>
Resent-Message-ID: <201405261550.s4QFo074064873@freefall.freebsd.org>

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

>Number:         190274
>Category:       ports
>Synopsis:       [PATCH] science/py-ws2300: update to 1.9, Add STAGE support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 26 15:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Muhammad Moinur Rahman
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD bofh.1asiacom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r265972: Wed May 14 02:05:04 BDT
>Description:
- Update to 1.9
- Add STAGE support

Port maintainer (stb@lassitu.de) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- py-ws2300-1.9.patch begins here ---
diff -ruN /usr/ports//science/py-ws2300/Makefile ./Makefile
--- /usr/ports//science/py-ws2300/Makefile	2014-01-22 23:00:46.000000000 +0600
+++ ./Makefile	2014-05-26 21:49:16.975506219 +0600
@@ -2,7 +2,7 @@
 # $FreeBSD: head/science/py-ws2300/Makefile 340722 2014-01-22 17:00:46Z mat $
 
 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/
@@ -11,15 +11,15 @@
 MAINTAINER=	stb@lassitu.de
 COMMENT=	Driver for the LaCrosse WS-2300 weather station
 
+LICENSE=	AGPLv3
+
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
-MAN1=	ws2300.1
+PLIST_FILES=	man/man1/ws2300.1.gz
 
-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_MAN} ${WRKSRC}/ws2300.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 .include <bsd.port.mk>
diff -ruN /usr/ports//science/py-ws2300/distinfo ./distinfo
--- /usr/ports//science/py-ws2300/distinfo	2014-01-22 21:30:13.000000000 +0600
+++ ./distinfo	2014-05-26 20:56:13.639724188 +0600
@@ -1,2 +1,2 @@
-SHA256 (ws2300-1.7.tar.gz) = c5ddc2dcf2750a91d8dfcdce0e06224ab66218071654d16cbd3b7d91a1e5c2e7
-SIZE (ws2300-1.7.tar.gz) = 71114
+SHA256 (ws2300-1.9.tar.gz) = 6b2129701e740d246de6fe4d1b62499ff8de9cdbb5d3a3ac4002734d3565797f
+SIZE (ws2300-1.9.tar.gz) = 71568
diff -ruN /usr/ports//science/py-ws2300/pkg-plist ./pkg-plist
--- /usr/ports//science/py-ws2300/pkg-plist	2014-01-22 21:16:56.000000000 +0600
+++ ./pkg-plist	1970-01-01 06:00:00.000000000 +0600
@@ -1,4 +0,0 @@
-%%PYTHON_SITELIBDIR%%/ws2300.py
-%%PYTHON_SITELIBDIR%%/ws2300.pyc
-%%PYTHON_SITELIBDIR%%/ws2300.pyo
-bin/ws2300
--- py-ws2300-1.9.patch ends here ---

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



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