Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399381 - dev-python/pycairo-1.10.0-r1 for python3 lacks proper implementation of a few python2 methods
Summary: dev-python/pycairo-1.10.0-r1 for python3 lacks proper implementation of a few...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 12:56 UTC by Rafał Mużyło
Modified: 2018-01-21 22:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (pycairo.patch,552 bytes, patch)
2012-03-02 21:27 UTC, Ian Delaney (RETIRED)
Details | Diff
files/pycairo-install.patch (pycairo-install.patch,8.62 KB, patch)
2012-03-02 21:29 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2012-01-19 12:56:58 UTC
This regards ImageSurface.create_for_data and ImageSurface.get_data.

Both return NotImplemented in python3.

It's has been asked a few times in the last few months on cairo mailing list, but upstream seem a but unresponsive.

Latest seems to be http://lists.cairographics.org/archives/cairo/2011-December/022563.html.

This patch seems to more or less work, though it would be better if somebody tested it more thoroughly.

I filed http://bugs.freedesktop.org/show_bug.cgi?id=44935 upstream to get it tracked today, then again there was no activity in this regard since pycairo 1.10.0 release.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-03-02 21:27:36 UTC
Created attachment 304033 [details, diff]
ebuild patch

archtester pycairo # ebuild pycairo-1.10.0-r2.ebuild install

 * Compilation and optimization of Python modules for CPython 2.7 ...                                                               [ ok ]
 * Compilation and optimization of Python modules for CPython 3.2 ...                                                               [ ok ]
>>> dev-python/pycairo-1.10.0-r2 merged.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-03-02 21:29:11 UTC
Created attachment 304035 [details, diff]
files/pycairo-install.patch

Copied from the link in the Description