public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/wiggle/
Date: Sun, 16 Aug 2015 11:30:31 +0000 (UTC)	[thread overview]
Message-ID: <1439724624.73a564f2cc923daeda69f555399c9ef9f9a96cfc.jlec@gentoo> (raw)

commit:     73a564f2cc923daeda69f555399c9ef9f9a96cfc
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 16 11:20:16 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Aug 16 11:30:24 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a564f2

dev-util/wiggle: Use slot operators for ncurses; bump EAPI; drop old

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-util/wiggle/Manifest                           |  1 -
 .../{wiggle-0.8-r1.ebuild => wiggle-0.9-r1.ebuild} | 34 +++++++++++++---------
 2 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/dev-util/wiggle/Manifest b/dev-util/wiggle/Manifest
index 247d26d..46f6739 100644
--- a/dev-util/wiggle/Manifest
+++ b/dev-util/wiggle/Manifest
@@ -1,2 +1 @@
-DIST wiggle-0.8.tar.gz 2097175 SHA256 f8bf7981f5e5811dcf6c519c5e335031a1c9b7833c919a2c5707ac8d5524b94a SHA512 536bfd8ed09decdefcba7ecf49eaa8085b9a88c163079b4a256c6796dc373f25c9947353c28f225b6c25c21b6684acbf973504838fc200e8acf746bb8e16632f WHIRLPOOL c5bc6e06079a8e856ab29e9aad4e2a36a48b618e3fb3277949eedf462668ce7afb3916d849f192cfe8bdd5d324aa7f34241c4269cb3ae5a4538f2aa0bb9fc5a6
 DIST wiggle-0.9.tar.gz 809756 SHA256 fe3dcf05a2cda07f42db2099ae8407acdb4d58bb9cfdc58c72395b7ae4a4e6b5 SHA512 2e3a4977704231f3bd6aa96ffaba8bc733acde425773b86a9649312676b44360c5b85cb48bf944cd383d8e4d0a541d88755f23be7d7a8884213f68a6320c62d9 WHIRLPOOL 95a12f73458abdb999681de7af08c407d9f7c4762c71287eb6e80e38a322459c6e1767f2bec72199cf7d8cb33912981b9fd48fbe95957f854b43e4c148c04c14

diff --git a/dev-util/wiggle/wiggle-0.8-r1.ebuild b/dev-util/wiggle/wiggle-0.9-r1.ebuild
similarity index 68%
rename from dev-util/wiggle/wiggle-0.8-r1.ebuild
rename to dev-util/wiggle/wiggle-0.9-r1.ebuild
index ed270e3..acb936d 100644
--- a/dev-util/wiggle/wiggle-0.8-r1.ebuild
+++ b/dev-util/wiggle/wiggle-0.9-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=3
+EAPI=5
 
-inherit eutils fixheadtails toolchain-funcs
+inherit eutils fixheadtails flag-o-matic toolchain-funcs
 
 DESCRIPTION="program for applying patches that patch cannot apply because of conflicting changes"
 HOMEPAGE="http://neil.brown.name/wiggle http://neil.brown.name/git?p=wiggle"
@@ -12,13 +12,14 @@ SRC_URI="http://neil.brown.name/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # The 'p' tool does support bitkeeper, but I'm against just dumping it in here
 # due to it's size.  I've explictly listed every other dependancy here due to
 # the nature of the shell program 'p'
-RDEPEND="dev-util/diffstat
+RDEPEND="
+	dev-util/diffstat
 	dev-util/patchutils
 	sys-apps/diffutils
 	sys-apps/findutils
@@ -27,14 +28,14 @@ RDEPEND="dev-util/diffstat
 	sys-apps/less
 	sys-apps/sed
 	sys-apps/coreutils
-	sys-devel/patch"
+	sys-devel/patch
+	sys-libs/ncurses:5=
+	"
 DEPEND="${RDEPEND}
 	sys-apps/groff
 	test? ( sys-process/time )"
 
 src_prepare() {
-	epatch "${FILESDIR}/${P}-buffer-overflow.patch"
-
 	# Fix the reference to the help file so `p help' works
 	sed -i "s:\$0.help:${EPREFIX}/usr/share/wiggle/p.help:" p || die "sed failed on p"
 
@@ -44,18 +45,23 @@ src_prepare() {
 	# Use prefixed time binary
 	sed -i "s:/usr/bin/time:${EPREFIX}/usr/bin/time:" dotest || die "sed failed on dotest"
 
+	sed \
+		-e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \
+		-i Makefile || die
+
 	ht_fix_file p
+
+	append-cppflags -I.
 }
 
 src_compile() {
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" \
-		wiggle || die "emake wiggle failed."
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" ${PN}
 }
 
 src_install() {
-	dobin wiggle p || die "failed to install binaries"
-	doman wiggle.1 || die "failed to install man page"
-	dodoc ANNOUNCE INSTALL TODO DOC/diff.ps notes || die "failed to install docs"
+	dobin wiggle p
+	doman wiggle.1
+	dodoc ANNOUNCE INSTALL TODO DOC/diff.ps notes
 	insinto /usr/share/wiggle
-	doins p.help || die "failed to install help file"
+	doins p.help
 }


             reply	other threads:[~2015-08-16 11:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-16 11:30 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-26 10:43 [gentoo-commits] repo/gentoo:master commit in: dev-util/wiggle/ Agostino Sarubbo
2015-09-06 13:25 Agostino Sarubbo
2015-09-20 10:43 Justin Lecher
2017-09-01  2:53 Tim Harder
2017-12-02 12:52 David Seifert
2018-05-27 16:11 Aaron Bauman
2020-12-03  2:01 Thomas Deutschmann
2020-12-17 11:59 Sam James
2021-03-22  3:30 Sam James
2021-03-22  3:30 Sam James
2021-04-25 15:55 Sam James
2021-04-25 19:23 Sam James
2021-04-25 19:25 Sam James
2021-04-25 21:02 Sam James
2021-04-25 21:04 Sam James
2021-04-26 10:34 Sam James
2022-08-17  4:04 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439724624.73a564f2cc923daeda69f555399c9ef9f9a96cfc.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox