1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_6} )
9 DESCRIPTION="Mock hardware devices for creating unit tests"
10 HOMEPAGE="https://github.com/martinpitt/umockdev/"
11 SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.xz"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="static-libs test"
18 RDEPEND="dev-libs/libgudev:=
20 >=dev-libs/glib-2.32:2"
22 test? ( ${PYTHON_DEPS} )
29 "${FILESDIR}"/${P}-sysmacros.patch #579988
33 econf $(use_enable static-libs static)