commit: 64d8197fd07d3658e46092d65244cf3980badb2a Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Thu Jul 20 14:17:15 2017 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Thu Jul 20 14:17:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d8197f
dev-util/scanmem: Bump to version 0.16.1 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-util/scanmem/Manifest | 1 + dev-util/scanmem/scanmem-0.16.1.ebuild | 56 ++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-util/scanmem/Manifest b/dev-util/scanmem/Manifest index 15f2ada08a2..abeb896ec0e 100644 --- a/dev-util/scanmem/Manifest +++ b/dev-util/scanmem/Manifest @@ -1 +1,2 @@ DIST scanmem-0.15.3.tar.gz 243150 SHA256 910d836f54266896920bcb07d32e4550f2578e47d8e786b5cce0903bb98f26da SHA512 7f14e8a129321d7e58651d7e98ab71e58926465c98d256226ef7803fa7e42ba8bbe0879da8173ad2659deb655c73338db27d832a264b429f740331aee1f6d4b7 WHIRLPOOL ff9d85b0bebcce02951794acc427d3846f070f72b12070f503fa233dcd3c50f4d6bc48c7e8d45731b3d0356a6f7d398e11138e8b95f95f88a3a2aafc7a53258c +DIST scanmem-0.16.1.tar.gz 202133 SHA256 6eb8b843a34ef70f0d8f42f1d3aff779ae4cf7fde468ba4728519f45908b765b SHA512 5e0a97e020a8a392aed75e2654cc6bcfad68590b9caab43444e57c3180be45ce1269f5acb02355bee57ff8bb5b9349b4f65e0fe96655206a812ea645796b153b WHIRLPOOL 88c80d61ea7c09ff6223c4bd54dc076ebb37b5b9ee87a48bfb5a795719f13fa7a96b577b07dec8f4bd5b4f5a71aae5cc14272c432d4ba72412ad3a650278858d diff --git a/dev-util/scanmem/scanmem-0.16.1.ebuild b/dev-util/scanmem/scanmem-0.16.1.ebuild new file mode 100644 index 00000000000..7c226726a1f --- /dev/null +++ b/dev-util/scanmem/scanmem-0.16.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit autotools eutils python-single-r1 + +DESCRIPTION="Locate and modify variables in executing processes" +HOMEPAGE="https://github.com/scanmem/scanmem" +SRC_URI="https://github.com/scanmem/scanmem/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gui" + +DEPEND="sys-libs/readline:=" +RDEPEND="${DEPEND} + gui? ( + ${PYTHON_DEPS} + dev-python/pygobject:3 + sys-auth/polkit + )" + +REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use gui && python-single-r1_pkg_setup +} + +src_prepare() { + default + + sed -i "/CFLAGS/d" Makefile.am || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-readline + $(use_enable gui) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use gui ; then + docinto gui + dodoc gui/{README,TODO} + python_fix_shebang "${D}" + fi +}