Gentoo Archives: gentoo-commits

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