mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-java/boot-bin: Bump to version 2.7.1
Upstream: - target task now support option "--mode"/"-m" for specifying the mode for writing files as. Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -2,3 +2,6 @@ DIST boot-2.6.0.jar 8289462 SHA256 6ad8b10ff63b5ed884fefef9b784fd05675d94486526d
|
||||
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
|
||||
DIST boot-2.7.1-CHANGES.md 20380 SHA256 1f13ee0f676635bef5139f278a3d57f8768d34348f59ebf54a8046f5e7a60c36 SHA512 5f8b9866dcb5e784caee89c7a0569d6a2392cda19aa498d15eaa8d4ea054900bdc0dff950ca60f6c62f0cd262373a3cd0760c755b805d952bc96838de135aeb8 WHIRLPOOL aa35d4dbd9649c48baa989ff2260ad65727f9ad499b8eafcd640e4359d09e9dacd76c85f8810085e419ce5755470909128458313c39354eb2206032d8718e6e7
|
||||
DIST boot-2.7.1-README.md 16071 SHA256 d387c458c909734469ac4deb0a08dfbf39c6b0189ba859bd946513e07759bb63 SHA512 395b6fec79bd1299f4d84fda4ba3d0db0b54c9c591c7ffd2c3c0f239f5f1bade31bf6eb1b924d6e58775fb6d412417d251d77356698d54c93c3ee31b64c9652a WHIRLPOOL c09971b19d4c0bdd5521608b8aad6712ccf2d11d38e55c7e1ef463d6c5416894e84693ceff0580402e44e317e77ba1080240320f282a3f15e3ba35493002b1fe
|
||||
DIST boot-2.7.1.jar 8388320 SHA256 464d62a45699b7add2126a2c12613b1b09bd2ffc895f29baaf45fae085a705f0 SHA512 d8101ba2c3a2bdec655f0fcea95a3cb33aee90c9471f6cd31f465c3716cb3f6d9027b7ec0c1c7cd277f8b43cbc0fd69d2e164fa33b112bba94d4d3245caafb3c WHIRLPOOL fb6f53a3c44ac6595b17aa8d391847044609056e550790e54adddd0290a8cb2834db4dd8c59e332a8be44c678a9f652bd33e00b9e9b8c7d3f49967e4ae69f805
|
||||
|
||||
71
dev-java/boot-bin/boot-bin-2.7.1.ebuild
Normal file
71
dev-java/boot-bin/boot-bin-2.7.1.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user