From ea5bad4d0ba1eb937df22adb7f6cc57ea77f03d8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 31 Dec 2022 14:19:51 +0000 Subject: gentoo auto-resync : 31:12:2022 - 14:19:51 --- dev-java/maven-bin/Manifest | 2 + dev-java/maven-bin/maven-bin-3.8.7.ebuild | 64 +++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 dev-java/maven-bin/maven-bin-3.8.7.ebuild (limited to 'dev-java/maven-bin') diff --git a/dev-java/maven-bin/Manifest b/dev-java/maven-bin/Manifest index 9a79092f9703..2cfe096c1939 100644 --- a/dev-java/maven-bin/Manifest +++ b/dev-java/maven-bin/Manifest @@ -1,3 +1,5 @@ DIST apache-maven-3.8.6-bin.tar.gz 8676320 BLAKE2B 7ad7695aaed86b478044dd0ce59d359c8eb3644ddf0bc3ea501a9eb5c373e2bdacbe8cdf8c85edab930d84d446ff1cb25975281bb7c9cb517a005accba9e413d SHA512 f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26 +DIST apache-maven-3.8.7-bin.tar.gz 8293440 BLAKE2B 0a586cf0eb2a579d99bbe5736f294369b774ee4b041b37ecd4721eb3b988e274fd6d88bb34cc20a48c98c4f70c256dd74441c0f57119f90958af05e8c16f89c6 SHA512 21c2be0a180a326353e8f6d12289f74bc7cd53080305f05358936f3a1b6dd4d91203f4cc799e81761cf5c53c5bbe9dcc13bdb27ec8f57ecf21b2f9ceec3c8d27 EBUILD maven-bin-3.8.6.ebuild 1372 BLAKE2B 1297b0ab442c8498aa62588d80bf58d2891e0b1f6b798718708c7ce6971908f6a2953c0316f29b03bce194e24a3016b8ffd93a2c8e5b1d5b987c4ed74a21cb9a SHA512 9c3e9b68c8bfb0295167c3323681356edf205fd2dacd37e848b2e3818bae286cd64ff0e899fe47fe98440bfc8906c5db299c495ff11ebf65d7a2d46a7e011ea2 +EBUILD maven-bin-3.8.7.ebuild 1374 BLAKE2B 98a61887a2c0f42ac8ee469c065513352f975e73995195b4bbf9f3d2b16347c3d47a318ac15385185f59a1422779b0a10e2de6b3b6b1d9f022a611e562400df1 SHA512 5f0d18eb38bd06c294a330859fa72ac2f4678b9e32bf9ebc7f081f7743d9130b06428df1a9fcd1edba942900f2a25aaf316367e253893bb0be322a4a1f1a95e5 MISC metadata.xml 611 BLAKE2B 5ef6682d362deee6aff000f37dccd97c48e90e3071133a44d9f0ec2a5c6876fdd1a5f44b064eb6992a06cfda27c0c0e599e0bd0474997611aedce017febda203 SHA512 5ba3e55ea839b5e616f37321960021c58846089cb0b51982617f45946ba25747ac10eef70409f9848fbb8267fb2cc0c90c319fb66aeb52ffa5e0e1cd6d5840ff diff --git a/dev-java/maven-bin/maven-bin-3.8.7.ebuild b/dev-java/maven-bin/maven-bin-3.8.7.ebuild new file mode 100644 index 000000000000..8f533bbc4a50 --- /dev/null +++ b/dev-java/maven-bin/maven-bin-3.8.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 + +MY_PN=apache-${PN%%-bin} +MY_PV=${PV/_alpha/-alpha-} +MY_P="${MY_PN}-${MY_PV}" +MY_MV="${PV%%.*}" + +DESCRIPTION="Project Management and Comprehension Tool for Java" +SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz" +HOMEPAGE="https://maven.apache.org/" + +LICENSE="Apache-2.0" +SLOT="3.8" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=virtual/jdk-1.8:* + app-eselect/eselect-java" + +RDEPEND=" + >=virtual/jre-1.8:*" + +S="${WORKDIR}/${MY_P}" + +MAVEN="${PN}-${SLOT}" +MAVEN_SHARE="/usr/share/${MAVEN}" + +QA_FLAGS_IGNORED=( + "${MAVEN_SHARE}/lib/jansi-native/linux32/libjansi.so" + "${MAVEN_SHARE}/lib/jansi-native/linux64/libjansi.so" +) + +# TODO: +# We should use jars from packages, instead of what is bundled. +src_install() { + dodir "${MAVEN_SHARE}" + + cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy" + + java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar + java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar + + dodoc NOTICE README.txt + + dodir /usr/bin + dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} + + # See bug #342901. + echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die + doenvd "${T}/25${MAVEN}" +} + +pkg_postinst() { + eselect maven update mvn-${SLOT} +} + +pkg_postrm() { + eselect maven update +} -- cgit v1.2.3