diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-03-14 21:01:19 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-03-14 21:04:40 +0000 |
commit | 57a36c4067198e2a3147260f6e58b8f0f2891f1a (patch) | |
tree | 69e82f769dc52893937690a764897f64d54700ba /app-text/trang | |
parent | app-text/trang: 20151127 stable on amd64 and x86 using ALLARCHES (diff) | |
download | gentoo-57a36c4067198e2a3147260f6e58b8f0f2891f1a.tar.gz gentoo-57a36c4067198e2a3147260f6e58b8f0f2891f1a.tar.bz2 gentoo-57a36c4067198e2a3147260f6e58b8f0f2891f1a.zip |
app-text/trang: Remove old
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-text/trang')
-rw-r--r-- | app-text/trang/Manifest | 1 | ||||
-rw-r--r-- | app-text/trang/files/build.xml | 68 | ||||
-rw-r--r-- | app-text/trang/trang-20091111.ebuild | 65 |
3 files changed, 0 insertions, 134 deletions
diff --git a/app-text/trang/Manifest b/app-text/trang/Manifest index 283515d83de1..03f46f41af4c 100644 --- a/app-text/trang/Manifest +++ b/app-text/trang/Manifest @@ -1,2 +1 @@ -DIST trang-20091111.zip 1079534 SHA256 d8a3f034f9918ebe5b265aafeadbee6729ddda5732cfc368e2c30b3b8c0ca598 SHA512 c19bf98613097d377ecce347dcab31b458b16d77c320b5d2a6106ff7b06b3aa3c7b87b4c78376b3d4f89be24ecb11fad622aadc0ba9d8d6be716486d7a1ebd7b WHIRLPOOL 6ed18632dfdb7c9661fcb6e1b3a02130ac877fdda3c4cc7779ec61510a7e67e68ab7315ab6f3e5cb8ed2a83447873579791c568f7706eaab29f5e2258fa5bc3b DIST trang-20151127.tar.gz 13746141 SHA256 86c810a42d974665d12db5213943cd72fcb6912d80b5a2853e083bc454ca6b75 SHA512 f5c6973791e8caa8dcce6bbf92cbd58491f55edd7819523947ad718ea3973eb81afc6b21d4e830949c2f183b485915dab98dbb5b90e01324677cfa41f5746e26 WHIRLPOOL c11781da0cf8d5deada8c59dcfbc13dffd78e045c97b4b27768d8772563b989e9c6434fa4be13ea3c53574ad59baf0eb3a150bc3d77edc7336315f6961fb0b6c diff --git a/app-text/trang/files/build.xml b/app-text/trang/files/build.xml deleted file mode 100644 index 104cabd267a4..000000000000 --- a/app-text/trang/files/build.xml +++ /dev/null @@ -1,68 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- Author: Ralph Sennhauser --> -<project name="trang" default="jar" basedir="."> - - <!-- properties --> - - <property name="src.dir" value="src"/> - <property name="build.dir" value="build"/> - <property name="docs.dir" value="javadoc"/> - <property name="dist.dir" value="dist"/> - - <property name="app.name" value="trang"/> - <property name="package.names" value="com.* org.*"/> - <property name="jar.name" value="${app.name}.jar"/> - - <!-- targets --> - - <target name="prepare"> - <mkdir dir="${build.dir}"/> - <mkdir dir="${docs.dir}"/> - <mkdir dir="${dist.dir}"/> - <unzip src="${src.dir}.zip" dest="${src.dir}"/> - <!-- need the resource files shipped inside the jar, beed! --> - <unzip src="trang.jar" dest="${build.dir}"> - <patternset> - <include name="**/*properties"/> - </patternset> - </unzip> - </target> - - <target name="compile" description="Compiles source" depends="prepare"> - <javac srcdir="${src.dir}" destdir="${build.dir}" encoding="UTF-8" classpath="${gentoo.classpath}"> -<!-- <compilerarg value="-Xlint:deprecation"/> --> -<!-- <compilerarg value="-Xlint"/> --> - </javac> - </target> - - <target name="javadoc" depends="prepare" description="Create javadocs"> - <javadoc packagenames="net.*" - classpath="${gentoo.classpath}" - sourcepath="${src.dir}" - defaultexcludes="yes" - destdir="./${docs.dir}" - author="true" - version="true" - use="true" - windowtitle="${app.name} API"> - <fileset dir="${src.dir}"/> - </javadoc> - </target> - - <target name="jar" description="Create the jar" depends="compile"> - <jar destfile="${dist.dir}/${jar.name}" basedir="${build.dir}"> - <manifest> - <attribute name="Main-Class" value="com.thaiopensource.relaxng.translate.Driver"/> - <attribute name="Class-Path" value="."/> - </manifest> - <service type="com.thaiopensource.datatype.xsd.regex.RegexEngine"> - <provider classname="com.thaiopensource.datatype.xsd.regex.java.RegexEngineImpl"/> - <provider classname="com.thaiopensource.datatype.xsd.regex.xerces2.RegexEngineImpl"/> - </service> - <service type="org.relaxng.datatype.DatatypeLibraryFactory"> - <provider classname="com.thaiopensource.datatype.xsd.DatatypeLibraryFactoryImpl"/> - </service> - </jar> - </target> - -</project> diff --git a/app-text/trang/trang-20091111.ebuild b/app-text/trang/trang-20091111.ebuild deleted file mode 100644 index bb8ed6e83e42..000000000000 --- a/app-text/trang/trang-20091111.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="2" -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Multi-format schema converter based on RELAX NG" -HOMEPAGE="http://thaiopensource.com/relaxng/trang.html" -SRC_URI="https://jing-trang.googlecode.com/files/${P}.zip" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -COMMON_DEP=" - dev-java/xerces:2 - dev-java/xml-commons-resolver:0" - -RDEPEND=" - >=virtual/jre-1.5 - ${COMMON_DEP}" - -DEPEND=" - app-arch/unzip - >=virtual/jdk-1.5 - ${COMMON_DEP}" - -java_prepare() { - # need resource files in jar archive so can't remove, see build.xml - # rm -v *.jar || die "Failed to remove jar archives" - - cp "${FILESDIR}/build.xml" "${S}/build.xml" -} - -EANT_GENTOO_CLASSPATH="xerces-2,xml-commons-resolver" - -src_test() { - # a very simple test - mkdir "test" - - java -jar "dist/${PN}.jar" "${FILESDIR}/test.xml" "test/test.xsd" - java -jar "dist/${PN}.jar" "${FILESDIR}/test.xml" "test/test.dtd" - java -jar "dist/${PN}.jar" "test/test.dtd" "test/test.dtd.xsd" - - md5sum -c <<MD5SUMS_END || die "Failed to verify md5sum" -4bcb454ade46c0188f809d2e8ce15315 ${FILESDIR}/test.xml -d096c1fb462902e10a3440a604a21664 test/test.xsd -3fb46bdb16dc75a2a1e36e421b13e51d test/test.dtd -fce355ca962cb063d7baa5d7fd571bcf test/test.dtd.xsd -MD5SUMS_END -} - -src_install() { - java-pkg_dojar "dist/${PN}.jar" - java-pkg_dolauncher trang \ - --main com.thaiopensource.relaxng.translate.Driver - dohtml *.html || die - - use doc && java-pkg_dojavadoc javadoc - use source && java-pkg_dosrc src/{org,com} -} |