diff options
Diffstat (limited to 'dev-java/spring-expression')
-rw-r--r-- | dev-java/spring-expression/Manifest | 4 | ||||
-rw-r--r-- | dev-java/spring-expression/metadata.xml | 18 | ||||
-rw-r--r-- | dev-java/spring-expression/spring-expression-3.2.4.ebuild | 60 |
3 files changed, 82 insertions, 0 deletions
diff --git a/dev-java/spring-expression/Manifest b/dev-java/spring-expression/Manifest new file mode 100644 index 000000000000..2689c7eb9e06 --- /dev/null +++ b/dev-java/spring-expression/Manifest @@ -0,0 +1,4 @@ +DIST spring-framework-3.2.4-buildscripts.tar.bz2 2894 BLAKE2B da3bc9130a054c874303fa10d796566cc1a7a043adce0aa15fdcf67b4bb529a97af9611357f3a8c2e192b0bf89fa0e2877416d19a1a742891de74d2b7acac1a2 SHA512 003551ffd37501c8b8dceba7ca484709cdf05f96c893d35c33161288770d72f70c092917f79216aa71742e045cb71ddcb17e6b58a2221fe2c153a70e5e0346b9 +DIST spring-framework-3.2.4.tar.gz 8925304 BLAKE2B ecc8b52f8dad35f7118f1231355f71a2f1e89afe4d1105afe3878e9f9150f519eae6660403856af09b79f178870bfa99657f3502389d2192f6c9860f6e6e35b6 SHA512 6a8fe58213f105deaa982b188e7b49a5bd9e0cf32917c568423509fed6b7c708cb5ca42ee7b3818327d673e59e7af7c67c13707e8a635329540b2febddda0f1b +EBUILD spring-expression-3.2.4.ebuild 1420 BLAKE2B 86b8cce1581ff349c10588ea74c2227a6a2f1eadffc1ffbeebe5a6270a53760ac9275101f14885023e2d6fdfe3b1b0e6a41bbdde642a131ad87b0e9bec5922e4 SHA512 43f276f57f682098f787f93ed2967574a2ae6fda6b2981cdad9242e521f47da6de949a15c184624031cfc42e1842a9162b90ce7141c8b9bedd6e0cac71b8bbda +MISC metadata.xml 805 BLAKE2B 2c05c3f6f6f5a67e33ef1ca66d02b9a8c99671fc12a6adf04ebfdaa945362ae5e9ef19baae4400c944e637db0567190c3606ee54aba5c3d51529afc38f126304 SHA512 76da7349ca93ef13fb154f1531a175e9dba0536614191d9f801c157bdfdbce407eb06a7677224468dc7a19868010604bafd8db2b1348f1fce16b0bd2dd414005 diff --git a/dev-java/spring-expression/metadata.xml b/dev-java/spring-expression/metadata.xml new file mode 100644 index 000000000000..73672eec8b78 --- /dev/null +++ b/dev-java/spring-expression/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription> + The Spring Framework provides a comprehensive programming and configuration model for + modern Java-based enterprise applications - on any kind of deployment platform. A key + element of Spring is infrastructural support at the application level: Spring focuses + on the "plumbing" of enterprise applications so that teams can focus on application-level + business logic, without unnecessary ties to specific deployment environments. + </longdescription> + <upstream> + <remote-id type="github">SpringSource/spring-framework</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/spring-expression/spring-expression-3.2.4.ebuild b/dev-java/spring-expression/spring-expression-3.2.4.ebuild new file mode 100644 index 000000000000..28c4fb285110 --- /dev/null +++ b/dev-java/spring-expression/spring-expression-3.2.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A comprehensive programming and configuration model for enterprise applications" +HOMEPAGE="http://www.springsource.org/spring-framework" +SRC_URI="https://github.com/SpringSource/spring-framework/archive/v${PV}.RELEASE.tar.gz -> spring-framework-${PV}.tar.gz + https://dev.gentoo.org/~ercpe/distfiles/dev-java/spring-framework/spring-framework-${PV}-buildscripts.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="3.2" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +CDEPEND="dev-java/spring-core:${SLOT}" + +DEPEND=">=virtual/jdk-1.7 + test? ( + dev-java/hamcrest-core:1.3 + dev-java/hamcrest-library:1.3 + dev-java/junit:4 + dev-java/mockito:0 + dev-java/ant-junit4:0 + dev-java/xmlunit:1 + ) + ${CDEPEND}" + +RDEPEND=">=virtual/jre-1.7 + ${CDEPEND}" + +S="${WORKDIR}/spring-framework-${PV}.RELEASE/" + +EANT_BUILD_XML=${S}/${PN}/build.xml +JAVA_ANT_REWRITE_CLASSPATH="true" + +EANT_GENTOO_CLASSPATH="spring-core-${SLOT}" + +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH} + hamcrest-library-1.3 + hamcrest-core-1.3 + junit-4 + mockito + xmlunit-1" + +src_install() { + java-pkg_dojar "${S}"/${PN}/dist/${PN}.jar + + use source && java-pkg_dosrc "${S}"/${PN}/src/main/java/org/ + use doc && java-pkg_dojavadoc "${S}"/${PN}/dist/apidocs/ +} + +src_test() { + java-pkg-2_src_test +} |