mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/boot-bin: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
DIST boot-2.8.3-CHANGES.md 28286 BLAKE2B 56ce0ba83292d1b0a9b22b34e3ac89a4f203ff7b20b3a9a0ca092e4594cb8430574d04ff15ec50dc431f4a32ebbcbe2651010abc48c46a241fff5147d1449297 SHA512 cab01416dcbd642953fa32ae5d8255722f61860752a32e7a4a55f0d5730363e305c5549e63777e3e032f2d098864cfa16b62889c66fe9aa481778ad7a0249e80
|
||||
DIST boot-2.8.3-README.md 19164 BLAKE2B cb2d63e332d427cd235868f9b25aa5b7baaa41ebbf1447c029019e2d4aa872eed26e79c027f06b201e21e0a1522d42fed57bf5eae5de683baf4a62e2c10b739a SHA512 2557f8ae6893ae6f3c576e8325f11edac5e4e91c45e3864957784092e8154aaa30f1a5de8acb52bb90e7c3ad034f2e9703e4b5aac2d621cbd885e8bbb102cc04
|
||||
DIST boot-2.8.3.jar 20940394 BLAKE2B 398264e467dc14c7df49dd75e4197ebd755e1afdc6ae8877de30cd72d35c0bf56a83b64573ec3aa976ae63fcffe9c371b0789bc0f95e43bbb509ff19cc305ee9 SHA512 039c8ed3320871a1227240ad8d0aac07cbb41e65096d71b9547733c49f02febff6ac5ed15cda744c7fbc0ee4830908597f0c3c8288d4d059c603057db24bd1db
|
||||
@@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="https://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/jre-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"
|
||||
einfo ""
|
||||
einfo "You may also need to nuke ~/.boot/boot.properties to get the"
|
||||
einfo "updated mechanics, and for boot --version to behave correctly"
|
||||
einfo "due to upstreams per-user/per-project version-locking mechanisms"
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
source @@JAVA_PKG_SHAREPATH@@/package.env
|
||||
jarpath="@@JAVA_PKG_JARDEST@@/@@PN@@.jar"
|
||||
declare -a "options=($BOOT_JVM_OPTIONS)"
|
||||
self="${BASH_SOURCE[0]}"
|
||||
exec ${BOOT_JAVA_COMMAND:-java} "${options[@]}" -Dboot.app.path="$jarpath" -jar "$jarpath" "$@"
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">boot-clj/boot</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -315,10 +315,6 @@ dev-java/jempbox
|
||||
dev-java/microba
|
||||
dev-java/spin
|
||||
|
||||
# Volkmar W. Pogatzki <gentoo@pogatzki.net> (2022-04-17)
|
||||
# Unused java libraries. Removal in 30 days.
|
||||
dev-java/boot-bin
|
||||
|
||||
# David Seifert <soap@gentoo.org> (2022-04-17)
|
||||
# Dead library, part of >=sys-fs/e2fsprogs-1.46.5 now, bug #806875,
|
||||
# removal on 2022-05-17.
|
||||
|
||||
Reference in New Issue
Block a user