diff options
author | Virgil Dupras <vdupras@gentoo.org> | 2018-11-16 22:24:12 -0500 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2018-11-16 22:24:12 -0500 |
commit | 208cf548f168bdf9d72bd377b4c846e08a7da6ff (patch) | |
tree | d6d2cb12caa0c27af4027ff120227ffd5a357c3e /dev-python/cairocffi/files | |
parent | dev-python/cairocffi: bump to 0.9.0 (diff) | |
download | gentoo-208cf548f168bdf9d72bd377b4c846e08a7da6ff.tar.gz gentoo-208cf548f168bdf9d72bd377b4c846e08a7da6ff.tar.bz2 gentoo-208cf548f168bdf9d72bd377b4c846e08a7da6ff.zip |
dev-python/cairocffi: remove old
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-python/cairocffi/files')
-rw-r--r-- | dev-python/cairocffi/files/cairocffi-0.7.1-test.patch | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/dev-python/cairocffi/files/cairocffi-0.7.1-test.patch b/dev-python/cairocffi/files/cairocffi-0.7.1-test.patch deleted file mode 100644 index b5a2b4530fb8..000000000000 --- a/dev-python/cairocffi/files/cairocffi-0.7.1-test.patch +++ /dev/null @@ -1,58 +0,0 @@ - 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 |