ports/110149: [PATCH] math/py-matplotlib: fix depends on devel/py-pytz
Li-Wen Hsu
lwhsu at lwhsu.org
Sat Mar 10 08:10:05 UTC 2007
>Number: 110149
>Category: ports
>Synopsis: [PATCH] math/py-matplotlib: fix depends on devel/py-pytz
>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: Sat Mar 10 08:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Li-Wen Hsu
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007
>Description:
- Fix depends on devel/py-pytz, it has been packed as an egg
- USE_PYTHON=yes, there is no python2.2 in ports tree
- Remove 4.x stuff
Port maintainer (mainland at apeiron.net) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- py24-matplotlib-0.87.6.patch begins here ---
diff -ruN -ruN --exclude=CVS /usr/ports/math/py-matplotlib/Makefile /home/lwhsu/ports/math/py-matplotlib/Makefile
--- /usr/ports/math/py-matplotlib/Makefile Sun Nov 19 16:38:57 2006
+++ /home/lwhsu/ports/math/py-matplotlib/Makefile Sat Mar 10 13:42:00 2007
@@ -18,7 +18,7 @@
BUILD_DEPENDS= ${PYNUMERIC} \
${PYTHON_SITELIBDIR}/dateutil/__init__.py:${PORTSDIR}/devel/py-dateutil \
- ${PYTHON_SITELIBDIR}/pytz/__init__.py:${PORTSDIR}/devel/py-pytz \
+ ${PYTHON_SITELIBDIR}/${PYPYTZ_EGG}:${PORTSDIR}/devel/py-pytz \
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
${LOCALBASE}/lib/libagg.a:${PORTSDIR}/graphics/agg
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
@@ -29,7 +29,7 @@
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
.endif
-USE_PYTHON= 2.2+
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_GNOME= gtk20 pygtk2
CFLAGS+= -I${X11BASE}/include
@@ -43,12 +43,6 @@
PLISTDIR+= ${EXAMPLESDIR}
.endif
-.include <bsd.port.pre.mk>
-
-.if ( ${OSVERSION} < 500000)
-USE_GCC= 3.4
-.endif
-
post-patch:
@${GREP} -lR "share/matplotlib" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e "s,share/matplotlib,share/py-matplotlib,g"
@@ -64,5 +58,9 @@
@${FIND} ${dir} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
.endfor
+
+.include <bsd.port.pre.mk>
+
+PYPYTZ_EGG!= ${MAKE} -f ${PORTSDIR}/devel/py-pytz/Makefile -V PYPYTZ_EGG
.include <bsd.port.post.mk>
--- py24-matplotlib-0.87.6.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list