FreeBSD Bugzilla – Bug 130108
graphics/py-cairo: Unneeded dependency on math/py-numpy
Last modified: 2009-01-02 20:20:05 UTC
PR ports/130031 requested that the dependency on math/py-numeric be replaced with a dependency on math/py-numpy because PyCairo 1.4.0 removed Numeric Python support. However, that change <http://url.ie/11fl> didn't introduce a dependency on NumPy; all it did was remove some needless cruft from the bindings. All that cairo.ImageSurface.create_for_data() requires is an object that can be flattened by PyObject_AsWriteBuffer() such as an instance of array.array, a NumPy array of some kind, &c. This is demonstrated by the sample files within the distribution's test directory.
It's a good idea to commit this change as math/py-numpy pulls in quite a few rather large dependencies of its own that take a long time to build.
Fix: Patch attached with submission follows:
Over to maintainer (via the GNATS Auto Assign Tool)
mezz 2009-01-02 20:12:10 UTC
FreeBSD ports repository
Remove PYNUMPY dependency, it's actually complete remove but only left in
the test scripts to show how to get py-cairo works with py-numpy. I should
have check more in tarball rather than ChangeLog. Bump the PORTREVISION.
Submitted by: Keith Gaughan <firstname.lastname@example.org>
Revision Changes Path
1.23 +1 -3 ports/graphics/py-cairo/Makefile
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"