diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/htmlparser | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/htmlparser')
-rw-r--r-- | dev-java/htmlparser/Manifest | 1 | ||||
-rw-r--r-- | dev-java/htmlparser/files/build.xml | 19 | ||||
-rw-r--r-- | dev-java/htmlparser/htmlparser-1.4-r1.ebuild | 45 | ||||
-rw-r--r-- | dev-java/htmlparser/metadata.xml | 5 |
4 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/htmlparser/Manifest b/dev-java/htmlparser/Manifest new file mode 100644 index 000000000000..d8f3adb53c98 --- /dev/null +++ b/dev-java/htmlparser/Manifest @@ -0,0 +1 @@ +DIST htmlparser-1.4.zip 1425388 SHA256 4e696a17f25a6983c846bb72b8f4e1920659d6a1677d5620eff60417260b586c SHA512 eb0587c808b287bbb18acbba11e8efe5bd0dededd96f6bf34ef59b92144227cf8368bf76474a2c1d87a5d6b635a63057faa9d18e2a1a2d7dfeacbfaa64e57700 WHIRLPOOL ae5de0f11b294ce7c831c1e4e121e0f4d2fe354883de3f83ed33c930180bb73f4d224edfbf75754c0d560946b6cddc03d71551f7219472a71d8952a71cf7c8b9 diff --git a/dev-java/htmlparser/files/build.xml b/dev-java/htmlparser/files/build.xml new file mode 100644 index 000000000000..ad0d4b0c1d09 --- /dev/null +++ b/dev-java/htmlparser/files/build.xml @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<project name="htmlparser" default="jar"> + <path id="build.classpath"> + <fileset dir="lib/"> + <include name="*.jar"/> + </fileset> + </path> + <target name="compile"> + <mkdir dir="build"/> + <javac srcdir="src" destdir="build" classpathref="build.classpath"/> + </target> + <target name="jar" depends="compile"> + <jar destfile="htmlparser.jar" basedir="build"/> + </target> + <target name="javadoc" depends="compile"> + <mkdir dir="docs"/> + <javadoc sourcepath="src" destdir="docs" classpathref="build.classpath"/> + </target> +</project> diff --git a/dev-java/htmlparser/htmlparser-1.4-r1.ebuild b/dev-java/htmlparser/htmlparser-1.4-r1.ebuild new file mode 100644 index 000000000000..b0b8767c5f36 --- /dev/null +++ b/dev-java/htmlparser/htmlparser-1.4-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Implementation of the HTML5 parsing algorithm in Java" +HOMEPAGE="http://about.validator.nu/htmlparser/" +SRC_URI="http://about.validator.nu/${PN}/${P}.zip" + +LICENSE="W3C" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEP=" + dev-java/icu4j:52 + dev-java/jchardet:0 + dev-java/xom:0" +RDEPEND="${COMMON_DEP} + >=virtual/jre-1.5" +DEPEND="${COMMON_DEP} + >=virtual/jdk-1.5 + app-arch/unzip" + +java_prepare() { + find "${WORKDIR}" -name '*.jar' -delete || die + mkdir -p build lib || die + cp "${FILESDIR}/build.xml" build.xml || die "cp failed" +} + +JAVA_ANT_REWRITE_CLASSPATH="yes" + +EANT_GENTOO_CLASSPATH="icu4j-52,xom,jchardet" + +src_install() { + java-pkg_dojar htmlparser.jar + + use source && java-pkg_dosrc src/* + use doc && java-pkg_dojavadoc docs +} diff --git a/dev-java/htmlparser/metadata.xml b/dev-java/htmlparser/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/htmlparser/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> |