# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 AUTOTOOLS_AUTORECONF=1 AUTOTOOLS_PRUNE_LIBTOOL_FILES=modules PYTHON_COMPAT=( python2_7 ) inherit autotools-utils python-r1 vcs-snapshot eutils DESCRIPTION="Python binding to the GUDev udev helper library" HOMEPAGE="https://github.com/nzjrs/python-gudev" SRC_URI="https://github.com/nzjrs/${PN}/tarball/${PV} -> ${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="amd64 x86" IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="dev-python/pygobject:2[${PYTHON_USEDEP}] virtual/libgudev:= ${PYTHON_DEPS}" DEPEND="${RDEPEND}" src_prepare() { epatch "${FILESDIR}"/automake.patch python_foreach_impl autotools-utils_src_prepare } src_configure() { python_foreach_impl autotools-utils_src_configure } src_compile() { python_foreach_impl autotools-utils_src_compile } src_test() { python_foreach_impl autotools-utils_src_test } src_install() { python_foreach_impl autotools-utils_src_install }