1 |
commit: 3f3d3b5c590a11c9440f65e49af1c53f447fab46 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 5 16:47:14 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 5 20:40:20 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f3d3b5c |
7 |
|
8 |
dev-python/Kivy: Add media-libs/mesa to DEPEND. |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
dev-python/Kivy/Kivy-1.9.0-r1.ebuild | 46 ++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/Kivy/Kivy-1.9.0-r1.ebuild b/dev-python/Kivy/Kivy-1.9.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..5ce75e1 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/Kivy/Kivy-1.9.0-r1.ebuild |
21 |
@@ -0,0 +1,46 @@ |
22 |
+# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI="5" |
27 |
+ |
28 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
29 |
+ |
30 |
+inherit distutils-r1 eutils |
31 |
+ |
32 |
+DESCRIPTION="A software library for rapid development of hardware-accelerated multitouch applications" |
33 |
+HOMEPAGE="http://kivy.org/" |
34 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="cairo camera doc examples garden gstreamer spell" |
40 |
+ |
41 |
+RDEPEND=" |
42 |
+ dev-python/pygame[${PYTHON_USEDEP}] |
43 |
+ virtual/python-imaging[${PYTHON_USEDEP}] |
44 |
+ cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] ) |
45 |
+ camera? ( media-libs/opencv ) |
46 |
+ garden? ( dev-python/kivy-garden[${PYTHON_USEDEP}] ) |
47 |
+ gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] ) |
48 |
+ spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] ) |
49 |
+ " |
50 |
+DEPEND="${RDEPEND} |
51 |
+ <=dev-python/cython-0.22[${PYTHON_USEDEP}] |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ media-libs/mesa |
54 |
+" |
55 |
+ |
56 |
+PATCHES=( "${FILESDIR}"/${P}-cython-0.22-backport.patch ) |
57 |
+ |
58 |
+python_prepare_all() { |
59 |
+ sed -e '/data_files=/d' -i "${S}/setup.py" || die |
60 |
+ distutils-r1_python_prepare_all |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ use doc && DOCS=( doc/sources/. ) |
65 |
+ use examples && EXAMPLES=( examples ) |
66 |
+ distutils-r1_python_install_all |
67 |
+} |