Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/txw2-runtime/, dev-java/txw2-runtime/files/
Date: Tue, 29 Sep 2015 08:15:35
Message-Id: 1443513755.be4e0d36c7c2ef7ceeac4649f593a8ff7de00122.monsieurp@gentoo
1 commit: be4e0d36c7c2ef7ceeac4649f593a8ff7de00122
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 29 08:02:01 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 29 08:02:35 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be4e0d36
7
8 dev-java/txw2-runtime: Clean up old.
9
10 Package-Manager: portage-2.2.18
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-java/txw2-runtime/Manifest | 1 -
14 dev-java/txw2-runtime/files/build.xml-20070407 | 30 ------------
15 .../txw2-runtime/txw2-runtime-20070407-r2.ebuild | 56 ----------------------
16 3 files changed, 87 deletions(-)
17
18 diff --git a/dev-java/txw2-runtime/Manifest b/dev-java/txw2-runtime/Manifest
19 index 204ce9f..9267a82 100644
20 --- a/dev-java/txw2-runtime/Manifest
21 +++ b/dev-java/txw2-runtime/Manifest
22 @@ -1,2 +1 @@
23 -DIST txw2-20070407.zip 1183977 SHA256 e90e7385f42be3a379547e497093e0c5ffd1033e18056ca4df69eb8cdc2108ed SHA512 60c4ea2110e09f4cecd348ef5cb2f75f872479b058870a8ab45eb03578c1cd2efb4db5e028a8090f9c1f46c6fc30985dfb9faa3682055c49c2accb6aa4010081 WHIRLPOOL 8cc5b787394d6f28a9ae1614ee07960e9eb1175ea96c883fef65eae9590d6bd3090b8b106a66f6d3b3b311585a349f5aeb5b758157138efb2bae76d35d573cb3
24 DIST txw2-20110809-sources.jar 96939 SHA256 39b43336285320e0d62757820c4d3294efbe1b9ed935743dd461fbf6ac55faef SHA512 1f0779b0c0f38a0a71f495a6167876fa7df1de7a38343717edcc50d54df45c98c47eeed30c692de68e9c9a7f217cde463288e73a6d274f732578550220c27fc8 WHIRLPOOL ec72494dfbd213a884ef4e2d864e449fb2380dd631507510bc829915a826b467180ba921a79ce9800015ac47717676baa095e1e3f2dadff48858d07c147f9816
25
26 diff --git a/dev-java/txw2-runtime/files/build.xml-20070407 b/dev-java/txw2-runtime/files/build.xml-20070407
27 deleted file mode 100644
28 index 3e1cbaa..0000000
29 --- a/dev-java/txw2-runtime/files/build.xml-20070407
30 +++ /dev/null
31 @@ -1,30 +0,0 @@
32 -<?xml version="1.0"?>
33 -<project name="txw2" basedir=".">
34 - <target name="compiler-compile" depends="runtime-jar">
35 - <mkdir dir="build-compiler"/>
36 - <javac debug="false" srcdir="compiler" destdir="build-compiler">
37 - <classpath>
38 - <fileset dir="lib" includes="**/*.jar"/>
39 - <fileset dir="." includes="txwc2.jar"/>
40 - </classpath>
41 - </javac>
42 - </target>
43 - <target name="runtime-compile">
44 - <mkdir dir="build-runtime"/>
45 - <javac debug="false" srcdir="runtime" destdir="build-runtime">
46 - <classpath>
47 - <fileset dir="lib" includes="**/*.jar"/>
48 - </classpath>
49 - </javac>
50 - </target>
51 - <target name="compiler-jar" depends="compiler-compile">
52 - <jar destfile="txwc2.jar">
53 - <fileset dir="build-compiler" includes="**/*.class"/>
54 - </jar>
55 - </target>
56 - <target name="runtime-jar" depends="runtime-compile">
57 - <jar destfile="txw2.jar">
58 - <fileset dir="build-runtime" includes="**/*.class"/>
59 - </jar>
60 - </target>
61 -</project>
62
63 diff --git a/dev-java/txw2-runtime/txw2-runtime-20070407-r2.ebuild b/dev-java/txw2-runtime/txw2-runtime-20070407-r2.ebuild
64 deleted file mode 100644
65 index 53df77f..0000000
66 --- a/dev-java/txw2-runtime/txw2-runtime-20070407-r2.ebuild
67 +++ /dev/null
68 @@ -1,56 +0,0 @@
69 -# Copyright 1999-2014 Gentoo Foundation
70 -# Distributed under the terms of the GNU General Public License v2
71 -# $Id$
72 -
73 -JAVA_PKG_IUSE="doc source"
74 -
75 -inherit eutils java-pkg-2 java-ant-2
76 -
77 -DESCRIPTION="TXW is a library that allows you to write XML documents"
78 -HOMEPAGE="https://txw.dev.java.net/"
79 -SRC_URI="https://txw.dev.java.net/files/documents/3310/54821/txw2-${PV}.zip"
80 -
81 -LICENSE="CDDL"
82 -SLOT="0"
83 -KEYWORDS="amd64 ppc x86 ~x86-fbsd"
84 -IUSE=""
85 -
86 -COMMON_DEP="java-virtuals/stax-api"
87 -
88 -DEPEND=">=virtual/jdk-1.5
89 - app-arch/unzip
90 - ${COMMON_DEP}"
91 -RDEPEND=">=virtual/jre-1.5
92 - ${COMMON_DEP}"
93 -
94 -S="${WORKDIR}/txw2-${PV}"
95 -
96 -src_unpack() {
97 -
98 - unpack ${A}
99 -
100 - cd "${S}"
101 - rm -v *.jar || die
102 - cd "${S}/lib"
103 - rm -v *.jar || die
104 -
105 - java-pkg_jarfrom --build-only ant-core
106 - java-pkg_jarfrom --virtual stax-api
107 -
108 - cd "${S}"
109 - unzip -qq txw2-src.zip -d runtime || die unzip failed
110 - unzip -qq txw2c-src.zip -d compiler || die unzip failed
111 -
112 - cp -i "${FILESDIR}/build.xml-20070407" "${S}/build.xml" || die cp failed
113 -
114 -}
115 -
116 -EANT_BUILD_TARGET="runtime-jar"
117 -EANT_DOC_TARGET=""
118 -
119 -src_install() {
120 - java-pkg_newjar txw2.jar
121 -
122 - use doc && java-pkg_dojavadoc javadoc
123 - use source && java-pkg_dosrc runtime/*
124 -}