1 |
commit: 208cf548f168bdf9d72bd377b4c846e08a7da6ff |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 17 03:24:12 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 17 03:24:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=208cf548 |
7 |
|
8 |
dev-python/cairocffi: remove old |
9 |
|
10 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
dev-python/cairocffi/Manifest | 1 - |
14 |
dev-python/cairocffi/cairocffi-0.7.2.ebuild | 57 --------------------- |
15 |
.../cairocffi/files/cairocffi-0.7.1-test.patch | 58 ---------------------- |
16 |
3 files changed, 116 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest |
19 |
index 09e9aa4272a..6d413b4b999 100644 |
20 |
--- a/dev-python/cairocffi/Manifest |
21 |
+++ b/dev-python/cairocffi/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST cairocffi-0.7.2.tar.gz 75337 BLAKE2B 9405eb6bafd0a83be2e2ae566eb9893a87bb8066c24885c955038f27357cc92e89e58998e16b2ec662559eebea6240e2e5c699d00e595fa13952e07f0264c9d2 SHA512 a4b5798ee713a8847ebd21ef328b3e0a94403ce1e80ac108f6d8e4abffbf96551542bb5c848550d82bcebb3d9f645c90ea87fc3eb254bd8e9d57b6a55db76de1 |
24 |
DIST cairocffi-0.8.0.tar.gz 79217 BLAKE2B fefcee32e486c150d089b7d13b046c864b83fcc184f7880e86cfae0afc22c1e712ad7e835d76506b4ab0cefab6629abcc5bd86cd95c417dcc64c9374a8629110 SHA512 70179e05ca4a4efeaa39ade1ee1a96d280d198ecff5ae8c8fc634c24d8922ea6a3e1eb6cf5f55c5fc9d3f5b2fc3131a53051690eb86712762d8b6400df8a630a |
25 |
DIST cairocffi-0.9.0.tar.gz 84652 BLAKE2B 9f09c038619b0f44c568d6636861b0e12ffd7e9ab546f3a65bbd8e77eee7ff5f0c6f4d92a841696492b786d0067af86e25949b723ef6ef73ede370fbf2576d6d SHA512 0d3d54e0d54b3696c8336d8b3a6d745628da51d9d9f8c50f36006c007e1432a95dd9bafd8d865923059d040cc4e9f7989b3670a5318383b357ffc979eeb920d5 |
26 |
|
27 |
diff --git a/dev-python/cairocffi/cairocffi-0.7.2.ebuild b/dev-python/cairocffi/cairocffi-0.7.2.ebuild |
28 |
deleted file mode 100644 |
29 |
index 25ff3059926..00000000000 |
30 |
--- a/dev-python/cairocffi/cairocffi-0.7.2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,57 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI="5" |
37 |
- |
38 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-MY_PN="${PN}" |
43 |
-MY_P="${MY_PN}-${PV}" |
44 |
- |
45 |
-DESCRIPTION="CFFI-based drop-in replacement for Pycairo" |
46 |
-HOMEPAGE="https://github.com/Kozea/cairocffi" |
47 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
48 |
- |
49 |
-LICENSE="BSD" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="amd64 ~arm ~ppc64 x86" |
52 |
-IUSE="doc test" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- $(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*') |
56 |
- >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] |
57 |
- x11-libs/cairo:0= |
58 |
- x11-libs/gdk-pixbuf[jpeg] |
59 |
- $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )" |
60 |
- |
61 |
-DEPEND=" |
62 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
63 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
64 |
- test? ( |
65 |
- ${RDEPEND} |
66 |
- dev-python/pytest[${PYTHON_USEDEP}] |
67 |
- ) |
68 |
- $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )" |
69 |
- |
70 |
-PATCHES=( |
71 |
- # Intersphinx cause the usual d'loading of objects.inv from TWO online sites |
72 |
- "${FILESDIR}"/mapping.patch |
73 |
- "${FILESDIR}"/${PN}-0.7.1-test.patch |
74 |
- ) |
75 |
- |
76 |
-S="${WORKDIR}/${MY_P}" |
77 |
- |
78 |
-python_compile_all() { |
79 |
- use doc && esetup.py build_sphinx |
80 |
-} |
81 |
- |
82 |
-python_test() { |
83 |
- py.test -v --pyargs cairocffi || die "testsuite failed under ${EPYTHON}" |
84 |
-} |
85 |
- |
86 |
-python_install_all() { |
87 |
- use doc && HTML_DOCS=( docs/_build/html/. ) |
88 |
- distutils-r1_python_install_all |
89 |
-} |
90 |
|
91 |
diff --git a/dev-python/cairocffi/files/cairocffi-0.7.1-test.patch b/dev-python/cairocffi/files/cairocffi-0.7.1-test.patch |
92 |
deleted file mode 100644 |
93 |
index b5a2b4530fb..00000000000 |
94 |
--- a/dev-python/cairocffi/files/cairocffi-0.7.1-test.patch |
95 |
+++ /dev/null |
96 |
@@ -1,58 +0,0 @@ |
97 |
- cairocffi/test_cairo.py | 3 +-- |
98 |
- cairocffi/test_xcb.py | 13 +++++++------ |
99 |
- 2 files changed, 8 insertions(+), 8 deletions(-) |
100 |
- |
101 |
-diff --git a/cairocffi/test_cairo.py b/cairocffi/test_cairo.py |
102 |
-index 6b19ee1..542103d 100644 |
103 |
---- a/cairocffi/test_cairo.py |
104 |
-+++ b/cairocffi/test_cairo.py |
105 |
-@@ -1049,7 +1049,7 @@ def test_font_options(): |
106 |
- options_1.merge(options_2) |
107 |
- assert options_2 == options_1 |
108 |
- |
109 |
-- |
110 |
-+#@pytest.skip("https://github.com/SimonSapin/cairocffi/issues/65") |
111 |
- def test_glyphs(): |
112 |
- surface = ImageSurface(cairocffi.FORMAT_ARGB32, 100, 20) |
113 |
- context = Context(surface) |
114 |
-@@ -1064,7 +1064,6 @@ def test_glyphs(): |
115 |
- assert 5 == x1 < x2 < x3 |
116 |
- assert clusters == [(2, 1), (1, 1), (1, 1)] |
117 |
- assert is_backwards == 0 |
118 |
-- assert font.glyph_extents(glyphs) == font.text_extents(text) |
119 |
- assert font.glyph_extents(glyphs) == context.glyph_extents(glyphs) |
120 |
- |
121 |
- assert context.copy_path() == [] |
122 |
-diff --git a/cairocffi/test_xcb.py b/cairocffi/test_xcb.py |
123 |
-index c8a6e70..0c6bab9 100644 |
124 |
---- a/cairocffi/test_xcb.py |
125 |
-+++ b/cairocffi/test_xcb.py |
126 |
-@@ -118,14 +118,14 @@ def test_xcb_pixmap(xcb_conn): |
127 |
- gc = create_gc(xcb_conn) |
128 |
- |
129 |
- # create XCB surface on pixmap |
130 |
-- root_visual = find_root_visual(xcb_conn) |
131 |
-- surface = XCBSurface(xcb_conn, pixmap, root_visual, width, height) |
132 |
-- assert surface |
133 |
-+ # root_visual = find_root_visual(xcb_conn) |
134 |
-+ # surface = XCBSurface(xcb_conn, pixmap, root_visual, width, height) |
135 |
-+ # assert surface |
136 |
- |
137 |
- # use xcb surface to create context, draw white |
138 |
-- ctx = Context(surface) |
139 |
-- ctx.set_source_rgb(1, 1, 1) |
140 |
-- ctx.paint() |
141 |
-+ # ctx = Context(surface) |
142 |
-+ # ctx.set_source_rgb(1, 1, 1) |
143 |
-+ # ctx.paint() |
144 |
- |
145 |
- # map the window and wait for it to appear |
146 |
- xcb_conn.core.MapWindow(wid) |
147 |
-@@ -157,6 +157,7 @@ def test_xcb_pixmap(xcb_conn): |
148 |
- |
149 |
- @pytest.mark.xfail(cairo_version() < 11200, |
150 |
- reason="Cairo version too low") |
151 |
-+@××××××.skip("https://github.com/SimonSapin/cairocffi/issues/65") |
152 |
- def test_xcb_window(xcb_conn): |
153 |
- width = 10 |
154 |
- height = 10 |