1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
8 inherit autotools eutils python-single-r1
10 DESCRIPTION="Locate and modify variables in executing processes"
11 HOMEPAGE="https://github.com/scanmem/scanmem"
12 SRC_URI="https://github.com/scanmem/scanmem/archive/v${PV}.tar.gz -> ${P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
19 DEPEND="sys-libs/readline:="
23 dev-python/pygobject:3
27 REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"
30 use gui && python-single-r1_pkg_setup
34 sed -i "/CFLAGS/d" Makefile.am || die
41 --docdir="/usr/share/doc/${PF}" \
50 dodoc gui/{README,TODO}
51 python_fix_shebang "${D}"