+++ /dev/null
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
-
-inherit distutils-r1
-
-MY_PN="${PN}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="CFFI-based drop-in replacement for Pycairo"
-HOMEPAGE="https://github.com/Kozea/cairocffi"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc64 x86"
-IUSE="doc test"
-
-RDEPEND="
- $(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*')
- >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}]
- x11-libs/cairo:0=
- x11-libs/gdk-pixbuf[jpeg]
- $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )"
-
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? (
- ${RDEPEND}
- dev-python/pytest[${PYTHON_USEDEP}]
- )
- $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )"
-
-PATCHES=(
- # Intersphinx cause the usual d'loading of objects.inv from TWO online sites
- "${FILESDIR}"/mapping.patch
- "${FILESDIR}"/${PN}-0.7.1-test.patch
- )
-
-S="${WORKDIR}/${MY_P}"
-
-python_compile_all() {
- use doc && esetup.py build_sphinx
-}
-
-python_test() {
- py.test -v --pyargs cairocffi || die "testsuite failed under ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && HTML_DOCS=( docs/_build/html/. )
- distutils-r1_python_install_all
-}
+++ /dev/null
- cairocffi/test_cairo.py | 3 +--
- cairocffi/test_xcb.py | 13 +++++++------
- 2 files changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/cairocffi/test_cairo.py b/cairocffi/test_cairo.py
-index 6b19ee1..542103d 100644
---- a/cairocffi/test_cairo.py
-+++ b/cairocffi/test_cairo.py
-@@ -1049,7 +1049,7 @@ def test_font_options():
- options_1.merge(options_2)
- assert options_2 == options_1
-
--
-+#@pytest.skip("https://github.com/SimonSapin/cairocffi/issues/65")
- def test_glyphs():
- surface = ImageSurface(cairocffi.FORMAT_ARGB32, 100, 20)
- context = Context(surface)
-@@ -1064,7 +1064,6 @@ def test_glyphs():
- assert 5 == x1 < x2 < x3
- assert clusters == [(2, 1), (1, 1), (1, 1)]
- assert is_backwards == 0
-- assert font.glyph_extents(glyphs) == font.text_extents(text)
- assert font.glyph_extents(glyphs) == context.glyph_extents(glyphs)
-
- assert context.copy_path() == []
-diff --git a/cairocffi/test_xcb.py b/cairocffi/test_xcb.py
-index c8a6e70..0c6bab9 100644
---- a/cairocffi/test_xcb.py
-+++ b/cairocffi/test_xcb.py
-@@ -118,14 +118,14 @@ def test_xcb_pixmap(xcb_conn):
- gc = create_gc(xcb_conn)
-
- # create XCB surface on pixmap
-- root_visual = find_root_visual(xcb_conn)
-- surface = XCBSurface(xcb_conn, pixmap, root_visual, width, height)
-- assert surface
-+ # root_visual = find_root_visual(xcb_conn)
-+ # surface = XCBSurface(xcb_conn, pixmap, root_visual, width, height)
-+ # assert surface
-
- # use xcb surface to create context, draw white
-- ctx = Context(surface)
-- ctx.set_source_rgb(1, 1, 1)
-- ctx.paint()
-+ # ctx = Context(surface)
-+ # ctx.set_source_rgb(1, 1, 1)
-+ # ctx.paint()
-
- # map the window and wait for it to appear
- xcb_conn.core.MapWindow(wid)
-@@ -157,6 +157,7 @@ def test_xcb_pixmap(xcb_conn):
-
- @pytest.mark.xfail(cairo_version() < 11200,
- reason="Cairo version too low")
-+@pytest.skip("https://github.com/SimonSapin/cairocffi/issues/65")
- def test_xcb_window(xcb_conn):
- width = 10
- height = 10