summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2007-07-22 02:39:09 +0000
committerKeri Harris <keri@gentoo.org>2007-07-22 02:39:09 +0000
commitc66ee8e57e93e108349538525cce0391311a7446 (patch)
tree03b9a535e21a2a3b678388e85971f6fb697d46f0 /dev-lang/tuprolog
parentDrop virtual/x11 references. (diff)
downloadhistorical-c66ee8e57e93e108349538525cce0391311a7446.tar.gz
historical-c66ee8e57e93e108349538525cce0391311a7446.tar.bz2
historical-c66ee8e57e93e108349538525cce0391311a7446.zip
Fix parser unit test.
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'dev-lang/tuprolog')
-rw-r--r--dev-lang/tuprolog/ChangeLog6
-rw-r--r--dev-lang/tuprolog/Manifest20
-rw-r--r--dev-lang/tuprolog/files/tuprolog-2.1-junit.patch13
-rw-r--r--dev-lang/tuprolog/tuprolog-2.1.ebuild3
4 files changed, 32 insertions, 10 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog
index 448127787fdc..5851c1f9b63b 100644
--- a/dev-lang/tuprolog/ChangeLog
+++ b/dev-lang/tuprolog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/tuprolog
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.17 2007/06/09 08:49:17 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.18 2007/07/22 02:39:09 keri Exp $
+
+ 22 Jul 2007; keri <keri@gentoo.org> +files/tuprolog-2.1-junit.patch,
+ tuprolog-2.1.ebuild:
+ Fix parser unit test.
09 Jun 2007; keri <keri@gentoo.org> tuprolog-2.1.ebuild:
Update test-suite invocation
diff --git a/dev-lang/tuprolog/Manifest b/dev-lang/tuprolog/Manifest
index c59807e1c8e6..88209a4a24ab 100644
--- a/dev-lang/tuprolog/Manifest
+++ b/dev-lang/tuprolog/Manifest
@@ -34,6 +34,10 @@ AUX tuprolog-2.1-javadocs.patch 6596 RMD160 3d7046508dc2eeae952ef7b0321325c88b45
MD5 2ad733eb39107c59de5dde4c795b24e7 files/tuprolog-2.1-javadocs.patch 6596
RMD160 3d7046508dc2eeae952ef7b0321325c88b45caeb files/tuprolog-2.1-javadocs.patch 6596
SHA256 58e33735509d63feef5d919d818810577728f274627a51572bb4d1b92be11be6 files/tuprolog-2.1-javadocs.patch 6596
+AUX tuprolog-2.1-junit.patch 608 RMD160 326fbd3d38a614426d68915d5896896884c7cc2b SHA1 52462a9b873b8711985c33780cedac5555754315 SHA256 29108796895b234c9995ceff291618984a7f7de787a08bc2bc72578c9e732930
+MD5 da82234c76304d2082abc4fef2e3738b files/tuprolog-2.1-junit.patch 608
+RMD160 326fbd3d38a614426d68915d5896896884c7cc2b files/tuprolog-2.1-junit.patch 608
+SHA256 29108796895b234c9995ceff291618984a7f7de787a08bc2bc72578c9e732930 files/tuprolog-2.1-junit.patch 608
DIST 2p-1.3.0.zip 2917856 RMD160 17c28db76873c4855df06992ffcc41e08d2d08c1 SHA1 4ad1500487762367a54981484d36579ce72af768 SHA256 c6fc6b1fadef7d22d24a7e454ebed4e67851e3960524a8730bbcbdea5216ceec
DIST 2p-2.0.1.zip 1815589 RMD160 569f2ccef98dd4fcf22923b1cd60c257ad94b5e6 SHA1 2a4dbcb67c3544c831ce7e8c3803d9c03e4b5fa6 SHA256 3f9310f3c304c5196410a1ccd18a1fdd9d481fcf02ee46c04c74f38252428154
DIST 2p-2.0.zip 1784854 RMD160 7961cf8ec8cca45b4807fa1a8c95c80f73209707 SHA1 39010ab06024b0367de6e4e7c890bb4461cdb33d SHA256 14d93c6b22defc6a1e1a285f0f019e45550b982fbd873bf62d37d50b04beaa72
@@ -50,14 +54,14 @@ EBUILD tuprolog-2.0.ebuild 1011 RMD160 293707a0e793f52a4c6aab7ad9c647c9adba0af4
MD5 40f654914e4b8c3ccccf8fcca799256e tuprolog-2.0.ebuild 1011
RMD160 293707a0e793f52a4c6aab7ad9c647c9adba0af4 tuprolog-2.0.ebuild 1011
SHA256 cd36b7b3a0c2efd36fac741366e048d77f4d9132da38b8e5c821a4ec7c471db3 tuprolog-2.0.ebuild 1011
-EBUILD tuprolog-2.1.ebuild 1167 RMD160 c6464f26957143af47b17f63936baf15822e2180 SHA1 53aa07f444178b4ae5b9de88a029cca41e1e8239 SHA256 d27ddf84ae5a4b7ba0cdd3c184be8d08a552f0a81562f4bd931ef78308b76726
-MD5 ec977ca0de32a81d0ebe4233c89321d7 tuprolog-2.1.ebuild 1167
-RMD160 c6464f26957143af47b17f63936baf15822e2180 tuprolog-2.1.ebuild 1167
-SHA256 d27ddf84ae5a4b7ba0cdd3c184be8d08a552f0a81562f4bd931ef78308b76726 tuprolog-2.1.ebuild 1167
-MISC ChangeLog 2232 RMD160 cf1286a925ad8de1318f6448061330468a10bf45 SHA1 37cde431f206b47877fae58f689330d48a862af6 SHA256 23473bc5a78e903f8bd9c702ebff077334bdc3a11ebaaa8b42797a6ad4001ee2
-MD5 de3b4c949eed41d67618eb398ba002dd ChangeLog 2232
-RMD160 cf1286a925ad8de1318f6448061330468a10bf45 ChangeLog 2232
-SHA256 23473bc5a78e903f8bd9c702ebff077334bdc3a11ebaaa8b42797a6ad4001ee2 ChangeLog 2232
+EBUILD tuprolog-2.1.ebuild 1206 RMD160 792e3619d0ccf2d03069034bedd400a69d04e147 SHA1 920723090fea6e16b61752c1bda78ced253820d3 SHA256 7a7c30589bd333495a7c1d02f02d6cd185eef4070d9ee23e7708ffdb473623a8
+MD5 35fc4a017f140c1ab23a0f37adf1092c tuprolog-2.1.ebuild 1206
+RMD160 792e3619d0ccf2d03069034bedd400a69d04e147 tuprolog-2.1.ebuild 1206
+SHA256 7a7c30589bd333495a7c1d02f02d6cd185eef4070d9ee23e7708ffdb473623a8 tuprolog-2.1.ebuild 1206
+MISC ChangeLog 2351 RMD160 bac512f866a135292be682c6e94bf558b37e69fe SHA1 eb0c8f59100046fdc8a0dfbc0cb314a34a060dda SHA256 33adde1f36bc2fb2cc7d120ee76d7739bac0ffc4c8495ff6fb51b1fa81c7e6a4
+MD5 f6137186542f69bd1f120c7bde306659 ChangeLog 2351
+RMD160 bac512f866a135292be682c6e94bf558b37e69fe ChangeLog 2351
+SHA256 33adde1f36bc2fb2cc7d120ee76d7739bac0ffc4c8495ff6fb51b1fa81c7e6a4 ChangeLog 2351
MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159
RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159
diff --git a/dev-lang/tuprolog/files/tuprolog-2.1-junit.patch b/dev-lang/tuprolog/files/tuprolog-2.1-junit.patch
new file mode 100644
index 000000000000..b8650114b725
--- /dev/null
+++ b/dev-lang/tuprolog/files/tuprolog-2.1-junit.patch
@@ -0,0 +1,13 @@
+--- test.orig/unit/alice/tuprolog/ParserTestCase.java 2007-04-23 10:11:04.000000000 +1200
++++ test/unit/alice/tuprolog/ParserTestCase.java 2007-07-22 14:23:06.000000000 +1200
+@@ -45,8 +45,8 @@
+ }
+
+ public void testListWithTail() throws InvalidTermException {
+- Parser p = new Parser("[p|Y]");
+- Struct result = new Struct(new Struct("p"), new Var("Y"));
++ Parser p = new Parser("[p|[q,r,s]]");
++ Struct result = new Struct(new Struct("p"), new Struct(new Term[] {new Struct("q"), new Struct("r"), new Struct("s")}));
+ result.resolveTerm();
+ assertEquals(result, p.nextTerm(false));
+ }
diff --git a/dev-lang/tuprolog/tuprolog-2.1.ebuild b/dev-lang/tuprolog/tuprolog-2.1.ebuild
index fb899b396469..7cc006ee7233 100644
--- a/dev-lang/tuprolog/tuprolog-2.1.ebuild
+++ b/dev-lang/tuprolog/tuprolog-2.1.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/dev-lang/tuprolog/tuprolog-2.1.ebuild,v 1.3 2007/06/09 08:49:17 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.1.ebuild,v 1.4 2007/07/22 02:39:09 keri Exp $
inherit eutils java-pkg-2 java-ant-2
@@ -28,6 +28,7 @@ src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-java1.4.patch
epatch "${FILESDIR}"/${P}-javadocs.patch
+ epatch "${FILESDIR}"/${P}-junit.patch
cd "${S}"
cp "${FILESDIR}"/build.xml "${S}"