1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Extend USE_PYTHON range (connect Python 2.7)

PR:		ports/149952
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net> (maintainer)
This commit is contained in:
Li-Wen Hsu 2010-08-25 06:29:03 +00:00
parent 48918810a4
commit cb5db6d7ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259950
2 changed files with 4 additions and 5 deletions

View File

@ -14,10 +14,13 @@ MASTER_SITES= http://fungi.yuggoth.org/weather/src/ \
MAINTAINER= sunpoet@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

View File

@ -1,4 +0,0 @@
@comment $FreeBSD$
bin/weather
%%PYTHON_SITELIBDIR%%/weather.py
%%PYTHON_SITELIBDIR%%/weather.pyc