Diff cdi-api-1.2 with a cdi-api-1.2-r1

/usr/portage/dev-java/cdi-api/cdi-api-1.2-r1.ebuild 2017-02-28 22:50:00.000000000 +0300
1
# Copyright 1999-2015 Gentoo Foundation
1
# Copyright 1999-2016 Gentoo Foundation
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=5
5

  
5 6
JAVA_PKG_IUSE="doc source"
6 7

  
7
inherit eutils java-pkg-2 java-pkg-simple
8
inherit java-pkg-2 java-pkg-simple
8 9

  
9 10
DESCRIPTION="Contexts and Dependency Injection for the Java EE platform"
10 11
HOMEPAGE="http://www.cdi-spec.org/"
11
SRC_URI="https://repo1.maven.org/maven2/javax/enterprise/${PN}/${PV}/${P}-sources.jar"
12
SRC_URI="https://repo1.maven.org/maven2/javax/enterprise/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
12 13

  
13 14
LICENSE="Apache-2.0"
14
SLOT="1.2"
15
KEYWORDS="amd64 x86"
15
SLOT="0"
16
KEYWORDS="~amd64 ~x86"
16 17

  
17 18
IUSE=""
18 19

  
19
CDEPEND="dev-java/javax-inject:0
20
	dev-java/glassfish-interceptor-api:0
21
	dev-java/tomcat-servlet-api:3.0"
22

  
23
RDEPEND=">=virtual/jre-1.6
24
	${CDEPEND}"
25
DEPEND=">=virtual/jdk-1.6
26
	app-arch/unzip
27
	${CDEPEND}"
20
CDEPEND="
21
	dev-java/javax-inject:0
22
	dev-java/tomcat-servlet-api:3.0
23
	dev-java/glassfish-interceptor-api:0"
24

  
25
RDEPEND="
26
	${CDEPEND}
27
	>=virtual/jre-1.6"
28 28

  
29
JAVA_SRC_DIR="src"
29
DEPEND="
30
	${CDEPEND}
31
	app-arch/unzip
32
	>=virtual/jdk-1.6"
30 33

  
31 34
JAVA_GENTOO_CLASSPATH="javax-inject,tomcat-servlet-api-3.0,glassfish-interceptor-api"
32 35

  
33
java_prepare() {
34
	mkdir src || die
35
	mv * src
36
JAVA_SRC_DIR="javax"
37

  
38
src_compile() {
39
	java-pkg-simple_src_compile
40
	java-pkg_addres "${PN}.jar" . -name "*.xsd"
36 41
}
Thank you!