1 |
commit: 59c4ef46f3b098ec5fb71ac02c329dd9fb810011 |
2 |
Author: Slawomir Lis <slis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 31 10:34:48 2017 +0000 |
4 |
Commit: Slawek Lis <slis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 31 10:34:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c4ef46 |
7 |
|
8 |
dev-python/Kivy: version bump tp 1.10.0 |
9 |
|
10 |
Also should fix problems with cython (bug 626588) |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
13 |
|
14 |
dev-python/Kivy/Kivy-1.10.0.ebuild | 71 ++++++++++++++++++++++++++++++++++++++ |
15 |
dev-python/Kivy/Manifest | 1 + |
16 |
2 files changed, 72 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/Kivy/Kivy-1.10.0.ebuild b/dev-python/Kivy/Kivy-1.10.0.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..8e2cb32ef0b |
21 |
--- /dev/null |
22 |
+++ b/dev-python/Kivy/Kivy-1.10.0.ebuild |
23 |
@@ -0,0 +1,71 @@ |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
30 |
+ |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
34 |
+ |
35 |
+DESCRIPTION="Library for rapid development of hardware-accelerated multitouch applications" |
36 |
+HOMEPAGE="http://kivy.org/" |
37 |
+SRC_URI="https://github.com/kivy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="MIT" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+IUSE="cairo camera doc examples garden gstreamer +sdl spell test" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
46 |
+ cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] ) |
47 |
+ camera? ( media-libs/opencv:0/2.4[$(python_gen_usedep 'python2_7')] ) |
48 |
+ garden? ( dev-python/kivy-garden[${PYTHON_USEDEP}] ) |
49 |
+ gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] ) |
50 |
+ sdl? ( media-libs/libsdl2 |
51 |
+ media-libs/sdl2-ttf |
52 |
+ media-libs/sdl2-image |
53 |
+ media-libs/sdl2-mixer ) |
54 |
+ !sdl? ( dev-python/pygame[${PYTHON_USEDEP}] ) |
55 |
+ spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ dev-python/cython[${PYTHON_USEDEP}] |
58 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
60 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
61 |
+ |
62 |
+S="${WORKDIR}/${P,,}" |
63 |
+ |
64 |
+python_prepare_all() { |
65 |
+# sed -e '/data_files=/d' -i "${S}/setup.py" || die |
66 |
+# sed -e 's/PYTHON = python/PYTHON ?= python/' -i Makefile || die |
67 |
+ |
68 |
+ export USE_SDL2=$(usex sdl 1 0) |
69 |
+ export USE_GSTREAMER=$(usex gstreamer 1 0) |
70 |
+ export KIVY_USE_SETUPTOOLS=1 |
71 |
+ distutils-r1_python_prepare_all |
72 |
+} |
73 |
+ |
74 |
+python_compile() { |
75 |
+ esetup.py build_ext --inplace |
76 |
+ esetup.py build |
77 |
+} |
78 |
+ |
79 |
+python_compile_all() { |
80 |
+ use doc && emake html |
81 |
+} |
82 |
+ |
83 |
+python_test() { |
84 |
+ emake test PYTHON="${PYTHON}" |
85 |
+} |
86 |
+ |
87 |
+python_install_all() { |
88 |
+ use doc && HTML_DOCS=( doc/build/html/. ) |
89 |
+ if use examples; then |
90 |
+ insinto "/usr/share/doc/${PF}/examples/${f}/" |
91 |
+ doins "${S}/examples"/* "${S}/examples"/*/* |
92 |
+ fi |
93 |
+ distutils-r1_python_install_all |
94 |
+} |
95 |
|
96 |
diff --git a/dev-python/Kivy/Manifest b/dev-python/Kivy/Manifest |
97 |
index 5a1d1bf21dd..93c563f2004 100644 |
98 |
--- a/dev-python/Kivy/Manifest |
99 |
+++ b/dev-python/Kivy/Manifest |
100 |
@@ -1 +1,2 @@ |
101 |
+DIST Kivy-1.10.0.tar.gz 24266702 SHA256 ca925bf29dc9d2324f00ceb0727fafd7796c369e7dba2ae13c1c9001ae8ea7d4 SHA512 8049c92407e464558ecff913ff076c1b8f125b85a35b9eba64af49b35df545402ec2bac907ee545265a368b8cdbb33e02d74429dce13c53dd6feac735ace9cb4 WHIRLPOOL 6edb4d9d3cd83d5823268ecf2836e02b69be96e04d951a2b3b3f38abe2e4fab0fa1ae4804ccfc6673db7222f3d813e0cca35101cf7b1d091c2c5e060df42c83e |
102 |
DIST kivy-1.9.1.tar.gz 16363833 SHA256 29bc45be34c26a8acb1dafdd329145f997a473be344cd052659f821f6478637e SHA512 1ae3ff3979a89e41c0af6493b7523835c1d01ee36fcd524f15d329b8fa875c6ca9bd25db3a844597fbc5370ff86b55ce177d3e66cc169223b02eb114c88c9989 WHIRLPOOL f2eebf64f3abc2b63d307d8aadc87d0beb980e9bf5f85ff664e973b5c014ccb4f3fed58d24e2ca1e416e959ece1c094e34c0d75630003c89ab3a36237137042d |