gentoo/dev-python/python-uinput/python-uinput-0.10.2.ebuild
David Seifert da71922e98
dev-python/python-uinput: Remove Py2
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
2019-12-28 17:15:31 +01:00

26 lines
514 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
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() {
rm libsuinput/src/libudev.h || die
distutils-r1_python_prepare_all
}