diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-04-13 20:37:17 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-14 21:30:40 +0200 |
commit | a844827cb9abcc36aa5ab1254e4558b3ec0bdff8 (patch) | |
tree | a74082099735b8623da66d44d9c87cded7524385 /dev-java/xom/xom-1.3.7.ebuild | |
parent | media-gfx/inkscape: Drop old (diff) | |
download | gentoo-a844827cb9abcc36aa5ab1254e4558b3ec0bdff8.tar.gz gentoo-a844827cb9abcc36aa5ab1254e4558b3ec0bdff8.tar.bz2 gentoo-a844827cb9abcc36aa5ab1254e4558b3ec0bdff8.zip |
dev-java/xom: bump to 1.3.7
Dropping xml-commons-external
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/20353/commits/1484bc6c7f590ef4a89358cd88a138ac4c1f9dd0
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/xom/xom-1.3.7.ebuild')
-rw-r--r-- | dev-java/xom/xom-1.3.7.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/xom/xom-1.3.7.ebuild b/dev-java/xom/xom-1.3.7.ebuild new file mode 100644 index 000000000000..81ee3477fb38 --- /dev/null +++ b/dev-java/xom/xom-1.3.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="doc source" +JAVA_TESTING_FRAMEWORKS="junit" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="XML Object Model" +HOMEPAGE="https://xom.nu" +SRC_URI="https://github.com/elharo/xom/releases/download/v1.3.7/xom-1.3.7-src.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" + +CDEPEND=" + dev-java/jaxen:1.2 + dev-java/junit:0 + dev-java/xerces:2" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8:*" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.8:*" + +JAVA_GENTOO_CLASSPATH="jaxen-1.2,junit,xerces-2" +JAVA_SRC_DIR="XOM/src/nu" + +JAVA_TEST_GENTOO_CLASSPATH="junit" +JAVA_TEST_SRC_DIR="XOM/tests" + +src_prepare() { + default + + java-pkg_clean + + # removing directories based on build.xml + rm -rv XOM/src/nu/xom/benchmarks/ || die + rm -rv XOM/src/nu/xom/integrationtests/ || die + rm -rv XOM/src/nu/xom/samples/ || die + rm -rv XOM/src/nu/xom/tools/ || die + + mkdir -pv XOM/tests/nu/xom/ || die + mv -v XOM/src/nu/xom/tests XOM/tests/nu/xom/|| die +} |