[ITP] python-cairo

Charles Wilson cygwin@cwilson.fastmail.fm
Fri Sep 4 20:37:00 GMT 2009

Yaakov (Cygwin/X) wrote:
> On 30/08/2009 19:51, Yaakov (Cygwin/X) wrote:
>> On 24/08/2009 20:10, Yaakov (Cygwin/X) wrote:
>>> pycairo provides Python bindings for the cairo graphics library. It is
>>> a prerequisite of current versions of PyGTK, just as cairo is now a
>>> prereq of GTK+.
>> Ping?
> Ping 2?

Rebuilds from source ok.

Part of Debian, so no need for voting.

I installed the package, and then was able to run the test, but only
from the srcdir:

$ cd python-cairo-1.8.6-1/src/pycairo-1.8.6/test
$ ./test.py
Ran 1 test in 2.467s


This package does not seem to be set up for running the tests in an
automated way, and especially not using the uninstalled module. But
that's not your fault.

I notice that you do not include the documentation. If this is
intentional, then you should probably update the Cygwin README to point
to its canonical web location:

Alternatively, add
http://www.cairographics.org/releases/${PN}-${PV}-docs-html.tar.gz as an
additional SRC_URI, install them, and add a -doc package.  Dealer's choice.

However: the upstream README claims:

    cairo   >= 1.8.6
    Python  >= 2.6

while the cygwin README says:

Runtime requirements:

But the worst part of it is, the only version of python available from
release-2 is 2.5.2-1.  What's the deal?

Subject to the README/documentation issues, GTG.


More information about the Cygwin-apps mailing list