[PATCH] x11-toolkits/py-gtk2 incorrectly depends on Numeric instead of Numpy

Martin Tournoij carpetsmoker at rwxrwxrwx.net
Fri May 14 20:04:13 UTC 2010


>Submitter-Id:	current-users
>Originator:	Martin Tournoij
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] x11-toolkits/py-gtk2 incorrectly depends on Numeric instead of Numpy
>Severity:	 non-critical
>Priority:	low 
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 7.3-PRERELEASE i386
>Environment:
System: FreeBSD cthulhu.daemonforums.org 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Sun Feb 28 20:26:34 CET 2010 carpetsmoker at cthulhu.daemonforums.org:/usr/obj/usr/src/sys/CTHULHU i386


	
>Description:
	x11-toolkits/py-gtk2 incorrectly depends on Numeric instead of numpy.

	Starting with PyGTK 2.15 almost a year ago Numeric support was dropped in
	favor of Numpy, as noted in the release message:
	http://www.daa.com.au/pipermail/pygtk/2009-May/016986.html

	This updates the port accordingly.

>How-To-Repeat:

>Fix:

	

--- py-gtk2.diff begins here ---
--- Makefile.orig	2010-05-14 04:34:05.000000000 +0000
+++ Makefile	2010-05-14 03:49:28.000000000 +0000
@@ -8,7 +8,7 @@
 
 PORTNAME=	gtk
 PORTVERSION=	2.17.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-toolkits python
MASTER_SITES=	GNOME
 MASTER_SITE_SUBDIR=	sources/pygtk/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -19,10 +19,10 @@
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	A set of Python bindings for GTK+
 
-BUILD_DEPENDS=	${PYNUMERIC} \
+BUILD_DEPENDS=	${PYNUMPY} \
 		${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphics/py-cairo \
 		${PYTHON_SITELIBDIR}/gtk-2.0/gobject/_gobject.so:${PORTSDIR}/devel/py-gobject
-RUN_DEPENDS=	${PYNUMERIC} \
+RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphics/py-cairo \
 		${PYTHON_SITELIBDIR}/gtk-2.0/gobject/_gobject.so:${PORTSDIR}/devel/py-gobject
 
--- py-gtk2.diff ends here ---




More information about the freebsd-gnome mailing list