2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-02-10 00:10:12 +03:00
Files
gentoo/dev-python/python-uinput/python-uinput-0.10.1.ebuild
Repository QA checks a637bd65b7 2015-06-19 16:35:30 UTC
2015-06-19 12:38:33 -04:00

30 lines
707 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-uinput/python-uinput-0.10.1.ebuild,v 1.2 2014/07/28 07:05:21 jlec Exp $
EAPI=5
PYTHON_COMPAT=(python{2_7,3_4})
inherit distutils-r1
DESCRIPTION="Pythonic API to the Linux uinput kernel module"
HOMEPAGE="http://tjjr.fi/sw/python-uinput/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="virtual/udev"
RDEPEND="${DEPEND}"
python_prepare_all() {
sed \
-e "s:libudev.so.0:libudev.so:g" \
-i setup.py || die
rm libsuinput/src/libudev.h || die
distutils-r1_python_prepare_all
}