diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2019-05-14 19:20:01 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2019-05-14 19:20:01 +0200 |
commit | af64fba0597fcaa6e000e4e08d6d519ceff6fa6a (patch) | |
tree | 81b19bed4983a8b8a76dc6ba7763d06f0b82b387 /dev-java/maven-bin | |
parent | x11-wm/i3-gaps: Remove 4.15.0.1 (diff) | |
download | gentoo-af64fba0597fcaa6e000e4e08d6d519ceff6fa6a.tar.gz gentoo-af64fba0597fcaa6e000e4e08d6d519ceff6fa6a.tar.bz2 gentoo-af64fba0597fcaa6e000e4e08d6d519ceff6fa6a.zip |
dev-java/maven-bin-3.6.1: bump
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/maven-bin')
-rw-r--r-- | dev-java/maven-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-3.6.1.ebuild | 109 |
2 files changed, 110 insertions, 0 deletions
diff --git a/dev-java/maven-bin/Manifest b/dev-java/maven-bin/Manifest index b5c682866c25..5606ad7cac37 100644 --- a/dev-java/maven-bin/Manifest +++ b/dev-java/maven-bin/Manifest @@ -7,4 +7,5 @@ DIST apache-maven-3.2.5-bin.tar.gz 7956528 BLAKE2B 41313c35859946c8387b0e58f4a25 DIST apache-maven-3.3.3-bin.tar.gz 8042383 BLAKE2B 2d1826e85ee558e8672ac541237248b32db1577c76eecf9ac3d08d79e157c9c7a4fa7d892a7bc0bc25d2751f9713a72959198fb6ccd68907bda7f841068b6a63 SHA512 ca64847b7980f5c406f15d433f86a77dc81aa9676baf09122061c72b3ec5790bc664896c37e0571bb2a0bfb48a1d67b0bff1c67d73d796252a132dd46724ccd5 DIST apache-maven-3.3.9-bin.tar.gz 8491533 BLAKE2B c6947c379dd2d64fe28eeab52da443d771c276553d40f70cced2637df17b18c95108932cbb88d4b747f6a8c0a47150849360ffa9095f6ce50724abeaa2369152 SHA512 9b4b22aba67af48648c634e30edbb03de2a7742b7d4e58b3d637fcd20358a51ccb288dcbd473169a58b9322f7c8fbedcf5336b87d06460d0b20ce37d4c3948b0 DIST apache-maven-3.6.0-bin.tar.gz 9063587 BLAKE2B c5acab74168061ef8216cf6d085c25ce3e1eb941724bf0d4bbbe1a69a2da3c255c8233233a5bef800469b7363fa34ca1c4a4717c3f18b8eb2828fdd5d5762bcb SHA512 fae9c12b570c3ba18116a4e26ea524b29f7279c17cbaadc3326ca72927368924d9131d11b9e851b8dc9162228b6fdea955446be41207a5cfc61283dd8a561d2f +DIST apache-maven-3.6.1-bin.tar.gz 9136463 BLAKE2B d630ceeb1c35f742eae324a025c3385fac0b7aa58e0bd3fe239a2027138127604a076958e5f6db6bba4f1e99bc524f0c62643bc4ab4d570378e93e8f72c234c0 SHA512 b4880fb7a3d81edd190a029440cdf17f308621af68475a4fe976296e71ff4a4b546dd6d8a58aaafba334d309cc11e638c52808a4b0e818fc0fd544226d952544 DIST maven-1.1.tar.gz 7625074 BLAKE2B b96b5b5c74fdccba8914772fe2ba789751b85170d78afb3fb75c151d56d757be10a1f8706d9593a4ff4459a1e7d8b31801eef07cf2514e1992ba1c99c4d0a7e8 SHA512 d08e6f4f7568caec718e82d1106ab01a63855061b5ff65134cdb25ba0a4eee875472bceaccffc1425bd0e57918f69f4e48ad2dd0098f2995ba55ad61c64424a0 diff --git a/dev-java/maven-bin/maven-bin-3.6.1.ebuild b/dev-java/maven-bin/maven-bin-3.6.1.ebuild new file mode 100644 index 000000000000..4a6edff4651e --- /dev/null +++ b/dev-java/maven-bin/maven-bin-3.6.1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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.6" +KEYWORDS="~amd64 ~x86" + +# TODO: Needs further resolution: +# +# - https://bugs.gentoo.org/show_bug.cgi?id=472850 +# - https://bugs.gentoo.org/show_bug.cgi?id=477436 +# +CDEPEND=" + dev-java/juel:0 + dev-java/log4j:0 + dev-java/jsoup:0 + dev-java/jsr250:0 + dev-java/commons-io:1 + dev-java/aopalliance:1 + dev-java/commons-cli:1 + dev-java/javax-inject:0 + dev-java/osgi-core-api:0 + dev-java/commons-logging:0 + java-virtuals/interceptor-api:0 + java-virtuals/servlet-api:3.0" + +DEPEND=" + ${CDEPEND} + app-eselect/eselect-java + || ( dev-java/commons-logging:0 dev-java/log4j:0 ) + >=virtual/jdk-1.7" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.7" + +S="${WORKDIR}/${MY_P}" + +MAVEN="${PN}-${SLOT}" +MAVEN_SHARE="/usr/share/${MAVEN}" + +MAVEN_DEPENDENCIES=( + juel + jsoup + log4j + jsr250 + javax-inject + commons-io-1 + osgi-core-api + aopalliance-1 + commons-cli-1 + commons-logging + interceptor-api + servlet-api-3.0 +) + +java_prepare() { + rm -v bin/*.cmd lib/{aopalliance,commons-cli,javax.inject,jsr250}-*.jar || die + + chmod 644 boot/*.jar lib/*.jar conf/settings.xml || die + + # Symlink jars. + cd lib || die + + # Link deps. + for mvn_dep in "${MAVEN_DEPENDENCIES[@]}"; do + java-pkg_jar-from "${mvn_dep}" + done +} + +# 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 +} |