From: "Slawek Lis" <slis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/Kivy/
Date: Wed, 29 Mar 2017 09:33:39 +0000 (UTC) [thread overview]
Message-ID: <1490779994.6b6029857a071b7baedffe18fce6d49bf6be181f.slis@gentoo> (raw)
commit: 6b6029857a071b7baedffe18fce6d49bf6be181f
Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 29 09:30:38 2017 +0000
Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Wed Mar 29 09:33:14 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b602985
dev-python/Kivy: fixed installing examples
Reported in #613354. In EAPI 6 using EXAMPLES var is banned. Fixed.
Reported-By: MaurizioB
Package-Manager: Portage-2.3.5, Repoman-2.3.2
dev-python/Kivy/Kivy-1.9.1-r1.ebuild | 71 ++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/dev-python/Kivy/Kivy-1.9.1-r1.ebuild b/dev-python/Kivy/Kivy-1.9.1-r1.ebuild
new file mode 100644
index 00000000000..e21b01c75f5
--- /dev/null
+++ b/dev-python/Kivy/Kivy-1.9.1-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+DESCRIPTION="Library for rapid development of hardware-accelerated multitouch applications"
+HOMEPAGE="http://kivy.org/"
+SRC_URI="https://pypi.io/packages/source/${PN:0:1}/${PN}/${P,,}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cairo camera doc examples garden gstreamer +sdl spell test"
+
+RDEPEND="
+ dev-python/pillow[${PYTHON_USEDEP}]
+ cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] )
+ camera? ( media-libs/opencv:0/2.4[$(python_gen_usedep 'python2_7')] )
+ garden? ( dev-python/kivy-garden[${PYTHON_USEDEP}] )
+ gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] )
+ sdl? ( media-libs/libsdl2
+ media-libs/sdl2-ttf
+ media-libs/sdl2-image
+ media-libs/sdl2-mixer )
+ !sdl? ( dev-python/pygame[${PYTHON_USEDEP}] )
+ spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${P,,}"
+
+python_prepare_all() {
+ sed -e '/data_files=/d' -i "${S}/setup.py" || die
+ sed -e 's/PYTHON = python/PYTHON ?= python/' -i Makefile || die
+
+ export USE_SDL2=$(usex sdl 1 0)
+ export USE_GSTREAMER=$(usex gstreamer 1 0)
+ export KIVY_USE_SETUPTOOLS=1
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ esetup.py build_ext --inplace
+ esetup.py build
+}
+
+python_compile_all() {
+ use doc && emake html
+}
+
+python_test() {
+ emake test PYTHON="${PYTHON}"
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( doc/build/html/. )
+ if use examples; then
+ insinto "/usr/share/doc/${PF}/examples/${f}/"
+ doins "${S}/examples"/* "${S}/examples"/*/*
+ fi
+ distutils-r1_python_install_all
+}
next reply other threads:[~2017-03-29 9:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-29 9:33 Slawek Lis [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-03-19 7:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/Kivy/ Mikle Kolyada
2018-11-10 22:40 Patrice Clement
2018-06-30 10:04 Pacho Ramos
2018-06-28 18:35 Pacho Ramos
2018-06-03 13:49 Aaron Bauman
2017-07-31 10:35 Slawek Lis
2017-02-19 13:33 Agostino Sarubbo
2017-02-19 13:32 Agostino Sarubbo
2016-09-21 11:57 Slawek Lis
2016-08-08 7:55 David Seifert
2016-08-08 7:50 David Seifert
2015-10-05 20:43 Patrice Clement
2015-10-05 20:43 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1490779994.6b6029857a071b7baedffe18fce6d49bf6be181f.slis@gentoo \
--to=slis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox