summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2013-07-04 15:15:33 +0000
committerKeri Harris <keri@gentoo.org>2013-07-04 15:15:33 +0000
commit4e83b4de15f3d77b1590ee88c19d4b690af66c58 (patch)
tree50f37add81db53aa4cd97009b2d40ccde9a62c91 /dev-lang
parentFix attribution, still the work is appreciated jer ;) (diff)
downloadgentoo-2-4e83b4de15f3d77b1590ee88c19d4b690af66c58.tar.gz
gentoo-2-4e83b4de15f3d77b1590ee88c19d4b690af66c58.tar.bz2
gentoo-2-4e83b4de15f3d77b1590ee88c19d4b690af66c58.zip
Version bump
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key A138F5ED)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/tuprolog/ChangeLog7
-rw-r--r--dev-lang/tuprolog/tuprolog-2.7.0.ebuild59
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog
index 635c26d679f7..a22856c003de 100644
--- a/dev-lang/tuprolog/ChangeLog
+++ b/dev-lang/tuprolog/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/tuprolog
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.50 2013/05/15 15:36:13 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.51 2013/07/04 15:15:33 keri Exp $
+
+*tuprolog-2.7.0 (04 Jul 2013)
+
+ 04 Jul 2013; <keri@gentoo.org> +tuprolog-2.7.0.ebuild:
+ Version bump
*tuprolog-2.6.0 (15 May 2013)
diff --git a/dev-lang/tuprolog/tuprolog-2.7.0.ebuild b/dev-lang/tuprolog/tuprolog-2.7.0.ebuild
new file mode 100644
index 000000000000..2ae5240dbbdc
--- /dev/null
+++ b/dev-lang/tuprolog/tuprolog-2.7.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.7.0.ebuild,v 1.1 2013/07/04 15:15:33 keri Exp $
+
+EAPI=3
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures"
+HOMEPAGE="http://tuprolog.unibo.it/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=virtual/jdk-1.7
+ >=dev-java/javassist-3"
+
+DEPEND="${RDEPEND}
+ dev-java/ant-core
+ test? (
+ dev-java/ant-junit4
+ dev-java/hamcrest-core
+ )"
+
+S="${WORKDIR}"/${P}
+
+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-4
+ java-pkg_jar-from hamcrest-core
+ cd "${S}"
+ ANT_TASKS="ant-junit4" eant -Djunit.jar=junit.jar test \
+ || die "eant test failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ if use doc ; then
+ java-pkg_dohtml -r docs/* || die
+ fi
+}