diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-07-25 14:51:38 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-07-25 14:51:38 +0000 |
commit | c3b988635ccdb3b1ab7e152e7b41ee887fa75d77 (patch) | |
tree | 895369f1996865c35f8f190892658244e8c155e8 /app-text/jing | |
parent | version bump, drop old (diff) | |
download | gentoo-2-c3b988635ccdb3b1ab7e152e7b41ee887fa75d77.tar.gz gentoo-2-c3b988635ccdb3b1ab7e152e7b41ee887fa75d77.tar.bz2 gentoo-2-c3b988635ccdb3b1ab7e152e7b41ee887fa75d77.zip |
Avoid bogous QA warning. #423103
Fix saxon slot for classpath.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'app-text/jing')
-rw-r--r-- | app-text/jing/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/jing/jing-20091111-r1.ebuild (renamed from app-text/jing/jing-20091111.ebuild) | 28 |
2 files changed, 21 insertions, 16 deletions
diff --git a/app-text/jing/ChangeLog b/app-text/jing/ChangeLog index 63337602e172..2981313b7374 100644 --- a/app-text/jing/ChangeLog +++ b/app-text/jing/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/jing # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/jing/ChangeLog,v 1.24 2012/05/24 15:28:19 sera Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/jing/ChangeLog,v 1.25 2012/07/25 14:51:38 sera Exp $ + +*jing-20091111-r1 (25 Jul 2012) + + 25 Jul 2012; Ralph Sennhauser <sera@gentoo.org> -jing-20091111.ebuild, + +jing-20091111-r1.ebuild: + Avoid bogous QA warning. #423103 + Fix saxon slot for classpath. *jing-20091111 (24 May 2012) diff --git a/app-text/jing/jing-20091111.ebuild b/app-text/jing/jing-20091111-r1.ebuild index a9836988b21f..952785b3b186 100644 --- a/app-text/jing/jing-20091111.ebuild +++ b/app-text/jing/jing-20091111-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/jing/jing-20091111.ebuild,v 1.1 2012/05/24 15:28:19 sera Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/jing/jing-20091111-r1.ebuild,v 1.1 2012/07/25 14:51:38 sera Exp $ EAPI=4 @@ -31,13 +31,15 @@ DEPEND="${COMMON_DEPEND} >=virtual/jdk-1.5 app-arch/unzip" -S="${WORKDIR}/${P}" +# Avoid bogous QA warning, no usable build.xml. The one that exists belongs to +# the examples. +S="${WORKDIR}/${P}/src" src_unpack() { default - mkdir -p "${S}"/src || die - pushd "${S}"/src >/dev/null || die + mkdir -p "${S}" || die + pushd "${S}" >/dev/null || die unpack ./../src.zip popd >/dev/null @@ -45,28 +47,24 @@ src_unpack() { # http://code.google.com/p/jing-trang/issues/detail?id=84 mkdir -p "${S}"/target/classes || die pushd "${S}"/target/classes >/dev/null || die - unpack ./../../bin/${PN}.jar + unpack ./../../../bin/${PN}.jar find -name '*.class' -exec rm {} + || die popd >/dev/null } java_prepare() { - find -name '*.jar' -exec rm -v {} + || die + find "${WORKDIR}" -name '*.jar' -exec rm -v {} + || die #remove bundled relaxng-datatype - rm -rv src/org || die + rm -rv org || die # for use with saxon:6.5 - rm -v src/com/thaiopensource/validate/schematron/OldSaxonSchemaReaderFactory.java || die + rm -v com/thaiopensource/validate/schematron/OldSaxonSchemaReaderFactory.java || die sed -i -e '/OldSaxonSchemaReaderFactory/d' \ target/classes/META-INF/services/com.thaiopensource.validate.SchemaReaderFactory || die - - # bogous QA warning, no usable build.xml. The one that exists belongs to the - # example. } -JAVA_SRC_DIR="${S}/src/" -JAVA_GENTOO_CLASSPATH="ant-core,iso-relax,relaxng-datatype,saxon,xalan,xerces-2,xml-commons-resolver" +JAVA_GENTOO_CLASSPATH="ant-core,iso-relax,relaxng-datatype,saxon-9,xalan,xerces-2,xml-commons-resolver" #src_test() { # # would need some test files could probably take this from the gcj version @@ -80,6 +78,6 @@ src_install() { java-pkg-simple_src_install java-pkg_dolauncher ${PN} --main com.thaiopensource.relaxng.util.Driver - use doc && dohtml doc/*html - use examples && java-pkg_doexamples sample + use doc && dohtml ../doc/*html + use examples && java-pkg_doexamples ../sample } |