summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2010-06-05 08:24:22 +0000
committerAlistair Bush <ali_bush@gentoo.org>2010-06-05 08:24:22 +0000
commit24414529c92b5e0ed2ba0bf7c950aa196db31f95 (patch)
tree4a7527f3e8f3fc06c5e7a0cd8dc6c21526f7bd2a /dev-java
parentx86 stable wrt bug #321899 (diff)
downloadgentoo-2-24414529c92b5e0ed2ba0bf7c950aa196db31f95.tar.gz
gentoo-2-24414529c92b5e0ed2ba0bf7c950aa196db31f95.tar.bz2
gentoo-2-24414529c92b5e0ed2ba0bf7c950aa196db31f95.zip
New Package.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/dynalang/ChangeLog10
-rw-r--r--dev-java/dynalang/dynalang-0.4.ebuild57
-rw-r--r--dev-java/dynalang/metadata.xml6
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-java/dynalang/ChangeLog b/dev-java/dynalang/ChangeLog
new file mode 100644
index 000000000000..eb0d01e54f29
--- /dev/null
+++ b/dev-java/dynalang/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/dynalang
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/dynalang/ChangeLog,v 1.1 2010/06/05 08:24:22 ali_bush Exp $
+
+*dynalang-0.4 (05 Jun 2010)
+
+ 05 Jun 2010; Alistair Bush <ali_bush@gentoo.org> +dynalang-0.4.ebuild,
+ +metadata.xml:
+ New Package.
+
diff --git a/dev-java/dynalang/dynalang-0.4.ebuild b/dev-java/dynalang/dynalang-0.4.ebuild
new file mode 100644
index 000000000000..36df2fe20123
--- /dev/null
+++ b/dev-java/dynalang/dynalang-0.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/dynalang/dynalang-0.4.ebuild,v 1.1 2010/06/05 08:24:22 ali_bush Exp $
+
+EAPI=3
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="${PN}-mop-${PV}"
+
+DESCRIPTION="Library for implementation of interoperable metaobject protocols for dynamic languages."
+HOMEPAGE="http://sourceforge.net/projects/dynalang/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}.tgz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5
+ test? (
+ dev-java/emma:0
+ dev-java/junit:0
+ dev-java/ant-junit:0
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ find . -iname '*.jar' -delete
+
+ sed -i -e '/ivy:retrieve/d' build.xml || die
+
+ sed -i -e \
+ 's/clazz.getConstructors/(Constructor<T>[])clazz.getConstructors/' \
+ src/org/dynalang/mop/beans/BeanMetaobjectProtocol.java || die
+
+ mkdir -p build/lib/test
+}
+
+EANT_DOC_TARGET="doc"
+
+src_test() {
+ java-pkg_jar-from --into build/lib/test emma,junit
+
+ ANT_TASKS="ant-junit" eant test
+}
+
+src_install() {
+ java-pkg_dojar "${PN}.jar"
+ use doc && java-pkg_dojavadoc build/javadoc
+ use source && java-pkg_dosrc src
+}
diff --git a/dev-java/dynalang/metadata.xml b/dev-java/dynalang/metadata.xml
new file mode 100644
index 000000000000..604e0a4238bb
--- /dev/null
+++ b/dev-java/dynalang/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
+