blob: 3751a9f1e877abe95ec86bf689ff7ad997d7e1bc [file] [log] [blame]
Ilja H. Friedele4cb8172015-03-10 20:40:56 -07001# 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
5EAPI=5
6
7PYTHON_COMPAT=(python{2_7,3_4})
8
9inherit distutils-r1
10
11DESCRIPTION="Pythonic API to the Linux uinput kernel module"
12HOMEPAGE="http://tjjr.fi/sw/python-uinput/"
13SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
14
15LICENSE="GPL-3"
16SLOT="0"
17KEYWORDS="*"
18IUSE=""
19
20DEPEND="virtual/udev"
21RDEPEND="${DEPEND}"
22PATCHES=( "${FILESDIR}/0001-ChromeOS-uinput-wrappers.patch" )
23
24python_prepare_all() {
25 rm libsuinput/src/libudev.h || die
26 distutils-r1_python_prepare_all
27}