summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-28 13:47:34 +0000
committerMike Frysinger <vapier@gentoo.org>2015-05-28 13:47:34 +0000
commit80b77377a46a0d302b83f0f67fe8aa3e08bdd686 (patch)
tree41a9d719b8b2dfea900bceae3bf8e47bdee4d275 /dev-vcs
parentVersion Bump (diff)
downloadgentoo-2-80b77377a46a0d302b83f0f67fe8aa3e08bdd686.tar.gz
gentoo-2-80b77377a46a0d302b83f0f67fe8aa3e08bdd686.tar.bz2
gentoo-2-80b77377a46a0d302b83f0f67fe8aa3e08bdd686.zip
Respect EPREFIX when generating README.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-merge-changelog/ChangeLog9
-rw-r--r--dev-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild14
2 files changed, 14 insertions, 9 deletions
diff --git a/dev-vcs/git-merge-changelog/ChangeLog b/dev-vcs/git-merge-changelog/ChangeLog
index 933884b254c2..55543be90239 100644
--- a/dev-vcs/git-merge-changelog/ChangeLog
+++ b/dev-vcs/git-merge-changelog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-vcs/git-merge-changelog
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-merge-changelog/ChangeLog,v 1.2 2014/03/18 21:47:34 ulm Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-merge-changelog/ChangeLog,v 1.3 2015/05/28 13:47:34 vapier Exp $
+
+ 28 May 2015; Mike Frysinger <vapier@gentoo.org>
+ git-merge-changelog-20140223.ebuild:
+ Respect EPREFIX when generating README.
*git-merge-changelog-20140223 (18 Mar 2014)
@@ -13,4 +17,3 @@
04 Jan 2014; Ulrich Müller <ulm@gentoo.org>
+git-merge-changelog-20140103.ebuild, +metadata.xml:
Initial import. Ebuild contributed by me.
-
diff --git a/dev-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild b/dev-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild
index 257f25155f5c..bb3ddfcec040 100644
--- a/dev-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild
+++ b/dev-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild
@@ -1,23 +1,25 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild,v 1.1 2014/03/18 21:47:34 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild,v 1.2 2015/05/28 13:47:34 vapier Exp $
+
+# snapshot extracted from git://git.savannah.gnu.org/gnulib.git using
+# ./gnulib-tool --create-testdir --without-tests --dir=${PN} ${PN};
+# cd ${PN}; ./configure; make maintainer-clean
EAPI=5
DESCRIPTION="Git merge driver for GNU style ChangeLog files"
HOMEPAGE="http://www.gnu.org/software/gnulib/"
-# snapshot extracted from git://git.savannah.gnu.org/gnulib.git using
-# ./gnulib-tool --create-testdir --without-tests --dir=${PN} ${PN};
-# cd ${PN}; ./configure; make maintainer-clean
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE=""
S="${WORKDIR}/${PN}"
src_prepare() {
- sed -n '/README/{h;:x;n;/^#/!{H;bx};g;s/\n*$//;s:/usr/local:/usr:g;p;q}' \
+ sed -n "/README/{h;:x;n;/^#/!{H;bx};g;s/\n*$//;s:/usr/local:${EPREFIX}/usr:g;p;q}" \
gllib/git-merge-changelog.c >README || die
}