aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkusle <markusle@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-18 01:26:14 +0000
committermarkusle <markusle@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-18 01:26:14 +0000
commit7091f27bd739fc9c5ed43f0da6e438e0d973396b (patch)
tree423c99976087c7f0c444133fcdf837358e01b468
parentmoved overlay to new directory (diff)
downloadsci-7091f27bd739fc9c5ed43f0da6e438e0d973396b.tar.gz
sci-7091f27bd739fc9c5ed43f0da6e438e0d973396b.tar.bz2
sci-7091f27bd739fc9c5ed43f0da6e438e0d973396b.zip
Added patch to have 'pkg install' exit with error code if it can't
find the source tarball. git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@980 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r--sci-mathematics/octave/ChangeLog7
-rw-r--r--sci-mathematics/octave/Manifest5
-rw-r--r--sci-mathematics/octave/files/octave-3.0.0-pkg.patch12
-rw-r--r--sci-mathematics/octave/octave-3.0.0.ebuild3
4 files changed, 23 insertions, 4 deletions
diff --git a/sci-mathematics/octave/ChangeLog b/sci-mathematics/octave/ChangeLog
index 3fe1b9a60..b01244c72 100644
--- a/sci-mathematics/octave/ChangeLog
+++ b/sci-mathematics/octave/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for sci-mathematics/octave-forge-parallel
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 18 Mar 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/octave-3.0.0-pkg.patch, octave-3.0.0.ebuild:
+ Added patch to have 'pkg install' exit with error code if it can't
+ find the source tarball.
+
30 Dec 2007; Markus Dittrich <markusle@gentoo.org> +octave-3.0.0.ebuild:
Version bump.
diff --git a/sci-mathematics/octave/Manifest b/sci-mathematics/octave/Manifest
index b211464e8..2479c9503 100644
--- a/sci-mathematics/octave/Manifest
+++ b/sci-mathematics/octave/Manifest
@@ -1,6 +1,7 @@
AUX octave-2.9.18-test-fix.patch 1241 RMD160 1cac3e4cd2cce480a184a8319ce0cb2d34503b2c SHA1 87905a77f3b9f63b56bd8c4ee8ae12e3a3c2ee4a SHA256 f72d643e3b9e143005dd450bb25a15ae87a41a0dcbbc34f3cced6da0f9980a3b
+AUX octave-3.0.0-pkg.patch 471 RMD160 c8d7c9fddce78ef1344e5d8c8d3b95df432956c1 SHA1 43931da426dd988c451ff852391f33d236941efa SHA256 48974218d067c8e85d7cf0d4eea3921b5db743872f53131012e4c19696feb414
DIST octave-2.9.19.tar.bz2 9807420 RMD160 c0f7d7b384f3e2f51cdb7ee0360d4ddf52e4493a SHA1 1cee64ccbcce0aca2b771175fcfbca817c9ba705 SHA256 684165a4b7f45e02761dded6ecf50d57652d55beb2295cdac3b7518ec6dc02d8
DIST octave-3.0.0.tar.bz2 9821575 RMD160 02fc58b63210ec99cfcad9dc2cee2ad1b6d11326 SHA1 874b3d40db5d882e37614ffa6cdb9fdd71e173f8 SHA256 f2351eed4f6505993275947802a35ecbc9b7e587ebbb5ee7ba72d54280de4418
EBUILD octave-2.9.19.ebuild 3730 RMD160 83bede43b38adeeb947a73eab8b1a72dfd2b423c SHA1 91e0f8ca90ce245fe008f0fe1b4c19f31c6c731b SHA256 b9ed09502561add7639a7b0494b3f101583ad4cfe49f1d818d3342c39be4d42b
-EBUILD octave-3.0.0.ebuild 4106 RMD160 650326ed81123a3feb1ad4fb1ff6355650e5aa55 SHA1 6fd0586593804c6f1610ea86e9e3e8e5a63c90b5 SHA256 b48d5c15c9a6518abc7861d1353210f783974fe5a2fca79eab408c6b607068a1
-MISC ChangeLog 777 RMD160 056cd970774fa495ed02dceaef76466083f4da8c SHA1 092325e7257dfd667be8477a9184f26959287ed4 SHA256 e421e73a1d2c0f399523afb40df25ac9f72c8c526041e91a2e5c73cde6cd545f
+EBUILD octave-3.0.0.ebuild 4143 RMD160 29397d608bf4d27ea1c230a6152d20ab69e5079b SHA1 991374e1717b25034f230cfbc6963470bef7f43c SHA256 18de83949602b28e6bb48a3d1a1df79f8b1cee3ab47fa32b6d0ffc645f2af67c
+MISC ChangeLog 981 RMD160 c29fa3d69f2c26d7380c4f4f200a2596a9cbbdd1 SHA1 084a94c7edec21ad69b3d8c4d42dd97f8f548ec2 SHA256 87abede80e3b255b773f38c3c999a6580ae79b098e6af146e47a9d01cf243e0a
diff --git a/sci-mathematics/octave/files/octave-3.0.0-pkg.patch b/sci-mathematics/octave/files/octave-3.0.0-pkg.patch
new file mode 100644
index 000000000..77fe1fb64
--- /dev/null
+++ b/sci-mathematics/octave/files/octave-3.0.0-pkg.patch
@@ -0,0 +1,12 @@
+diff -Naur octave-3.0.0/scripts/pkg/pkg.m octave-3.0.0.new/scripts/pkg/pkg.m
+--- octave-3.0.0/scripts/pkg/pkg.m 2007-12-20 11:55:26.000000000 -0500
++++ octave-3.0.0.new/scripts/pkg/pkg.m 2008-03-16 06:32:07.000000000 -0400
+@@ -514,7 +514,7 @@
+ ## Warn about non existent files
+ for i = 1:length (files)
+ if (isempty (glob(files{i})))
+- warning ("file %s does not exist", files{i});
++ error ("file %s does not exist", files{i});
+ endif
+ endfor
+
diff --git a/sci-mathematics/octave/octave-3.0.0.ebuild b/sci-mathematics/octave/octave-3.0.0.ebuild
index 16bc4d7dd..4ad353c94 100644
--- a/sci-mathematics/octave/octave-3.0.0.ebuild
+++ b/sci-mathematics/octave/octave-3.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r1.ebuild,v 1.2 2006/11/03 15:44:39 markusle Exp $
@@ -42,6 +42,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${PN}-2.9.18-test-fix.patch
+ epatch "${FILESDIR}"/${P}-pkg.patch
}
src_compile() {