diff options
Diffstat (limited to 'app-text/trang')
-rw-r--r-- | app-text/trang/Manifest | 4 | ||||
-rw-r--r-- | app-text/trang/files/test.xml | 87 | ||||
-rw-r--r-- | app-text/trang/metadata.xml | 12 | ||||
-rw-r--r-- | app-text/trang/trang-20151127.ebuild | 79 |
4 files changed, 0 insertions, 182 deletions
diff --git a/app-text/trang/Manifest b/app-text/trang/Manifest deleted file mode 100644 index 2b4a31f85599..000000000000 --- a/app-text/trang/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX test.xml 3053 BLAKE2B f9837b05c4ac00fa63ce75f04318f3378c2cc0c99680c21520d7d75a74e0e9ad00a9fcdf4857655ac32a3eea935208dc86e51d2bbef3e2349cd78d65ed74ac30 SHA512 11b4faef6fce89d72e8cdcc25cc1dc6c89ea7bc44252e0521a9a5ff47f686e78c46eac6b606e47f51b0bdb8175e583d5c1c56bdcb8bea105c70a63b65f20ea67 -DIST trang-20151127.tar.gz 13746141 BLAKE2B 8895fefa8be62a524a2bfb603a64bcf641f13cd500dbe51b9efdaed7d5147dd6478963d356aec81c5c5b6af12a59edcb908d203b6b8edaf093fe29f76db80b7c SHA512 f5c6973791e8caa8dcce6bbf92cbd58491f55edd7819523947ad718ea3973eb81afc6b21d4e830949c2f183b485915dab98dbb5b90e01324677cfa41f5746e26 -EBUILD trang-20151127.ebuild 2070 BLAKE2B d9355cb752161614485ca3911cfe293117f08b78ec359d3296604f0018bdfd39d3bc578efda8d1abe00ed4dbff57315460ba204ab41200b4e7bfea7e986f2a3d SHA512 b0d9aa8adb56abbe566ccf37e6e2764127d2e752df1b02670175a653187add219a74433bdb6cad7a691a14effc59c25d7d18c08f0721c4f20fa34b4778dfb9a4 -MISC metadata.xml 374 BLAKE2B e8d7e9fafb80a0b972bce7a3c8a02abacec08b11bee39dcf2b927cffe59931daf6cfcc3372f2a0549a1de4310332a072e3f154ce0e8241cf9f4e616884819dae SHA512 884f58def744deb8a44d8d60a178d7409bb67afcb3b88c224608ecf902a00602e6aeb0da8683fd6edc20d07bf739492196067c4b2821a129255e510b6991bc90 diff --git a/app-text/trang/files/test.xml b/app-text/trang/files/test.xml deleted file mode 100644 index 747972587821..000000000000 --- a/app-text/trang/files/test.xml +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -Copyright (C) 2001-2004 Bart Massey, Jamey Sharp, and Josh Triplett. -All Rights Reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the names of the authors or their -institutions shall not be used in advertising or otherwise to promote the -sale, use or other dealings in this Software without prior written -authorization from the authors. ---> -<xcb header="dpms" extension-xname="DPMS" extension-name="DPMS" - major-version="0" minor-version="0"> - <request name="GetVersion" opcode="0"> - <field type="CARD16" name="client_major_version" /> - <field type="CARD16" name="client_minor_version" /> - <reply> - <pad bytes="1" /> - <field type="CARD16" name="server_major_version" /> - <field type="CARD16" name="server_minor_version" /> - </reply> - </request> - - <request name="Capable" opcode="1"> - <reply> - <pad bytes="1" /> - <field type="BOOL" name="capable" /> - <pad bytes="23" /> - </reply> - </request> - - <request name="GetTimeouts" opcode="2"> - <reply> - <pad bytes="1" /> - <field type="CARD16" name="standby_timeout" /> - <field type="CARD16" name="suspend_timeout" /> - <field type="CARD16" name="off_timeout" /> - <pad bytes="18" /> - </reply> - </request> - - <request name="SetTimeouts" opcode="3"> - <field type="CARD16" name="standby_timeout" /> - <field type="CARD16" name="suspend_timeout" /> - <field type="CARD16" name="off_timeout" /> - </request> - - <request name="Enable" opcode="4" /> - - <request name="Disable" opcode="5" /> - - <enum name="DPMSMode"> - <item name="On" /> - <item name="Standby" /> - <item name="Suspend" /> - <item name="Off" /> - </enum> - - <request name="ForceLevel" opcode="6"> - <field type="CARD16" name="power_level" enum="DPMSMode" /> - </request> - - <request name="Info" opcode="7"> - <reply> - <pad bytes="1" /> - <field type="CARD16" name="power_level" enum="DPMSMode" /> - <field type="BOOL" name="state" /> - <pad bytes="21" /> - </reply> - </request> -</xcb>
\ No newline at end of file diff --git a/app-text/trang/metadata.xml b/app-text/trang/metadata.xml deleted file mode 100644 index 04751195a354..000000000000 --- a/app-text/trang/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - <upstream> - <remote-id type="github">relaxng/jing-trang</remote-id> - <remote-id type="google-code">jing-trang</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-text/trang/trang-20151127.ebuild b/app-text/trang/trang-20151127.ebuild deleted file mode 100644 index fa287c480746..000000000000 --- a/app-text/trang/trang-20151127.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -COMMIT="1e74846999bbd14ce5248acbd2be9f1e624a9846" - -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://github.com/relaxng/jing-trang/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -COMMON_DEP=" - dev-java/xerces:2 - dev-java/xml-commons-resolver:0" - -RDEPEND=" - >=virtual/jre-1.7 - ${COMMON_DEP}" - -DEPEND=" - >=virtual/jdk-1.7 - dev-java/javacc:0 - dev-java/saxon:6.5 - dev-java/testng:0 - ${COMMON_DEP}" - -S="${WORKDIR}/jing-${PN}-${COMMIT}" - -EANT_ANT_TASKS="testng" -EANT_GENTOO_CLASSPATH="xerces-2,xml-commons-resolver" -JAVA_ANT_REWRITE_CLASSPATH="yes" -JAVA_PKG_BSFIX_NAME="build.xsl" - -java_prepare() { - java-pkg_clean - echo "<version>${PV}</version>" > version.xml || die -} - -src_configure() { - java-ant-2_src_configure - - # Because this crazy package uses XSLT, we need to escape this. - sed -i 's:\${gentoo\.classpath}:${{gentoo.classpath}}:g' build.xsl || die - - EANT_EXTRA_ARGS="-Djavacc.dir=${EROOT}usr/share/javacc/lib" - export LOCALCLASSPATH=$(java-pkg_getjars --build-only --with-dependencies saxon-6.5) -} - -src_compile() { - EANT_BUILD_TARGET="modbuild trang-doc" java-pkg-2_src_compile - EANT_BUILD_TARGET="mod.trang.jar" EANT_BUILD_XML="modbuild.xml" java-pkg-2_src_compile -} - -src_install() { - java-pkg_dojar build/${PN}.jar - java-pkg_dolauncher ${PN} \ - --main com.thaiopensource.relaxng.translate.Driver - - docinto html - dodoc build/*.html -} - -src_test() { - java -jar build/${PN}.jar "${FILESDIR}/test.xml" test/test.xsd - java -jar build/${PN}.jar "${FILESDIR}/test.xml" test/test.dtd - java -jar build/${PN}.jar test/test.dtd test/test.dtd.xsd - - md5sum -c <<EOF || die "Failed to verify md5sum" -4bcb454ade46c0188f809d2e8ce15315 ${FILESDIR}/test.xml -d096c1fb462902e10a3440a604a21664 test/test.xsd -3fb46bdb16dc75a2a1e36e421b13e51d test/test.dtd -fce355ca962cb063d7baa5d7fd571bcf test/test.dtd.xsd -EOF -} |