From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3B238139694 for ; Mon, 31 Jul 2017 10:35:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CBA2E0D9B; Mon, 31 Jul 2017 10:35:07 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5671CE0D9B for ; Mon, 31 Jul 2017 10:35:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FFF23417E4 for ; Mon, 31 Jul 2017 10:35:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0338D74B5 for ; Mon, 31 Jul 2017 10:35:05 +0000 (UTC) From: "Slawek Lis" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Slawek Lis" Message-ID: <1501497288.59c4ef46f3b098ec5fb71ac02c329dd9fb810011.slis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/Kivy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/Kivy/Kivy-1.10.0.ebuild dev-python/Kivy/Manifest X-VCS-Directories: dev-python/Kivy/ X-VCS-Committer: slis X-VCS-Committer-Name: Slawek Lis X-VCS-Revision: 59c4ef46f3b098ec5fb71ac02c329dd9fb810011 X-VCS-Branch: master Date: Mon, 31 Jul 2017 10:35:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2713c4b9-34c8-44fa-ab5e-cff36bfc50c7 X-Archives-Hash: 97f0f1ee67b92ecd39705e580a9eb003 commit: 59c4ef46f3b098ec5fb71ac02c329dd9fb810011 Author: Slawomir Lis gentoo org> AuthorDate: Mon Jul 31 10:34:48 2017 +0000 Commit: Slawek Lis gentoo org> CommitDate: Mon Jul 31 10:34:48 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c4ef46 dev-python/Kivy: version bump tp 1.10.0 Also should fix problems with cython (bug 626588) Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/Kivy/Kivy-1.10.0.ebuild | 71 ++++++++++++++++++++++++++++++++++++++ dev-python/Kivy/Manifest | 1 + 2 files changed, 72 insertions(+) diff --git a/dev-python/Kivy/Kivy-1.10.0.ebuild b/dev-python/Kivy/Kivy-1.10.0.ebuild new file mode 100644 index 00000000000..8e2cb32ef0b --- /dev/null +++ b/dev-python/Kivy/Kivy-1.10.0.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://github.com/kivy/${PN}/archive/${PV}.tar.gz -> ${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 +} diff --git a/dev-python/Kivy/Manifest b/dev-python/Kivy/Manifest index 5a1d1bf21dd..93c563f2004 100644 --- a/dev-python/Kivy/Manifest +++ b/dev-python/Kivy/Manifest @@ -1 +1,2 @@ +DIST Kivy-1.10.0.tar.gz 24266702 SHA256 ca925bf29dc9d2324f00ceb0727fafd7796c369e7dba2ae13c1c9001ae8ea7d4 SHA512 8049c92407e464558ecff913ff076c1b8f125b85a35b9eba64af49b35df545402ec2bac907ee545265a368b8cdbb33e02d74429dce13c53dd6feac735ace9cb4 WHIRLPOOL 6edb4d9d3cd83d5823268ecf2836e02b69be96e04d951a2b3b3f38abe2e4fab0fa1ae4804ccfc6673db7222f3d813e0cca35101cf7b1d091c2c5e060df42c83e DIST kivy-1.9.1.tar.gz 16363833 SHA256 29bc45be34c26a8acb1dafdd329145f997a473be344cd052659f821f6478637e SHA512 1ae3ff3979a89e41c0af6493b7523835c1d01ee36fcd524f15d329b8fa875c6ca9bd25db3a844597fbc5370ff86b55ce177d3e66cc169223b02eb114c88c9989 WHIRLPOOL f2eebf64f3abc2b63d307d8aadc87d0beb980e9bf5f85ff664e973b5c014ccb4f3fed58d24e2ca1e416e959ece1c094e34c0d75630003c89ab3a36237137042d