Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2010 10:46:22 GMT
From:      Emil Smolenski <am@raisa.eu.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151450: [PATCH] math/py-matplotlib : remove dependency on graphics/agg
Message-ID:  <201010141046.o9EAkM5p024429@www.freebsd.org>
Resent-Message-ID: <201010141050.o9EAo3oS008696@freefall.freebsd.org>

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

>Number:         151450
>Category:       ports
>Synopsis:       [PATCH] math/py-matplotlib : remove dependency on graphics/agg
>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:   Thu Oct 14 10:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Emil Smolenski
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
FreeBSD arrow 8.1-STABLE FreeBSD 8.1-STABLE #5: Thu Oct  7 12:08:27 CEST 2010     root@arrow:/usr/obj/usr/src/sys/ARROW  amd64

>Description:
The math/py-matplotlib port has graphics/agg in its BUILD_DEPENDS list. This software comes with its own embedded agg source code. The graphics/agg has absolutely no influence on the math/py-matplotlib port (whether is installed or not) but brings a lot of unwanted (especially on servers) dependencies (xorg, etc). Please, remove this dependency.
>How-To-Repeat:

>Fix:
See attached patch.


Patch attached with submission follows:

diff -ruN py-matplotlib.orig/Makefile py-matplotlib/Makefile
--- py-matplotlib.orig/Makefile	2010-07-30 22:11:14.000000000 +0200
+++ py-matplotlib/Makefile	2010-10-14 12:21:11.578225453 +0200
@@ -19,8 +19,7 @@
 
 BUILD_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}dateutil>=1.4:${PORTSDIR}/devel/py-dateutil \
-		${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \
-		${LOCALBASE}/lib/libagg.a:${PORTSDIR}/graphics/agg
+		${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz
 LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2 \
 		png.6:${PORTSDIR}/graphics/png
 RUN_DEPENDS=	${PYNUMPY}


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



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