summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2016-12-16 16:28:07 +1300
committerKent Fredric <kentnl@gentoo.org>2016-12-16 16:44:09 +1300
commitbcac4353b8706d5258c364a2159d8e817e3379d1 (patch)
treedb19d41184f9a11a5ba52a7922266e780d285898 /dev-java
parentVersion bump to 1.8.19. (diff)
downloadgentoo-bcac4353b8706d5258c364a2159d8e817e3379d1.tar.gz
gentoo-bcac4353b8706d5258c364a2159d8e817e3379d1.tar.bz2
gentoo-bcac4353b8706d5258c364a2159d8e817e3379d1.zip
dev-java/boot-bin: Bump to version 2.7.0
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/boot-bin/Manifest3
-rw-r--r--dev-java/boot-bin/boot-bin-2.7.0.ebuild71
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-java/boot-bin/Manifest b/dev-java/boot-bin/Manifest
index 9d842b5a1dad..b681265d09c4 100644
--- a/dev-java/boot-bin/Manifest
+++ b/dev-java/boot-bin/Manifest
@@ -1 +1,4 @@
DIST boot-2.6.0.jar 8289462 SHA256 6ad8b10ff63b5ed884fefef9b784fd05675d94486526d059ebcc2c3b8a8a7701 SHA512 715aa320c0e44a2376020aa84c0640ae8e6fb15a4842b4267ff58e1d09682aae17f74dc568e50fa611993947bcd7b1430157a0f0b6b8bcddff1eaa3149ddc9ad WHIRLPOOL e39fa91d481ecf74747da7b81477d27110c61ad51ad5b662da9ef60c0a8727c035abacbc0cf1201d6dce2e31d76115ce2fecc2193228ae23dfe251e11858d93f
+DIST boot-2.7.0-CHANGES.md 19877 SHA256 645fd7930d2a6fad9256715e069a41619a3475f2eeebbb41207971f15ccb1881 SHA512 f97148da762a1e5ea5ab747dcff59e69a53690cd655a6b8968dd894b7e4184f49eacc2d1189d81df80eba78b74091dd47d137dc4963da5b9caead0db16259303 WHIRLPOOL 0132ebafbb7e159dc9225a7a95106b2471762ca17760ed283c9917b82e0477bc97e78642610ed90008fd81b1083ad427f3f3c64b17997aef65a9f50ed945f839
+DIST boot-2.7.0-README.md 16071 SHA256 d387c458c909734469ac4deb0a08dfbf39c6b0189ba859bd946513e07759bb63 SHA512 395b6fec79bd1299f4d84fda4ba3d0db0b54c9c591c7ffd2c3c0f239f5f1bade31bf6eb1b924d6e58775fb6d412417d251d77356698d54c93c3ee31b64c9652a WHIRLPOOL c09971b19d4c0bdd5521608b8aad6712ccf2d11d38e55c7e1ef463d6c5416894e84693ceff0580402e44e317e77ba1080240320f282a3f15e3ba35493002b1fe
+DIST boot-2.7.0.jar 16723852 SHA256 e70aa20090faec527f20a623cc02c77f33f0061ec98bcb05595f3ad15014f3df SHA512 5a95b2d8e521d57e5773347df52982f0ab9cd325622606ea394f826610b9b27a1cbeed0749665d62f605cf9249b9f65d378b1b77e40c83e3cfe703d4d2fc2530 WHIRLPOOL ef2c5374a72e6422387c617ae437f0cb9bb9aa44e36dcabcb0afb236ea1c458b5f3adf8a900e00f1a3cdaa2554a160cb7c13a0e275392e61eeae5d296e2536a7
diff --git a/dev-java/boot-bin/boot-bin-2.7.0.ebuild b/dev-java/boot-bin/boot-bin-2.7.0.ebuild
new file mode 100644
index 000000000000..d514c9d87fe1
--- /dev/null
+++ b/dev-java/boot-bin/boot-bin-2.7.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit java-pkg-2
+
+MY_PN="${PN%-bin}"
+MY_PNV="${MY_PN}-${PV}"
+GITHUB_USER="boot-clj"
+
+DESCRIPTION="Build tooling for Clojure"
+HOMEPAGE="http://boot-clj.com/"
+SRC_URI="https://github.com/${GITHUB_USER}/${MY_PN}/releases/download/${PV}/${MY_PN}.jar -> ${MY_PNV}.jar
+ https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${PV}/README.md -> ${MY_PNV}-README.md
+ https://raw.githubusercontent.com/${GITHUB_USER}/${MY_PN}/${PV}/CHANGES.md -> ${MY_PNV}-CHANGES.md
+"
+LICENSE="EPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=virtual/jdk-1.7:*"
+DEPEND=">=virtual/jdk-1.7:*"
+
+RESTRICT="test"
+
+src_unpack() {
+ mkdir -p "${S}" || die "Can't mkdir ${S}"
+ cd "${S}" || die "Can't enter ${S}"
+ for file in ${A}; do
+ einfo "Copying ${file}"
+ cp "${DISTDIR}/${file}" "${S}/" || die "Can't copy ${file}"
+ done
+}
+
+src_prepare() {
+ einfo "Copying boot shell-script"
+ cp "${FILESDIR}/boot" "${S}/" || die "Can't copy boot"
+
+ for file in "README.md" "CHANGES.md"; do
+ einfo "Renaming ${MY_PNV}-${file} to ${file}"
+ mv "${S}/${MY_PNV}-${file}" "${S}/${file}" || die "Can't rename ${MY_PNV}-${file} to ${file}"
+ done
+
+ java-pkg_init_paths_
+
+ sed -i "s|@@JAVA_PKG_SHAREPATH@@|${JAVA_PKG_SHAREPATH}|g" "${S}/boot" || die "Can't patch JAVA_PKG_SHAREPATH path in boot"
+ sed -i "s|@@JAVA_PKG_JARDEST@@|${JAVA_PKG_JARDEST}|g" "${S}/boot" || die "Can't patch JAVA_PKG_JARDEST path in boot"
+ sed -i "s|@@PN@@|${PN}|g" "${S}/boot" || die "Can't patch PN in boot"
+
+ default
+}
+
+src_compile() { :; }
+
+src_install() {
+ dobin "${S}/boot"
+ dodoc "${S}/README.md"
+ dodoc "${S}/CHANGES.md"
+
+ java-pkg_newjar "${S}/${MY_PNV}.jar"
+}
+
+pkg_postinst() {
+ einfo "This package will still download a whole lot of its own runtime"
+ einfo "dependencies the first time you run it."
+ einfo ""
+ einfo "This currently can't be helped and is expected behaviour for a"
+ einfo "java based development toolkit"
+}