diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-05-17 21:04:27 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-05-17 21:07:46 +0200 |
commit | f0fbb9743bd17f4b61d02d0d6e9bb7d91c980b95 (patch) | |
tree | 717300ad4a2ba135fdc96513e98d02fa13de48c4 /dev-java | |
parent | dev-java/eclipsito: treeclean (diff) | |
download | gentoo-f0fbb9743bd17f4b61d02d0d6e9bb7d91c980b95.tar.gz gentoo-f0fbb9743bd17f4b61d02d0d6e9bb7d91c980b95.tar.bz2 gentoo-f0fbb9743bd17f4b61d02d0d6e9bb7d91c980b95.zip |
dev-java/boot-bin: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/boot-bin/Manifest | 3 | ||||
-rw-r--r-- | dev-java/boot-bin/boot-bin-2.8.3.ebuild | 75 | ||||
-rw-r--r-- | dev-java/boot-bin/files/boot | 7 | ||||
-rw-r--r-- | dev-java/boot-bin/metadata.xml | 10 |
4 files changed, 0 insertions, 95 deletions
diff --git a/dev-java/boot-bin/Manifest b/dev-java/boot-bin/Manifest deleted file mode 100644 index 4f03eb0f1ccb..000000000000 --- a/dev-java/boot-bin/Manifest +++ /dev/null @@ -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 diff --git a/dev-java/boot-bin/boot-bin-2.8.3.ebuild b/dev-java/boot-bin/boot-bin-2.8.3.ebuild deleted file mode 100644 index 58fcb200f386..000000000000 --- a/dev-java/boot-bin/boot-bin-2.8.3.ebuild +++ /dev/null @@ -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" -} diff --git a/dev-java/boot-bin/files/boot b/dev-java/boot-bin/files/boot deleted file mode 100644 index 8d53ebd338a8..000000000000 --- a/dev-java/boot-bin/files/boot +++ /dev/null @@ -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" "$@" - diff --git a/dev-java/boot-bin/metadata.xml b/dev-java/boot-bin/metadata.xml deleted file mode 100644 index a09f5177d45a..000000000000 --- a/dev-java/boot-bin/metadata.xml +++ /dev/null @@ -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> |