Bug 130108 - graphics/py-cairo: Unneeded dependency on math/py-numpy
graphics/py-cairo: Unneeded dependency on math/py-numpy
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: gnome
Depends on:
  Show dependency treegraph
Reported: 2009-01-02 06:30 UTC by keith.gaughan
Modified: 2009-01-02 20:20 UTC (History)
0 users

See Also:

file.diff (532 bytes, patch)
2009-01-02 06:30 UTC, keith.gaughan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description keith.gaughan 2009-01-02 06:30:04 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:
Comment 1 Edwin Groothuis freebsd_committer 2009-01-02 06:30:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2009-01-02 20:12:22 UTC
mezz        2009-01-02 20:12:10 UTC

  FreeBSD ports repository

  Modified files:
    graphics/py-cairo    Makefile 
  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.
  PR:             ports/130108
  Submitted by:   Keith Gaughan <keith.gaughan@gmail.com>
  Revision  Changes    Path
  1.23      +1 -3      ports/graphics/py-cairo/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 mezz freebsd_committer 2009-01-02 20:12:31 UTC
State Changed
From-To: open->closed

Committed, thanks!