blob: 0630e60ad01a664f1e0da3367a1b6671e75d22c3 [file] [log] [blame]
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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=""
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
}