diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /dev-java/maven-bin | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'dev-java/maven-bin')
-rw-r--r-- | dev-java/maven-bin/Manifest | 2 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-3.5.0.ebuild | 109 |
2 files changed, 111 insertions, 0 deletions
diff --git a/dev-java/maven-bin/Manifest b/dev-java/maven-bin/Manifest index 761bea0eaccd..9496095e3bbc 100644 --- a/dev-java/maven-bin/Manifest +++ b/dev-java/maven-bin/Manifest @@ -6,6 +6,7 @@ DIST apache-maven-3.1.1-bin.tar.gz 5494427 BLAKE2B 39b8b29a4747562d96231f575ff5c DIST apache-maven-3.2.5-bin.tar.gz 7956528 BLAKE2B 41313c35859946c8387b0e58f4a25b38d97d48065deb1db9ddbb576417beef1c3391e0a06526c51878f0a7e451b949f8f8ebc001611429b68332dcef24b594ee SHA512 0cdbf4c1e045ac7f96c176058f19ebb838bd46caadc4fb479e11eda67efbb66218fe67c370ddec6d2e4d91091ac9e81ff9eea8d64174cbe1e6d5f7e15962cfc5 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.5.0-bin.tar.gz 8534562 BLAKE2B 200f7c012e2704c9057d4987a295b0fa9a5787d59707415259445952ae05963a7d333e6fc2eae88689161181077d2b9a9b2398b5baacc6527e76ed83d6068198 SHA512 d5a520ca8765ddbc86dca71249c602e2f798dedcc7430bc4979dd01918464c8dc69b694ec0dbbeeff6044179e1b98fce72af952663dd49503203d9742e328f3b DIST maven-1.1.tar.gz 7625074 BLAKE2B b96b5b5c74fdccba8914772fe2ba789751b85170d78afb3fb75c151d56d757be10a1f8706d9593a4ff4459a1e7d8b31801eef07cf2514e1992ba1c99c4d0a7e8 SHA512 d08e6f4f7568caec718e82d1106ab01a63855061b5ff65134cdb25ba0a4eee875472bceaccffc1425bd0e57918f69f4e48ad2dd0098f2995ba55ad61c64424a0 EBUILD maven-bin-1.1-r3.ebuild 943 BLAKE2B 184f9d88036feecc7cf657e8bd792c126d2a5bebdc232a62c80ae845df5b9800cec324e07d543fad664add754fdc611c5b45b37eaae40ffc29767bfd5d63c2d0 SHA512 cfde3cb81d60eca2ff500228baf7aa5aaffbaa333d8364f05143811aee48b263dc3df8f5f2764bd486f04271f916e52250b7ec019fa80792527a4ca2c591e110 EBUILD maven-bin-2.0.11-r2.ebuild 1198 BLAKE2B 7077d0a91ecffc1f5fb6e018d11a4bc0f17b477d39a46e14a4017e0cbfa9ce8136a4fb8b54d89371aa317083b7aa3374b69fedc045e935c9e1bfb53209b86002 SHA512 87e71fab63238961ab03f2509c1b1a7f19e5d027072d1c48c8e4a0b726a15e5e502e1f5afbe19fb95a2159c48ce88e742f8266bbf154ddaebdeeb4cb82379433 @@ -15,4 +16,5 @@ EBUILD maven-bin-3.1.1.ebuild 2276 BLAKE2B 460b49a29f7aa9f07b672a2751b3a5df3ec6f EBUILD maven-bin-3.2.5.ebuild 2283 BLAKE2B 5d3292e5f0f2a50e0bb3fe71150d0853947af536432d6b7c6e159fd2cd16a387ee8aa0c3682ca4fc65211f1a32d8d246a901487c9445036285c57fa3397edbd8 SHA512 2a8e8145a454c2f88cf4d48c9cfc2a2cd7689f38f3ce53ffb6d579523aed92d04fe1c3368d8da1035c9ccff8c77142db25dd8fdb6a0d5a9682daf733bd6da71e EBUILD maven-bin-3.3.3-r1.ebuild 2220 BLAKE2B a781e334df1a9afd6b0ed76e0c67f29d20777384e7f99d54aea6c140669cdef3e060e3cac6925f7c77eabf5580296416984b21cf479d093f038e5276d09d99a3 SHA512 188beb36be65bc2699fee7ed75407399ecd66e13791242cb12de9a1c18a0c8a233018f5e86d779e597d6a7f7c0e7001a726b437a65c1e51bfba69af57a188683 EBUILD maven-bin-3.3.9.ebuild 2222 BLAKE2B fe852cdf3e64577d3565cef67ac1be99e9d9a435dbae7609b46b53f18c0198da4da1f45bb5c55a9973eeb3d0656eee2cfe6fc52efe2dfa196c1142f2d2b7d165 SHA512 5ed211c1017f9079251f7888c9920d3bf37fe2d9be680f0d7dbc142da340da6467b328d3972c6d69cf26eb57f2e80d084f25344e02174953aa886f76b6a3a8ef +EBUILD maven-bin-3.5.0.ebuild 2218 BLAKE2B b90dedfd02d216769a20524a4821f7d9c446e82213d4062415ef20ed4c7766efd0d63fce321b7878eaf2c4bc9948b2312c243b1ec445556402e983749dad44bf SHA512 2a218150d72a2f6bee6f9161ade9a6c6d836831cd01c2d7730ca7a899e396d447edf1e3dfa90ce9f6bf0452cbab66b3cc2a722d2ea0330e1999abfe1f30c3ac1 MISC metadata.xml 610 BLAKE2B 84180dd51fc9e6b9089111a4f79aae2f2e8339a50b3db00cebb103714e7bb87c99a7fbfbd2401a5646f044b6d78cf370b1a1af7e524be91b7065176cf6b8673f SHA512 e761707a3985b90298ab8511d26458c9c04c7c1750b861f2c866862db07345d645953559b6ca8c1cdcd75c4aae1e84a7646eb376c32f0fe87427d4938d44a083 diff --git a/dev-java/maven-bin/maven-bin-3.5.0.ebuild b/dev-java/maven-bin/maven-bin-3.5.0.ebuild new file mode 100644 index 000000000000..034526da0521 --- /dev/null +++ b/dev-java/maven-bin/maven-bin-3.5.0.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2018 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.5" +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 +} |