summaryrefslogtreecommitdiff
blob: 623ceb224fcb661cdf95aebc8677ac20e95a2b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
XORG_MULTILIB=yes
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )

inherit python-any-r1 xorg-2

EGIT_REPO_URI="https://anongit.freedesktop.org/git/libevdev.git"

DESCRIPTION="Handler library for evdev events"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/"

if [[ ${PV} == 9999* ]] ; then
	SRC_URI=""
else
	SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz"
fi

RESTRICT="test" # Tests need to run as root.
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE=""

DEPEND="${PYTHON_DEPS}"