1 |
tommy 12/06/01 21:28:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: commons-compress-1.4.1.ebuild |
5 |
Log: |
6 |
Version bump for bug 417909 |
7 |
|
8 |
(Portage version: 2.2.0_alpha108-r1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 dev-java/commons-compress/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-compress/ChangeLog?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-compress/ChangeLog?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-compress/ChangeLog?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/commons-compress/ChangeLog,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- ChangeLog 24 Mar 2012 17:23:46 -0000 1.5 |
24 |
+++ ChangeLog 1 Jun 2012 21:28:09 -0000 1.6 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-java/commons-compress |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-compress/ChangeLog,v 1.5 2012/03/24 17:23:46 phajdan.jr Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-compress/ChangeLog,v 1.6 2012/06/01 21:28:09 tommy Exp $ |
30 |
+ |
31 |
+*commons-compress-1.4.1 (01 Jun 2012) |
32 |
+ |
33 |
+ 01 Jun 2012; Thomas Sachau (Tommy[D]) <tommy@g.o> |
34 |
+ +commons-compress-1.4.1.ebuild: |
35 |
+ Version bump for bug 417909 |
36 |
|
37 |
24 Mar 2012; Pawel Hajdan jr <phajdan.jr@g.o> |
38 |
commons-compress-1.3.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-java/commons-compress/commons-compress-1.4.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-compress/commons-compress-1.4.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-compress/commons-compress-1.4.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: commons-compress-1.4.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-compress/commons-compress-1.4.1.ebuild,v 1.1 2012/06/01 21:28:09 tommy Exp $ |
52 |
|
53 |
EAPI="4" |
54 |
|
55 |
JAVA_PKG_IUSE="doc source test" |
56 |
|
57 |
inherit java-pkg-2 java-ant-2 |
58 |
|
59 |
DESCRIPTION="Commons Compress defines an API for working with ar, cpio, tar, zip, gzip and bzip2 files." |
60 |
|
61 |
LICENSE="Apache-2.0" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="" |
65 |
|
66 |
COMMON_DEPEND="dev-java/xz-java" |
67 |
|
68 |
RDEPEND=">=virtual/jre-1.5 |
69 |
${COMMON_DEPEND}" |
70 |
DEPEND=">=virtual/jdk-1.5 |
71 |
${COMMON_DEPEND} |
72 |
test? ( dev-java/junit:4 |
73 |
dev-java/hamcrest-core |
74 |
dev-java/ant-junit:0 )" |
75 |
|
76 |
S="${WORKDIR}/${P}-src" |
77 |
|
78 |
JAVA_ANT_BSFIX_EXTRA_ARGS="--maven-cleaning" |
79 |
EANT_GENTOO_CLASSPATH="xz-java" |
80 |
EANT_BUILD_TARGET="compile package" |
81 |
EANT_TEST_GENTOO_CLASSPATH="junit-4 hamcrest-core xz-java" |
82 |
|
83 |
java_prepare() { |
84 |
cp "${FILESDIR}"/build.xml . || die "Failed to copy build.xml" |
85 |
|
86 |
# osgi stuff mvn ant:ant doesn't handle |
87 |
mkdir -p target/osgi || die "Failed to create target dir" |
88 |
cp "${FILESDIR}"/MANIFEST.MF target/osgi/ || die "Failed to copy manifest" |
89 |
|
90 |
if ! use test; then |
91 |
find -name "*.jar" -delete || die "Failed to remove test resources" |
92 |
fi |
93 |
} |
94 |
|
95 |
src_test() { |
96 |
EANT_TEST_TARGET="compile-tests test" |
97 |
java-pkg-2_src_test |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
java-pkg_newjar target/${PN}-1.1.jar |
102 |
use doc && java-pkg_dojavadoc target/site/apidocs |
103 |
use source && java-pkg_dosrc src/main/java/* |
104 |
} |