diff options
author | Keri Harris <keri@gentoo.org> | 2012-01-14 21:26:23 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2012-01-14 21:26:23 +0000 |
commit | 27e96af89631a5ca5698f349389cb12d8790ce04 (patch) | |
tree | 14c2f2f5690ce94f04cdef3300469af2fa007af4 /dev-lang/tuprolog | |
parent | Add gtk use flag to gvim dependency, bug #398737 (diff) | |
download | historical-27e96af89631a5ca5698f349389cb12d8790ce04.tar.gz historical-27e96af89631a5ca5698f349389cb12d8790ce04.tar.bz2 historical-27e96af89631a5ca5698f349389cb12d8790ce04.zip |
Version bump
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/tuprolog')
-rw-r--r-- | dev-lang/tuprolog/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/tuprolog/Manifest | 11 | ||||
-rw-r--r-- | dev-lang/tuprolog/files/tuprolog-2.4.0_rc5-javadocs.patch | 315 | ||||
-rw-r--r-- | dev-lang/tuprolog/tuprolog-2.4.0_rc5.ebuild | 56 |
4 files changed, 385 insertions, 5 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog index f2681d1d97b9..f32438f5afb6 100644 --- a/dev-lang/tuprolog/ChangeLog +++ b/dev-lang/tuprolog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/tuprolog # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.40 2012/01/14 20:53:35 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.41 2012/01/14 21:26:23 keri Exp $ + +*tuprolog-2.4.0_rc5 (14 Jan 2012) + + 14 Jan 2012; <keri@gentoo.org> +tuprolog-2.4.0_rc5.ebuild, + +files/tuprolog-2.4.0_rc5-javadocs.patch: + Version bump 14 Jan 2012; <keri@gentoo.org> tuprolog-2.3.1_beta.ebuild: Fix up dependencies for Prolog kernel tests diff --git a/dev-lang/tuprolog/Manifest b/dev-lang/tuprolog/Manifest index 3aa96e2c7074..0c5ab7b10bd3 100644 --- a/dev-lang/tuprolog/Manifest +++ b/dev-lang/tuprolog/Manifest @@ -7,18 +7,21 @@ AUX tuprolog-2.1.1-javadocs.patch 6573 RMD160 0cc1f044ada95113ae638a9cd48c920fa3 AUX tuprolog-2.3.0_alpha-generics.patch 682 RMD160 de3a8f7c9654937b61d15cd6345c87f057a61db1 SHA1 0ee58b501c8c591ccf744bd876f8fb10fa35d99b SHA256 22b7425a3dbd857084a141fd5068239ba79882f781bd0b3c9f6496f3b26e4193 AUX tuprolog-2.3.0_alpha-javadocs.patch 9013 RMD160 23422b8594bc5961d51d66ef4beb968e467fda94 SHA1 486339da7d60b60e8c059c58f679a58ba3bb76dd SHA256 906bf26e74ce0b15af63917f2a95d5f7287f77ee0bf84eeebe1923101e4fd4a6 AUX tuprolog-2.3.1_beta-javadocs.patch 9848 RMD160 ac32a2d74cfbdbaaaf38b949e8f238547ebec207 SHA1 d0b946e29d0c989210406f32ebd099cd6f8482cf SHA256 1fe5fdc8e5ed4af7051e724d84795986cf57309402eeb748d56283f36c806cc5 +AUX tuprolog-2.4.0_rc5-javadocs.patch 12383 RMD160 1d5fbee3616f4f2f1ff8e33d0582a5be60a5d3d0 SHA1 94d569a787e6413b7b68f3c8afa657239f452c74 SHA256 68eba3d741371af2246fc1869c06a5c75b2d477d330066487465976f720efcf0 DIST 2p-2.1.1.zip 1879216 RMD160 4cb3c1505c78ac0c432a0369ca117244cf4a7bba SHA1 3477a5432a74e5d58fb9cdf1e227288025300be0 SHA256 fe49fbee0c22c3bb6799895f4e1694ead184a689ab753ebf56031c2891dab7b5 DIST 2p-2.3.0alpha.zip 2757862 RMD160 c6fc771b8b236433de41e160ca1ebe5ea0605b12 SHA1 d379fd42db9f4accf75b5b9d4570854fd3e9dc46 SHA256 f8c1da73d0a5ca04267aec46e0636754dad747f4354069fad40e054aaacbfed2 DIST 2p-2.3.1.zip 2534203 RMD160 6c97b9dc8f0b5b63746c133479d77803c640d649 SHA1 64a8869ee73938945fffd30c25bb45ef5f1a7cac SHA256 7f56638d0401805008155749fb4fa367e4d21eb0a1d9be7c2e7fbc77514864c4 +DIST 2p-2.4.0.zip 2421675 RMD160 1760d6a26bdd59cb3124da0041bbc5ad6765facc SHA1 1afc40331855e246f5ebc2e17c2cc9a3ec7a1dda SHA256 f674b282bd7bc60e92ea417f8766e635979366d84d48634dd622e60ad1aa78c6 EBUILD tuprolog-2.1.1.ebuild 1158 RMD160 67d6af25e461d64096a82432bc5b5206d6566281 SHA1 fe843f7462451d1217bde223d68b518592ced492 SHA256 11a8bbcc8a7602ad1c5532c5bf3e82ea7d2d7c907f73dd68a0ab6230d909bb4d EBUILD tuprolog-2.3.0_alpha.ebuild 1065 RMD160 9c63c8c1a332fdfb55334faeddbae29bed9158ab SHA1 5b86e09ef811a7da7685d5f282e0a49251d54e3d SHA256 3b7c141c04d56221b9372c08c3647c9dbb68d6d43319f2bacd3c261d7ead1398 EBUILD tuprolog-2.3.1_beta.ebuild 1237 RMD160 cdad452b2722c69a507870f2f5057be4b4c995aa SHA1 595dbeb365852256a563906cc543d3b5a62ba146 SHA256 5bb3c91f95f081fe5405db5903d0f0435ff5be3d660d15e55ad890ac87c82aba -MISC ChangeLog 5521 RMD160 5911f7346b89dfb1c7ded4190cf4ca50a74115c7 SHA1 26fb316cab4a09348ebe211587387384891cb21b SHA256 25548de043cc52d6ba0a02114ddf1877ac2b5a6d2b732fb963b07e8f34b3748e +EBUILD tuprolog-2.4.0_rc5.ebuild 1190 RMD160 1de8be23d862a22e787978fe43dd76f2de935e58 SHA1 ae0cec3e88b4e686acd0b3d2e1b630300fe3a949 SHA256 2b4bb6ea4c34864c4554d56d4fe8ad5fedba681fc7fe572df1fec114ba974943 +MISC ChangeLog 5677 RMD160 0262f9a36f9f9fe75cb1138a756eb80ab29bded8 SHA1 a3bab6cdbfbfc152b214e6762ee3c86a87bb94f1 SHA256 85250daba1682f3422d71a75f4670e76953f26817ab0d970fb7a5dfee474b363 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk8R61kACgkQrwS/tqE49e1PuACeONf5snEf0Sl+dm9fkkhevS15 -TDgAoJwPHaz4MuTLdcN6tNUxwyIQPsf0 -=ZhLM +iEYEARECAAYFAk8R8woACgkQrwS/tqE49e2VHACgl79+aNj1/+kN0SFuivWyGu+y +TmoAn2oCB+gpazsk5G64/dVmhz4T4OrI +=aHmo -----END PGP SIGNATURE----- diff --git a/dev-lang/tuprolog/files/tuprolog-2.4.0_rc5-javadocs.patch b/dev-lang/tuprolog/files/tuprolog-2.4.0_rc5-javadocs.patch new file mode 100644 index 000000000000..618ead12da81 --- /dev/null +++ b/dev-lang/tuprolog/files/tuprolog-2.4.0_rc5-javadocs.patch @@ -0,0 +1,315 @@ +diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprolog/ChoicePointStore.java 2p-2.4.0-RC5/src/alice/tuprolog/ChoicePointStore.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprolog/ChoicePointStore.java 2011-07-18 18:49:42.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprolog/ChoicePointStore.java 2012-01-15 10:02:51.000000000 +1300 +@@ -36,7 +36,6 @@ +
+ /**
+ * Return the actual choice-point store
+- * @return
+ */
+ public ChoicePointContext getPointer() {
+ return pointer;
+@@ -45,7 +44,6 @@ + /**
+ * Check if a choice point exists in the store.
+ * As a side effect, removes choice points which have been already used and are now empty.
+- * @return
+ */
+ protected boolean existChoicePoint() {
+ if (pointer == null) return false;
+@@ -93,4 +91,4 @@ + return l;
+ }
+
+-} +\ No newline at end of file ++}
+diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprolog/ClauseStore.java 2p-2.4.0-RC5/src/alice/tuprolog/ClauseStore.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprolog/ClauseStore.java 2011-07-21 15:19:52.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprolog/ClauseStore.java 2012-01-15 10:03:27.000000000 +1300 +@@ -62,8 +62,6 @@ + + /** + * Verify if there is a term in compatibleGoals compatible with goal. +- * @param goal +- * @param compGoals + * @return true if compatible or false otherwise. + */ + protected boolean existCompatibleClause() { +@@ -160,4 +158,4 @@ + } + + +-} +\ No newline at end of file ++} +diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprolog/EngineManager.java 2p-2.4.0-RC5/src/alice/tuprolog/EngineManager.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprolog/EngineManager.java 2011-07-21 15:21:30.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprolog/EngineManager.java 2012-01-15 10:03:54.000000000 +1300 +@@ -96,7 +96,7 @@ + /**
+ * Solves a query
+ *
+- * @param g the term representing the goal to be demonstrated
++ * @param query the term representing the goal to be demonstrated
+ * @return the result of the demonstration
+ * @see SolveInfo
+ **/
+@@ -243,4 +243,4 @@ + }
+
+
+-} +\ No newline at end of file ++}
+diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprolog/PrimitiveManager.java 2p-2.4.0-RC5/src/alice/tuprolog/PrimitiveManager.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprolog/PrimitiveManager.java 2011-07-21 15:35:50.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprolog/PrimitiveManager.java 2012-01-15 10:04:20.000000000 +1300 +@@ -89,7 +89,7 @@ + * This involves identifying structs representing builtin + * predicates and functors, and setting up related structures and links + * +- * @parm term the term to be identified ++ * @param term the term to be identified + * @return term with the identified built-in directive + */ + public Term identifyDirective(Term term) { +@@ -192,4 +192,4 @@ + return (functorHashMap.containsKey(name + "/" + nArgs) || predicateHashMap.containsKey(name + "/" + nArgs)); + } + /**/ +-} +\ No newline at end of file ++} +diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprolog/event/SpyEvent.java 2p-2.4.0-RC5/src/alice/tuprolog/event/SpyEvent.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprolog/event/SpyEvent.java 2011-07-21 15:47:18.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprolog/event/SpyEvent.java 2012-01-15 10:21:13.000000000 +1300 +@@ -33,10 +33,6 @@ + * event description
+ */
+ private String msg;
+- /**
+- * @uml.property name="env"
+- * @uml.associationEnd
+- */
+ private Engine env;
+
+ public SpyEvent(Object source, String msg_) {
+@@ -63,4 +59,4 @@ + return msg + ((env == null) ? "" : env.toString());
+ }
+
+-} +\ No newline at end of file ++}
+diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprolog/lib/BasicLibrary.java 2p-2.4.0-RC5/src/alice/tuprolog/lib/BasicLibrary.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprolog/lib/BasicLibrary.java 2011-09-16 18:00:58.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprolog/lib/BasicLibrary.java 2012-01-15 10:04:49.000000000 +1300 +@@ -114,7 +114,7 @@ + /**
+ * Loads a library constructed from a theory.
+ *
+- * @param theory
++ * @param th
+ * theory text
+ * @param libName
+ * name of the library
+@@ -1264,4 +1264,4 @@ + { "\\", "expression_bitwise_not", "functor" } };
+ }
+
+-} +\ No newline at end of file ++}
+diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprolog/lib/IOLibrary.java 2p-2.4.0-RC5/src/alice/tuprolog/lib/IOLibrary.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprolog/lib/IOLibrary.java 2011-07-21 15:50:40.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprolog/lib/IOLibrary.java 2012-01-15 10:06:27.000000000 +1300 +@@ -375,7 +375,7 @@ + /**
+ * Sets an arbitrary seed for the Random object.
+ *
+- * @param seed Seed to use
++ * @param t Seed to use
+ * @return true if seed Term has a valid long value, false otherwise
+ */
+ public boolean set_seed_1(Term t) throws PrologError {
+@@ -470,4 +470,4 @@ + }
+ return true;
+ }
+-} +\ No newline at end of file ++}
+diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprolog/lib/JavaLibrary.java 2p-2.4.0-RC5/src/alice/tuprolog/lib/JavaLibrary.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprolog/lib/JavaLibrary.java 2011-07-21 15:50:42.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprolog/lib/JavaLibrary.java 2012-01-15 10:10:02.000000000 +1300 +@@ -1393,8 +1393,6 @@ + + /** + * Generates a fresh numeric identifier +- * +- * @return + */ + protected Struct generateFreshId() { + return new Struct("$obj_" + id++); +diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprologx/ide/Console.java 2p-2.4.0-RC5/src/alice/tuprologx/ide/Console.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprologx/ide/Console.java 2011-06-29 17:00:06.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprologx/ide/Console.java 2012-01-15 10:10:45.000000000 +1300 +@@ -10,8 +10,5 @@ + public void getNextSolution();
+ public void acceptSolution();
+ public void stopEngine();
+- /**
+- * @uml.property name="goal"
+- */
+ public String getGoal();
+-} +\ No newline at end of file ++}
+diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprologx/ide/LibraryDialogFrame.java 2p-2.4.0-RC5/src/alice/tuprologx/ide/LibraryDialogFrame.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprologx/ide/LibraryDialogFrame.java 2011-07-21 16:02:44.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprologx/ide/LibraryDialogFrame.java 2012-01-15 10:11:41.000000000 +1300 +@@ -325,7 +325,6 @@ + displayLibraryManagerStatus();
+ }
+
+- /** @see alice.tuprologx.ide.SwingFrame#onClose()*/
+ public void closeLibraryDialog()
+ {
+ onClose();
+diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprologx/ide/ToolBar.java 2p-2.4.0-RC5/src/alice/tuprologx/ide/ToolBar.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprologx/ide/ToolBar.java 2011-07-21 16:10:16.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprologx/ide/ToolBar.java 2012-01-15 10:12:21.000000000 +1300 +@@ -242,8 +242,6 @@ +
+ /**
+ * Set the tuProlog config frame
+- *
+- * @param libraryManager a libraryManager to associate to the libraryDialog
+ */
+ public void setPrologConfig(PrologConfigFrame configFrame)
+ {
+diff -ur 2p-2.4.0-RC5.orig/src/alice/tuprologx/pj/lib/PJLibrary.java 2p-2.4.0-RC5/src/alice/tuprologx/pj/lib/PJLibrary.java +--- 2p-2.4.0-RC5.orig/src/alice/tuprologx/pj/lib/PJLibrary.java 2011-07-21 16:18:14.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/tuprologx/pj/lib/PJLibrary.java 2012-01-15 10:13:01.000000000 +1300 +@@ -1252,7 +1252,6 @@ + + /** + * Generates a fresh numeric identifier +- * @return + */ + protected Struct generateFreshId() { + return new Struct("$obj_" + id++); +diff -ur 2p-2.4.0-RC5.orig/src/alice/util/ReadOnlyLinkedList.java 2p-2.4.0-RC5/src/alice/util/ReadOnlyLinkedList.java +--- 2p-2.4.0-RC5.orig/src/alice/util/ReadOnlyLinkedList.java 2011-07-21 16:27:00.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/util/ReadOnlyLinkedList.java 2012-01-15 10:01:28.000000000 +1300 +@@ -12,10 +12,10 @@ + import java.util.ListIterator; + + /** +- * ReadOnlyLinkedList<E> encapsulate a {@link LinkedList<E>} ++ * ReadOnlyLinkedList<E> encapsulate a {@link LinkedList} + * and ensures that the given list is navigated only. + * +- * Even if ReadOnlyLinkedList<E> implements {@link List<E>} it doesn't ++ * Even if ReadOnlyLinkedList<E> implements {@link List} it doesn't + * support modifiers methods, and throws {@link UnsupportedOperationException} + * if invoked. + * +diff -ur 2p-2.4.0-RC5.orig/src/alice/util/jedit/InputHandler.java 2p-2.4.0-RC5/src/alice/util/jedit/InputHandler.java +--- 2p-2.4.0-RC5.orig/src/alice/util/jedit/InputHandler.java 2011-07-21 16:33:22.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/util/jedit/InputHandler.java 2012-01-15 10:19:53.000000000 +1300 +@@ -24,7 +24,7 @@ + * + * @author Slava Pestov + * @version $Id: InputHandler.java,v 1.14 1999/12/13 03:40:30 sp Exp $ +- * @see org.gjt.sp.jedit.textarea.DefaultInputHandler ++ * @see alice.util.jedit.DefaultInputHandler + */ + public abstract class InputHandler extends KeyAdapter + { +@@ -187,7 +187,7 @@ + /** + * Grabs the next key typed event and invokes the specified + * action with the key as a the action command. +- * @param action The action ++ * @param listener The action + */ + public void grabNextKeyStroke(ActionListener listener) + { +diff -ur 2p-2.4.0-RC5.orig/src/alice/util/jedit/JEditTextArea.java 2p-2.4.0-RC5/src/alice/util/jedit/JEditTextArea.java +--- 2p-2.4.0-RC5.orig/src/alice/util/jedit/JEditTextArea.java 2011-09-28 12:26:10.000000000 +1300 ++++ 2p-2.4.0-RC5/src/alice/util/jedit/JEditTextArea.java 2012-01-15 10:16:47.000000000 +1300 +@@ -1392,7 +1392,7 @@ + + /** + * Sets if the selection should be rectangular. +- * @param overwrite True if the selection should be rectangular, ++ * @param rectSelect True if the selection should be rectangular, + * false otherwise. + */ + public final void setSelectionRectangular(boolean rectSelect) +diff -ur 2p-2.4.0-RC5.orig/src/alice/util/jedit/KeywordMap.java 2p-2.4.0-RC5/src/alice/util/jedit/KeywordMap.java +--- 2p-2.4.0-RC5.orig/src/alice/util/jedit/KeywordMap.java 2011-07-21 16:34:58.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/util/jedit/KeywordMap.java 2012-01-15 10:17:35.000000000 +1300 +@@ -75,7 +75,7 @@ + /** + * Adds a key-value mapping. + * @param keyword The key +- * @Param id The value ++ * @param id The value + */ + public void add(String keyword, byte id) + { +@@ -102,9 +102,6 @@ + } + + // protected members +- /** +- * @uml.property name="mapLength" +- */ + protected int mapLength; + + protected int getStringMapKey(String s) +diff -ur 2p-2.4.0-RC5.orig/src/alice/util/jedit/TextAreaPainter.java 2p-2.4.0-RC5/src/alice/util/jedit/TextAreaPainter.java +--- 2p-2.4.0-RC5.orig/src/alice/util/jedit/TextAreaPainter.java 2011-07-21 16:39:24.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/util/jedit/TextAreaPainter.java 2012-01-15 10:20:32.000000000 +1300 +@@ -75,7 +75,7 @@ + + /** + * Returns the syntax styles used to paint colorized text. Entry <i>n</i> will be used to paint tokens with id = <i>n</i>. +- * @see org.gjt.sp.jedit.syntax.Token ++ * @see alice.util.jedit.Token + */ + public final SyntaxStyle[] getStyles() + { +@@ -85,7 +85,7 @@ + /** + * Sets the syntax styles used to paint colorized text. Entry <i>n</i> will be used to paint tokens with id = <i>n</i>. + * @param styles The syntax styles +- * @see org.gjt.sp.jedit.syntax.Token ++ * @see alice.util.jedit.Token + */ + public final void setStyles(SyntaxStyle[] styles) + { +@@ -356,7 +356,7 @@ + + /** + * Repaints the text. +- * @param g The graphics context ++ * @param gfx The graphics context + */ + public void paint(Graphics gfx) + { +diff -ur 2p-2.4.0-RC5.orig/src/alice/util/jedit/TokenMarker.java 2p-2.4.0-RC5/src/alice/util/jedit/TokenMarker.java +--- 2p-2.4.0-RC5.orig/src/alice/util/jedit/TokenMarker.java 2011-07-21 16:39:24.000000000 +1200 ++++ 2p-2.4.0-RC5/src/alice/util/jedit/TokenMarker.java 2012-01-15 10:20:47.000000000 +1300 +@@ -23,7 +23,7 @@ + * @author Slava Pestov + * @version $Id: TokenMarker.java,v 1.32 1999/12/13 03:40:30 sp Exp $ + * +- * @see org.gjt.sp.jedit.syntax.Token ++ * @see alice.util.jedit.Token + */ + public abstract class TokenMarker + { diff --git a/dev-lang/tuprolog/tuprolog-2.4.0_rc5.ebuild b/dev-lang/tuprolog/tuprolog-2.4.0_rc5.ebuild new file mode 100644 index 000000000000..e1b35065d38d --- /dev/null +++ b/dev-lang/tuprolog/tuprolog-2.4.0_rc5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.4.0_rc5.ebuild,v 1.1 2012/01/14 21:26:23 keri Exp $ + +EAPI=2 + +inherit eutils java-pkg-2 java-ant-2 + +MY_P="2p-${PV/_rc5/}" + +DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures" +HOMEPAGE="http://www.alice.unibo.it/tuProlog/" +SRC_URI="mirror://sourceforge/tuprolog/${MY_P}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +RDEPEND=">=virtual/jdk-1.5 + >=dev-java/javassist-3" + +DEPEND="${RDEPEND} + app-arch/unzip + dev-java/ant-core" + +S="${WORKDIR}"/${MY_P}-RC5 + +EANT_GENTOO_CLASSPATH="javassist-3" + +src_prepare() { + epatch "${FILESDIR}"/${P}-javadocs.patch + + cp "${FILESDIR}"/build.xml "${S}" || die + sed -i -e "s|test/unit|test|" "${S}"/build.xml \ + || die "sed build.xml failed" +} + +src_compile() { + eant jar $(use_doc) +} + +src_test() { + cd "${S}"/dist + java-pkg_jar-from junit + cd "${S}" + ANT_TASKS="ant-junit" eant test || die "eant test failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + if use doc ; then + java-pkg_dohtml -r docs/* || die + fi +} |