2017-04-21 17:26:19 +03:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
2013-08-09 15:53:18 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
AUTOTOOLS_AUTORECONF=1
|
|
|
|
AUTOTOOLS_PRUNE_LIBTOOL_FILES=modules
|
2015-04-08 16:22:29 +03:00
|
|
|
PYTHON_COMPAT=( python2_7 )
|
2013-08-09 15:53:18 +04:00
|
|
|
|
2015-03-11 09:37:56 +03:00
|
|
|
inherit autotools-utils python-r1 vcs-snapshot eutils
|
2013-08-09 15:53:18 +04:00
|
|
|
|
|
|
|
DESCRIPTION="Python binding to the GUDev udev helper library"
|
2015-08-24 15:02:01 +03:00
|
|
|
HOMEPAGE="https://github.com/nzjrs/python-gudev"
|
2013-08-09 15:53:18 +04:00
|
|
|
SRC_URI="https://github.com/nzjrs/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="LGPL-3"
|
|
|
|
SLOT="0"
|
2015-06-17 00:29:20 +03:00
|
|
|
KEYWORDS="amd64 x86"
|
2013-08-09 15:53:18 +04:00
|
|
|
IUSE=""
|
2017-04-21 17:26:19 +03:00
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
2013-08-09 15:53:18 +04:00
|
|
|
|
|
|
|
RDEPEND="dev-python/pygobject:2[${PYTHON_USEDEP}]
|
2014-07-25 09:11:48 +04:00
|
|
|
virtual/libgudev:=
|
2013-08-09 15:53:18 +04:00
|
|
|
${PYTHON_DEPS}"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
2015-03-11 09:37:56 +03:00
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/automake.patch
|
|
|
|
python_foreach_impl autotools-utils_src_prepare
|
|
|
|
}
|
|
|
|
|
2013-08-09 15:53:18 +04:00
|
|
|
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
|
|
|
|
}
|