1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
7 inherit autotools eutils python-single-r1
9 DESCRIPTION="Locate and modify variables in executing processes"
10 HOMEPAGE="https://github.com/scanmem/scanmem"
11 SRC_URI="https://github.com/scanmem/scanmem/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DEPEND="sys-libs/readline:="
22 dev-python/pygobject:3
26 REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"
29 use gui && python-single-r1_pkg_setup
35 sed -i "/CFLAGS/d" Makefile.am || die
45 econf "${myeconfargs[@]}"
53 dodoc gui/{README,TODO}
54 python_fix_shebang "${D}"