From: | "Krzysztof Pawlik (nelchael)" <nelchael@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-java/validation-api: metadata.xml ChangeLog validation-api-1.0.0.ebuild |
Date: | Thu, 19 Aug 2010 17:11:41 |
Message-Id: | 20100819171138.12F7F2004B@flycatcher.gentoo.org |
1 | nelchael 10/08/19 17:11:38 |
2 | |
3 | Added: metadata.xml ChangeLog validation-api-1.0.0.ebuild |
4 | Log: |
5 | Initial version of Beans Validation API - JSR-303. |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-java/validation-api/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/validation-api/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/validation-api/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>java</herd> |
20 | <maintainer> |
21 | <email>nelchael@g.o</email> |
22 | </maintainer> |
23 | </pkgmetadata> |
24 | |
25 | |
26 | |
27 | 1.1 dev-java/validation-api/ChangeLog |
28 | |
29 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/validation-api/ChangeLog?rev=1.1&view=markup |
30 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/validation-api/ChangeLog?rev=1.1&content-type=text/plain |
31 | |
32 | Index: ChangeLog |
33 | =================================================================== |
34 | # ChangeLog for dev-java/validation-api |
35 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
36 | # $Header: /var/cvsroot/gentoo-x86/dev-java/validation-api/ChangeLog,v 1.1 2010/08/19 17:11:37 nelchael Exp $ |
37 | |
38 | *validation-api-1.0.0 (19 Aug 2010) |
39 | |
40 | 19 Aug 2010; Krzysztof Pawlik <nelchael@g.o> |
41 | +validation-api-1.0.0.ebuild, +files/build.xml, +metadata.xml: |
42 | Initial version of Beans Validation API - JSR-303. |
43 | |
44 | |
45 | |
46 | |
47 | 1.1 dev-java/validation-api/validation-api-1.0.0.ebuild |
48 | |
49 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/validation-api/validation-api-1.0.0.ebuild?rev=1.1&view=markup |
50 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/validation-api/validation-api-1.0.0.ebuild?rev=1.1&content-type=text/plain |
51 | |
52 | Index: validation-api-1.0.0.ebuild |
53 | =================================================================== |
54 | # Copyright 1999-2010 Gentoo Foundation |
55 | # Distributed under the terms of the GNU General Public License v2 |
56 | # $Header: /var/cvsroot/gentoo-x86/dev-java/validation-api/validation-api-1.0.0.ebuild,v 1.1 2010/08/19 17:11:37 nelchael Exp $ |
57 | |
58 | EAPI=3 |
59 | |
60 | JAVA_PKG_IUSE="doc source" |
61 | |
62 | inherit java-pkg-2 java-ant-2 |
63 | |
64 | DESCRIPTION="Bean Validation (JSR-303) API" |
65 | HOMEPAGE="http://fisheye.jboss.org/browse/Hibernate/beanvalidation/api/tags/v1_0_0_GA" |
66 | SRC_URI="https://repository.jboss.org/nexus/service/local/repo_groups/public/content/javax/validation/${PN}/${PV}.GA/${P}.GA-sources.jar" |
67 | |
68 | LICENSE="Apache-2.0" |
69 | SLOT="1.0" |
70 | KEYWORDS="~amd64 ~x86" |
71 | |
72 | IUSE="" |
73 | |
74 | RDEPEND=">=virtual/jre-1.5" |
75 | DEPEND=">=virtual/jdk-1.5 |
76 | app-arch/unzip" |
77 | |
78 | EANT_BUILD_TARGET="jar" |
79 | EANT_DOC_TARGET="doc" |
80 | |
81 | S="${WORKDIR}/${PN}" |
82 | |
83 | src_unpack() { |
84 | mkdir -p "${S}/src" |
85 | cd "${S}/src" |
86 | unpack ${A} |
87 | cp "${FILESDIR}/build.xml" "${S}/" |
88 | } |
89 | |
90 | src_install() { |
91 | java-pkg_dojar "${PN}.jar" |
92 | use doc && java-pkg_dojavadoc "${S}/api" |
93 | use source && java-pkg_dosrc "${S}/src/javax" |
94 | } |