Date: Thu, 10 Nov 2011 00:21:56 +0100 (CET) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mainland@apeiron.net Subject: ports/162418: [PATCH] math/py27-matplotlib: add missing RUN_DEPENDS and fix warnings Message-ID: <201111092321.pA9NLuE0038333@backoffice.colby.local> Resent-Message-ID: <201111092330.pA9NUAfl096906@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162418 >Category: ports >Synopsis: [PATCH] math/py27-matplotlib: add missing RUN_DEPENDS and fix warnings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 09 23:30:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jimmy Olgeni >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD backoffice 8.2-STABLE FreeBSD 8.2-STABLE #1: Wed Oct 12 21:16:42 CEST 2011 >Description: Matplotlib requires dateutil to run, so I added both dateutil and pytz to RUN_DEPENDS (from BUILD_DEPENDS). I found out the hard way by using precompiled packages... A few portlint whitespace warnings are also fixed. Port maintainer (mainland@apeiron.net) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- py27-matplotlib-1.0.1_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/math/py-matplotlib/Makefile,v retrieving revision 1.39 diff -u -u -r1.39 Makefile --- Makefile 29 Jun 2011 01:59:58 -0000 1.39 +++ Makefile 9 Nov 2011 23:18:00 -0000 @@ -8,7 +8,7 @@ PORTNAME= matplotlib PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,13 +21,15 @@ ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ png.6:${PORTSDIR}/graphics/png -RUN_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}dateutil>=1.4:${PORTSDIR}/devel/py-dateutil \ + ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz USE_PYTHON= 2.4+ -USE_PYDISTUTILS= yes +USE_PYDISTUTILS=yes CFLAGS+= -I${LOCALBASE}/include -OPTIONS= GTKBACKEND "GTK backend support" ON \ +OPTIONS= GTKBACKEND "GTK backend support" ON \ GTKAGGBACKEND "GTKAgg backend support" ON \ TKAGGBACKEND "TKAgg backend support" ON \ WXAGGBACKEND "WXAgg backend support" OFF @@ -47,23 +49,23 @@ .endif .if defined(WITH_GTKBACKEND) && !defined(WITHOUT_GTKBACKEND) -GTK_BACKEND=True +GTK_BACKEND= True -PLIST_SUB+= GTKBACKEND="" +PLIST_SUB+= GTKBACKEND="" .else -GTK_BACKEND=False +GTK_BACKEND= False -PLIST_SUB+= GTKBACKEND="@comment " +PLIST_SUB+= GTKBACKEND="@comment " .endif .if defined(WITH_GTKAGGBACKEND) -GTKAGG_BACKEND=True +GTKAGG_BACKEND= True -PLIST_SUB+= GTKAGGBACKEND="" +PLIST_SUB+= GTKAGGBACKEND="" .else -GTKAGG_BACKEND=False +GTKAGG_BACKEND= False -PLIST_SUB+= GTKAGGBACKEND="@comment " +PLIST_SUB+= GTKAGGBACKEND="@comment " .endif .if defined(WITH_TKAGGBACKEND) @@ -73,27 +75,27 @@ USE_TCL_RUN= yes USE_TK_RUN= yes -TKAGG_BACKEND=True +TKAGG_BACKEND= True -PLIST_SUB+= TKAGGBACKEND="" +PLIST_SUB+= TKAGGBACKEND="" .else -TKAGG_BACKEND=False +TKAGG_BACKEND= False -PLIST_SUB+= TKAGGBACKEND="@comment " +PLIST_SUB+= TKAGGBACKEND="@comment " .endif .if defined(WITH_WXAGGBACKEND) -USE_WX= 2.6 +USE_WX= 2.6 WX_COMPS= python CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}" -WXAGG_BACKEND=True +WXAGG_BACKEND= True -PLIST_SUB+= WXAGGBACKEND="" +PLIST_SUB+= WXAGGBACKEND="" .else -WXAGG_BACKEND=False +WXAGG_BACKEND= False -PLIST_SUB+= WXAGGBACKEND="@comment " +PLIST_SUB+= WXAGGBACKEND="@comment " .endif .include <bsd.port.pre.mk> --- py27-matplotlib-1.0.1_2.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?201111092321.pA9NLuE0038333>