ports/149952: [MAINTAINER] astro/weather: extend USE_PYTHON range, use PLIST_FILES
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Wed Aug 25 01:50:09 UTC 2010
>Number: 149952
>Category: ports
>Synopsis: [MAINTAINER] astro/weather: extend USE_PYTHON range, use PLIST_FILES
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 25 01:50:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 8.1-STABLE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Jul 25 00:09:24 CST 2010
>Description:
Extend USE_PYTHON range (connect Python 2.7)
Use PLIST_FILES instead of pkg-plist
Removed file(s):
- pkg-plist
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- weather-1.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/astro/weather/Makefile /usr/ports/sunpoet/weather/Makefile
--- /usr/ports/astro/weather/Makefile 2010-06-02 18:51:00.000000000 +0800
+++ /usr/ports/sunpoet/weather/Makefile 2010-08-25 06:54:41.000000000 +0800
@@ -14,10 +14,13 @@
MAINTAINER= sunpoet at sunpoet.net
COMMENT= An utility to provide current weather conditions and forecasts
-USE_PYTHON= -2.6
+USE_PYTHON= -2.7
MAN1= weather.1
MAN5= weatherrc.5
+PLIST_FILES= bin/weather \
+ %%PYTHON_SITELIBDIR%%/${PORTNAME}.py \
+ %%PYTHON_SITELIBDIR%%/${PORTNAME}.pyc
post-patch:
@${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' ${WRKSRC}/weather
diff -ruN --exclude=CVS /usr/ports/astro/weather/pkg-plist /usr/ports/sunpoet/weather/pkg-plist
--- /usr/ports/astro/weather/pkg-plist 2010-06-02 18:51:00.000000000 +0800
+++ /usr/ports/sunpoet/weather/pkg-plist 1970-01-01 08:00:00.000000000 +0800
@@ -1,4 +0,0 @@
- at comment $FreeBSD: ports/astro/weather/pkg-plist,v 1.1 2010/06/02 10:51:00 wen Exp $
-bin/weather
-%%PYTHON_SITELIBDIR%%/weather.py
-%%PYTHON_SITELIBDIR%%/weather.pyc
--- weather-1.5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list