From d7e9058aa157a4cec8bc55a066853307c871a57c Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Mon, 22 Jan 2007 00:13:08 +0000 Subject: [PATCH] Undo last revision and apply patch by James Rowe to fix tests (bug #138415). Package-Manager: portage-2.1.2-r1 --- app-misc/when/ChangeLog | 5 ++++- app-misc/when/Manifest | 20 ++++++++++++-------- app-misc/when/when-1.0.23.ebuild | 16 ++++++++++++++-- 3 files changed, 30 insertions(+), 11 deletions(-) diff --git a/app-misc/when/ChangeLog b/app-misc/when/ChangeLog index e0e545e61626..762276c617f3 100644 --- a/app-misc/when/ChangeLog +++ b/app-misc/when/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-misc/when # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/when/ChangeLog,v 1.17 2007/01/19 04:48:21 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/when/ChangeLog,v 1.18 2007/01/22 00:13:08 dirtyepic Exp $ + + 22 Jan 2007; Ryan Hill when-1.0.23.ebuild: + Undo last revision and apply patch by James Rowe to fix tests (bug #138415). 19 Jan 2007; Ryan Hill -when-1.0.20.ebuild, when-1.0.23.ebuild: diff --git a/app-misc/when/Manifest b/app-misc/when/Manifest index 71fb0a447090..10bbbfa6a05c 100644 --- a/app-misc/when/Manifest +++ b/app-misc/when/Manifest @@ -1,16 +1,20 @@ DIST when-1.0.23.tar.gz 30463 RMD160 9a1c8770c5994a501b54bfa357f2fcff2aaa3b45 SHA1 09392aab92637852d5fe0acd6794e7a2615f95b5 SHA256 564900e6b3124a0692ddbbfacd18cd50df07ffa70f3522e702d46732fa31fc10 -EBUILD when-1.0.23.ebuild 750 RMD160 372e4f3d334209d457114d569a082a73075bc6d1 SHA1 2415afaf04e7d4bd9cd9c705fa27dff65a9475a9 SHA256 548809248128001b8f44519c4f6483b69f154f5fbe93e14e7475d01a7eea3a49 -MD5 b944dcc0e3f2bec6553571c8db5ceefd when-1.0.23.ebuild 750 -RMD160 372e4f3d334209d457114d569a082a73075bc6d1 when-1.0.23.ebuild 750 -SHA256 548809248128001b8f44519c4f6483b69f154f5fbe93e14e7475d01a7eea3a49 when-1.0.23.ebuild 750 -MISC ChangeLog 2245 RMD160 0eedcbc97c271b275ae66051add24e3c43c2692b SHA1 d06599296af53c719caf73273eef480eb9f11192 SHA256 1fbbde5781b7617b7710a6e03055673091a98bea6eef833813bb0f0a1b0b5d58 -MD5 8f7d21fc796090b59cce42f040877e63 ChangeLog 2245 -RMD160 0eedcbc97c271b275ae66051add24e3c43c2692b ChangeLog 2245 -SHA256 1fbbde5781b7617b7710a6e03055673091a98bea6eef833813bb0f0a1b0b5d58 ChangeLog 2245 +EBUILD when-1.0.23.ebuild 1030 RMD160 d09b53e68a51c139be8ff048848e811be675b329 SHA1 64da75c59d8eb09201978b59e030b3b9599d62b0 SHA256 eb49182fb391e9b9e567b5e21d797b1f11ccff3551bbfe9924333068e1916d77 +MD5 087f9e96fe84deae86ed066ca63e3bf6 when-1.0.23.ebuild 1030 +RMD160 d09b53e68a51c139be8ff048848e811be675b329 when-1.0.23.ebuild 1030 +SHA256 eb49182fb391e9b9e567b5e21d797b1f11ccff3551bbfe9924333068e1916d77 when-1.0.23.ebuild 1030 +MISC ChangeLog 2393 RMD160 43eb1d79a899c0df0e78bea70ffe277f4c41260c SHA1 419dd31ace748d8ed1660bae52285156deb82612 SHA256 44684b734d5d1547f70bfbc66acffbf716fabb563431850ccc7d2a16b17bd131 +MD5 d1a2812ee68d9f043023cb71227e64c4 ChangeLog 2393 +RMD160 43eb1d79a899c0df0e78bea70ffe277f4c41260c ChangeLog 2393 +SHA256 44684b734d5d1547f70bfbc66acffbf716fabb563431850ccc7d2a16b17bd131 ChangeLog 2393 MISC metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 SHA1 1831705b1eb97b63968fc9eef31aa904a69a854a SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd MD5 0c131a7201c4670302767f93643876fa metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 metadata.xml 165 SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd metadata.xml 165 +MISC when-1.0.23.ebuild.orig 750 RMD160 372e4f3d334209d457114d569a082a73075bc6d1 SHA1 2415afaf04e7d4bd9cd9c705fa27dff65a9475a9 SHA256 548809248128001b8f44519c4f6483b69f154f5fbe93e14e7475d01a7eea3a49 +MD5 b944dcc0e3f2bec6553571c8db5ceefd when-1.0.23.ebuild.orig 750 +RMD160 372e4f3d334209d457114d569a082a73075bc6d1 when-1.0.23.ebuild.orig 750 +SHA256 548809248128001b8f44519c4f6483b69f154f5fbe93e14e7475d01a7eea3a49 when-1.0.23.ebuild.orig 750 MD5 30ef65557f44011713fb6b85852accf9 files/digest-when-1.0.23 232 RMD160 decc53f2cadeb8854249a0e6925896c0e9611f9d files/digest-when-1.0.23 232 SHA256 06fab8aee91db61607329f72786d679a6a47f2b44bcb4a401c084130a9e366b6 files/digest-when-1.0.23 232 diff --git a/app-misc/when/when-1.0.23.ebuild b/app-misc/when/when-1.0.23.ebuild index 1c90e7ab6f62..c854e8c074ed 100644 --- a/app-misc/when/when-1.0.23.ebuild +++ b/app-misc/when/when-1.0.23.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/when/when-1.0.23.ebuild,v 1.6 2007/01/19 04:48:21 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/when/when-1.0.23.ebuild,v 1.7 2007/01/22 00:13:08 dirtyepic Exp $ DESCRIPTION="Extremely simple personal calendar program aimed at the Unix geek who wants something minimalistic" HOMEPAGE="http://www.lightandmatter.com/when/when.html" @@ -13,12 +13,24 @@ IUSE="" RDEPEND=">=dev-lang/perl-5.005" -RESTRICT="test" +src_unpack() { + unpack ${A}; cd ${S} + + # Fix path for tests + sed -i 's,^ when, ./when,' Makefile +} src_compile() { emake ${PN}.html || die "emake failed" } +src_test() { + # The when command requires these files, or attempts to run setup function. + mkdir ${HOME}/.when + touch ${HOME}/.when/{calendar,preferences} + emake test || die "emake test failed" +} + src_install() { dobin ${PN} || die "dobin failed" doman ${PN}.1 || die "doman failed" -- 2.26.2