You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
9 years ago
|
# Copyright 1999-2015 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
9 years ago
|
|
||
|
EAPI="5"
|
||
|
|
||
9 years ago
|
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||
9 years ago
|
|
||
9 years ago
|
inherit distutils-r1 eutils
|
||
9 years ago
|
|
||
9 years ago
|
DESCRIPTION="A software library for rapid development of hardware-accelerated multitouch applications"
|
||
9 years ago
|
HOMEPAGE="http://kivy.org/"
|
||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="MIT"
|
||
|
SLOT="0"
|
||
9 years ago
|
KEYWORDS="amd64 x86"
|
||
9 years ago
|
IUSE="cairo camera doc examples garden gstreamer spell"
|
||
|
|
||
9 years ago
|
RDEPEND="
|
||
|
dev-python/pygame[${PYTHON_USEDEP}]
|
||
|
virtual/python-imaging[${PYTHON_USEDEP}]
|
||
|
cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] )
|
||
9 years ago
|
camera? ( media-libs/opencv )
|
||
9 years ago
|
garden? ( dev-python/kivy-garden[${PYTHON_USEDEP}] )
|
||
|
gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] )
|
||
|
spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
|
||
9 years ago
|
"
|
||
9 years ago
|
DEPEND="${RDEPEND}
|
||
9 years ago
|
<=dev-python/cython-0.22[${PYTHON_USEDEP}]
|
||
9 years ago
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||
9 years ago
|
media-libs/mesa
|
||
9 years ago
|
"
|
||
|
|
||
9 years ago
|
PATCHES=( "${FILESDIR}"/${P}-cython-0.22-backport.patch )
|
||
|
|
||
9 years ago
|
python_prepare_all() {
|
||
|
sed -e '/data_files=/d' -i "${S}/setup.py" || die
|
||
|
distutils-r1_python_prepare_all
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
python_install_all() {
|
||
|
use doc && DOCS=( doc/sources/. )
|
||
|
use examples && EXAMPLES=( examples )
|
||
|
distutils-r1_python_install_all
|
||
9 years ago
|
}
|