summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-mathematics/yacas/ChangeLog6
-rw-r--r--sci-mathematics/yacas/Manifest11
-rw-r--r--sci-mathematics/yacas/files/yacas-1.2.2-tests.patch31
-rw-r--r--sci-mathematics/yacas/yacas-1.2.2-r1.ebuild11
4 files changed, 49 insertions, 10 deletions
diff --git a/sci-mathematics/yacas/ChangeLog b/sci-mathematics/yacas/ChangeLog
index 883a67e7ee9e..771beb6581b6 100644
--- a/sci-mathematics/yacas/ChangeLog
+++ b/sci-mathematics/yacas/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/yacas
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.28 2011/04/17 09:58:34 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.29 2011/07/28 20:18:54 bicatali Exp $
+
+ 28 Jul 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> yacas-1.2.2-r1.ebuild,
+ +files/yacas-1.2.2-tests.patch:
+ Fixed tests (bug #361583)
*yacas-1.2.2-r1 (17 Apr 2011)
diff --git a/sci-mathematics/yacas/Manifest b/sci-mathematics/yacas/Manifest
index 520f0f26aa87..3c935492a722 100644
--- a/sci-mathematics/yacas/Manifest
+++ b/sci-mathematics/yacas/Manifest
@@ -4,15 +4,16 @@ Hash: SHA1
AUX yacas-1.2.2-gcc43.patch 227 RMD160 52ca83c63ce7b5955c9db176b8f07c223277e5a6 SHA1 af732b5ccf9d69dbcfd51247181b9636c3d029c8 SHA256 0d4db004fcffb34d78229672f0adf68d3ecac64d1fd5d9355dc3b85feb3991ef
AUX yacas-1.2.2-gcc46.patch 399 RMD160 ee69384f5fbe7a931d85a0cfd6c0d8372328a609 SHA1 5d05f2def1a82ea5f17fb600ffe202a1a8415660 SHA256 07dfa80723186c920d7218929e5d7e9dfe3ce75cbe78c128187d382b8e3dce71
AUX yacas-1.2.2-makefixes.patch 675 RMD160 c2e9c7d4a598565e18a87e7b8ac7417a0b475236 SHA1 f817d589aa542cd83dd06e5e1a0ab86ad3125d3d SHA256 fa2fc79e5a8daeae4380d25c9c6885d626d7bd4cf2a19516f09f6c85b6e18046
+AUX yacas-1.2.2-tests.patch 1699 RMD160 aac824d8424d50c42937befbf21b24a797a6591a SHA1 43fcc49c11c015eeb21ac9caeb61b0ca0bd6851e SHA256 1f273d8f1b4485289b0165e62c4746f80a2a23df1a9f07762d44e2dc74963a24
DIST yacas-1.2.2.tar.gz 1203303 RMD160 6c49ca60e4f1f92e7d30e8d91b6126e55d77321b SHA1 8e753c22c207a5aa5e9fd2a9d519605d5b73d5b9 SHA256 e8345de267ed41790128649e3ff5ab7be7d0a2fa6e721b82e0a552c04775aab6
-EBUILD yacas-1.2.2-r1.ebuild 1224 RMD160 f721785c8a5f606fd56115c2ccc1625dd5b33747 SHA1 a79db8e84a66ff05544b6e7119f841b427d4108d SHA256 006da62b72c06ecb1578f6a6d80b76a7afd39354a702fd3e3f2b00949347567c
+EBUILD yacas-1.2.2-r1.ebuild 1343 RMD160 d6ff600fc4d96bfeabe9bef321d2aec8ff44bc6b SHA1 6a2e79c67e9ca0ee1e35632402de894378e79d61 SHA256 e9d124fe6273af254d3c70baf84ad840a2e33d0b889686508771a24bce9c8e97
EBUILD yacas-1.2.2.ebuild 1391 RMD160 786a4b50642c0114ee2ebf1845070c0a8aa61040 SHA1 3e3f60d654f1b448772f61aea72ed69a5bf30762 SHA256 c6d866572473b0782e5608e7110f11e90218a672dc073766d68da7c3fad6f67e
-MISC ChangeLog 6067 RMD160 d7d5da9faebc62696a7a4500f3f306fea256a776 SHA1 dc7b4faee9f7d5da9af73562aba6166c445e03c0 SHA256 d1a861d0284c5a59ae3b349670d87b36d576d589339592babfee9c376387914b
+MISC ChangeLog 6212 RMD160 f806b63a108408f29b5d8f6528238bdf2a86adbc SHA1 6f4fa234b1f5f5df926b377629fa65092c14b178 SHA256 7df7e2850cbbb709c59da63e8a4c7534c1cf7b83e3856246d2e079a3382f3e50
MISC metadata.xml 652 RMD160 271e435f003d4c7587aeabae1a79db2f6941dae3 SHA1 7f0d2103397e65a72c70c3c32ac05a363ff31e83 SHA256 1a7b21bc7f24f77ac3c15e96bdf2f96390aca1ab85387bedcd4caaa7b61017a1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk2quc8ACgkQgAnW8HDreRbsUQCeMz9JTY9aYuaHG2WkNFVsuWRa
-au4AoMdd5pPSnC/+qvlWawnNQ05RjanL
-=VGbh
+iEYEARECAAYFAk4xxDgACgkQ1ycZbhPLE2DXHwCgmxdekRhJvjZSbqGHHDn7lS50
+l9sAoIxTNQDWru/rGdCwplunlKvJoV/d
+=7JLH
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/yacas/files/yacas-1.2.2-tests.patch b/sci-mathematics/yacas/files/yacas-1.2.2-tests.patch
new file mode 100644
index 000000000000..3d5f6dc65c3f
--- /dev/null
+++ b/sci-mathematics/yacas/files/yacas-1.2.2-tests.patch
@@ -0,0 +1,31 @@
+diff -Nur yacas-1.2.2.orig/tests/includetestfiles yacas-1.2.2/tests/includetestfiles
+--- yacas-1.2.2.orig/tests/includetestfiles 2011-07-28 20:44:18.000000000 +0100
++++ yacas-1.2.2/tests/includetestfiles 2011-07-28 20:59:03.000000000 +0100
+@@ -1,11 +1,11 @@
+-
++FAILURES_TESTFILES = calculus.yts complex.yts regress.yts
+ NORMAL_TESTFILES = \
+- openmath.yts macro.yts arithmetic.yts c_tex_form.yts calculus.yts canprove.yts \
+- comments.yts complex.yts deriv.yts dimensions.yts dot.yts journal.yts \
++ openmath.yts macro.yts arithmetic.yts c_tex_form.yts canprove.yts \
++ comments.yts deriv.yts dimensions.yts dot.yts journal.yts \
+ integrate.yts lists.yts logic_simplify_test.yts matrixpower.yts \
+ nthroot.yts outer.yts predicates.yts ode.yts \
+ tensors.yts trace.yts tr.yts multivar.yts numbers.yts io.yts \
+- programming.yts regress.yts simplify.yts solve.yts sums.yts \
++ programming.yts simplify.yts solve.yts sums.yts \
+ transforms.yts radsimp.yts linalg.yts orthopoly.yts poly.yts numerics.yts \
+ scopestack.yts plots.yts GaussianIntegers.yts nummethods.yts sturm.yts \
+ cyclotomic.yts binaryfactors.yts
+diff -Nur yacas-1.2.2.orig/tests/test-yacas yacas-1.2.2/tests/test-yacas
+--- yacas-1.2.2.orig/tests/test-yacas 2011-07-28 20:44:18.000000000 +0100
++++ yacas-1.2.2/tests/test-yacas 2011-07-28 20:44:47.000000000 +0100
+@@ -69,7 +69,7 @@
+ # fi
+ echo "Running $scr"
+ if [ -f $TESTFILE ]; then rm $TESTFILE ; fi
+- /bin/sh -c "time -p ($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \
++ /bin/sh -c "time -p $($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \
+ 2> $TIMEFILE \
+ || (echo "Error -- User interrupt" > $TESTFILE)
+ # cat $TIMEFILE
diff --git a/sci-mathematics/yacas/yacas-1.2.2-r1.ebuild b/sci-mathematics/yacas/yacas-1.2.2-r1.ebuild
index ba93411effc2..cf8fa19daad6 100644
--- a/sci-mathematics/yacas/yacas-1.2.2-r1.ebuild
+++ b/sci-mathematics/yacas/yacas-1.2.2-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.2.2-r1.ebuild,v 1.1 2011/04/17 09:58:33 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.2.2-r1.ebuild,v 1.2 2011/07/28 20:18:54 bicatali Exp $
EAPI="4"
-inherit eutils java-pkg-opt-2
+inherit eutils java-pkg-opt-2 autotools
-DESCRIPTION="Powerful general purpose computer algebra system"
+DESCRIPTION="General purpose computer algebra system"
HOMEPAGE="http://yacas.sourceforge.net/"
SRC_URI="http://${PN}.sourceforge.net/backups/${P}.tar.gz"
@@ -23,7 +23,10 @@ src_prepare() {
epatch \
"${FILESDIR}"/${P}-gcc43.patch \
"${FILESDIR}"/${P}-gcc46.patch \
- "${FILESDIR}"/${P}-makefixes.patch
+ "${FILESDIR}"/${P}-makefixes.patch \
+ "${FILESDIR}"/${P}-tests.patch
+ # needs to rebuild because tests include file modify Makefile.am
+ eautoreconf
}
src_configure() {