summaryrefslogtreecommitdiff
path: root/dev-java/bsh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/bsh
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/bsh')
-rw-r--r--dev-java/bsh/Manifest5
-rw-r--r--dev-java/bsh/bsh-2.0_beta6.ebuild67
-rw-r--r--dev-java/bsh/metadata.xml11
3 files changed, 83 insertions, 0 deletions
diff --git a/dev-java/bsh/Manifest b/dev-java/bsh/Manifest
new file mode 100644
index 000000000000..80b951e26620
--- /dev/null
+++ b/dev-java/bsh/Manifest
@@ -0,0 +1,5 @@
+DIST bsh-2.0b6.zip 1994608 SHA256 25e4ca61c198c3268a52d318736ecab9e2d8868c15ba121547df0c39f452bafd SHA512 ce461cc74bc48580c636c2f2e55e4e734a2b2075547cc5663722866e5c978a680051131c13240afb586a777ab93165119d1f96f9623bd9747f8e7d8293dd3bcf WHIRLPOOL 35251126719af7ab6e3aae3a0dc3680221578198ed4b38ee9717a83bd9ef06b11b99d033a47a65feeb00ab1bdeebfe97832e4ec35026f644470114506d6ef177
+EBUILD bsh-2.0_beta6.ebuild 1323 SHA256 6f2d2401e0c9d4c1b82cd35b537c1f3abd4ab4c4ed4be0aaa958c2b71d20a8d3 SHA512 fb991116582686e7d6c07d4135c481831bfeee0a4f3d2fcd69c6d33f3989fd26a506085b4eab9b54e261abd9e9bf0819d260d00304378e6300acb519463923ac WHIRLPOOL f6125559aed95bb0ca0480a9ac560b39c8bea593f8360e17c26c48e198feb512df5b3089398b9012eb43792d4a5de6bdcac26a353b8fafa38014e49de869f2c8
+MISC ChangeLog 3821 SHA256 c3536d44aeafb3d7a473e90954fe0a36d879ac1c351e3b92877f9df0ae32ed36 SHA512 78dff5a7feaaeeead3b841a87b0eb28fa659a9f01de4da2fa824b24a09a522553f8cd7c43d61e8f78762e1d1faae4f3f2803d5a8bb83cdfdc9c293a232fafdd5 WHIRLPOOL b22e184bf16b01cac566032ef3b056e004777c243d3095aa7771a3e80c22a46f56d6627fa553e2b4c84f91e9bf0716349dde029d66c2b76151310d606cd27f23
+MISC ChangeLog-2015 7831 SHA256 ef6cbf60b876e339cd35706cf2f595fdcd003aadaf11787d110da5e402bd8a0d SHA512 a5afea7349c59d9da2fce1c6df053eec1be7fc28d990352af40a573e243aa78dd7bc24a6ffeac4038d775b2851195d466cc261f51216d60839bc171d89c634c0 WHIRLPOOL 4a160349fb713f176cc5a9947721e848241543937d7692b9a2f6bbd5f31bb0875b4879d620760e8ea3385893c767891f332e69aa49a4071be7c03a6c262cf68b
+MISC metadata.xml 330 SHA256 128ae93c27b612d50ebd0da4a5629690979c081c05da0a9c46d9924da69a4079 SHA512 5c495c72dfc5d55c63b0af0740b0b82306e047817965a8c095dc6ae89324af842d5f8ccaa218107ff715544051e9c984fd1997ca11786a9c0fd070d72441b7be WHIRLPOOL 8968613e02555355b3581d5a9cfe59dc628d78b2b3ef9cd0e02475c9d9179290c7e6646eac71daee0dd936a5a051fbd66698d65dbbdb0c24d80fe2e8658df9e7
diff --git a/dev-java/bsh/bsh-2.0_beta6.ebuild b/dev-java/bsh/bsh-2.0_beta6.ebuild
new file mode 100644
index 000000000000..e0de82482628
--- /dev/null
+++ b/dev-java/bsh/bsh-2.0_beta6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="beanshell"
+MY_BETA="b6"
+MY_PV="${PV%%_*}"
+MY_P="${PN}-${MY_PV}${MY_BETA}"
+
+DESCRIPTION="A small embeddable Java source interpreter"
+HOMEPAGE="https://github.com/beanshell/beanshell"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${MY_PV}${MY_BETA}.zip -> ${MY_P}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+
+CDEPEND="
+ dev-java/bsf:2.3
+ java-virtuals/servlet-api:3.0
+"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ test? ( dev-java/ant-junit:0 )
+ source? ( app-arch/zip )
+ >=virtual/jdk-1.6"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}${MY_BETA}"
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+EANT_BUILD_TARGET="jarall"
+EANT_DOC_TARGET="javadoc"
+EANT_GENTOO_CLASSPATH="
+ bsf-2.3
+ servlet-api-3.0
+"
+
+java_prepare() {
+ java-pkg_clean
+}
+
+EANT_TEST_TARGET="test"
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_newjar "dist/${MY_P}.jar" "${PN}.jar"
+
+ java-pkg_dolauncher "${PN}-console" --main bsh.Console
+ java-pkg_dolauncher "${PN}-interpreter" --main bsh.Interpreter
+
+ use doc && java-pkg_dojavadoc javadoc
+ use source && java-pkg_dosrc src/bsh
+}
diff --git a/dev-java/bsh/metadata.xml b/dev-java/bsh/metadata.xml
new file mode 100644
index 000000000000..203bfa39aeaf
--- /dev/null
+++ b/dev-java/bsh/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">beanshell/beanshell</remote-id>
+ </upstream>
+</pkgmetadata>