summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/jettison
downloadgentoo-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/jettison')
-rw-r--r--dev-java/jettison/Manifest1
-rw-r--r--dev-java/jettison/files/build.xml63
-rw-r--r--dev-java/jettison/jettison-1.0.ebuild42
-rw-r--r--dev-java/jettison/metadata.xml17
4 files changed, 123 insertions, 0 deletions
diff --git a/dev-java/jettison/Manifest b/dev-java/jettison/Manifest
new file mode 100644
index 000000000000..98ef625b4fe7
--- /dev/null
+++ b/dev-java/jettison/Manifest
@@ -0,0 +1 @@
+DIST jettison-1.0-sources.jar 54344 SHA256 4e52b63e8c84718ed6e7ab75618825e970df3169fb999f38ea54ea8a8d88e23b SHA512 f5eacfd15e43de61462413c6e7fde713c7baf632e26cd1c686818c9b992ac6734e4813ec5ad0ba6810e66bdd59d4007c73ad132e15c1ca0ae23a328916aa645c WHIRLPOOL a8fda2a165e06e39f87b7b6b8587f421451ca66334852844d81eb9c25cbe8d47a323fd2a6aee2a24d119fd35ed66fa5d815f0e8985681da23f8f6bacf08f00c0
diff --git a/dev-java/jettison/files/build.xml b/dev-java/jettison/files/build.xml
new file mode 100644
index 000000000000..b6b95dff7a2a
--- /dev/null
+++ b/dev-java/jettison/files/build.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+
+<project name="jettison" default="jar" basedir=".">
+ <!-- some properties -->
+ <property name="src.dir" value="org/codehaus/jettison" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="docs" />
+ <property name="lib.dir" value="lib"/>
+ <property name="dist.dir" value="dist" />
+ <property name="jarfile" value="${dist.dir}/jettison.jar" />
+ <property name="pkg" value="${package.name}"/>
+ <property name="target.jdk" value="1.5" />
+
+
+ <available file="${lib}" type="dir" property="libdir.exists"/>
+
+
+ <!-- init -->
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${build.dir}" />
+ <mkdir dir="${docs.dir}" />
+ </target>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}"
+ classpath="${gentoo.classpath}">
+ </javac>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+ <jar jarfile="${jarfile}" basedir="${build.dir}" />
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="javadoc" depends="compile">
+ <javadoc packagenames="org.*"
+ sourcepath="${src.dir}"
+ defaultexcludes="yes"
+ destdir="./${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API" >
+ <fileset dir="${src.dir}"/>
+ </javadoc>
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+
+</project>
diff --git a/dev-java/jettison/jettison-1.0.ebuild b/dev-java/jettison/jettison-1.0.ebuild
new file mode 100644
index 000000000000..e526e90468b0
--- /dev/null
+++ b/dev-java/jettison/jettison-1.0.ebuild
@@ -0,0 +1,42 @@
+# 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="A JSON StAX implementation"
+HOMEPAGE="http://jettison.codehaus.org/"
+SRC_URI="http://repository.codehaus.org/org/codehaus/${PN}/${PN}/${PV}/${P}-sources.jar"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+
+IUSE=""
+
+COMMON_DEP="java-virtuals/jaxp-virtual"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+#Don't need to make one
+S="${WORKDIR}"
+
+src_prepare(){
+ #no supplied Build file
+ cp -v "${FILESDIR}"/build.xml "${S}/build.xml" || die
+}
+
+EANT_GENTOO_CLASSPATH="jaxp-virtual"
+
+src_install() {
+ java-pkg_dojar dist/"${PN}.jar"
+ use doc && java-pkg_dojavadoc docs
+ use source && java-pkg_dosrc org
+}
diff --git a/dev-java/jettison/metadata.xml b/dev-java/jettison/metadata.xml
new file mode 100644
index 000000000000..842debf1aa32
--- /dev/null
+++ b/dev-java/jettison/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>mike@weisso.com</email>
+ <name>Mike Weissman</name>
+ </maintainer>
+ <longdescription lang="en">
+ Jettison is a collection of Java APIs (like STaX and DOM) which read and
+ write JSON. This allows nearly transparent enablement of JSON based web
+ services in services frameworks like CXF or XML serialization frameworks
+ like XStream.
+ </longdescription>
+</pkgmetadata>
+