Ilja H. Friedel | e4cb817 | 2015-03-10 20:40:56 -0700 | [diff] [blame] | 1 | # Copyright 1999-2014 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/dev-python/python-uinput/python-uinput-0.10.2.ebuild,v 1.1 2014/07/28 07:05:21 jlec Exp $ |
| 4 | |
| 5 | EAPI=5 |
| 6 | |
| 7 | PYTHON_COMPAT=(python{2_7,3_4}) |
| 8 | |
| 9 | inherit distutils-r1 |
| 10 | |
| 11 | DESCRIPTION="Pythonic API to the Linux uinput kernel module" |
| 12 | HOMEPAGE="http://tjjr.fi/sw/python-uinput/" |
| 13 | SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
| 14 | |
| 15 | LICENSE="GPL-3" |
| 16 | SLOT="0" |
| 17 | KEYWORDS="*" |
| 18 | IUSE="" |
| 19 | |
| 20 | DEPEND="virtual/udev" |
| 21 | RDEPEND="${DEPEND}" |
| 22 | PATCHES=( "${FILESDIR}/0001-ChromeOS-uinput-wrappers.patch" ) |
| 23 | |
| 24 | python_prepare_all() { |
| 25 | rm libsuinput/src/libudev.h || die |
| 26 | distutils-r1_python_prepare_all |
| 27 | } |