public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/cdegroot-db/, dev-java/cdegroot-db/files/
@ 2017-02-25  0:18 Patrice Clement
  0 siblings, 0 replies; only message in thread
From: Patrice Clement @ 2017-02-25  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     760fb6e8dcf06127e57ce08f28c4cec6f9a10e04
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 00:15:10 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 00:15:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760fb6e8

dev-java/cdegroot-db: EAPI 6 bump.

Package-Manager: portage-2.3.3

 dev-java/cdegroot-db/cdegroot-db-0.08-r2.ebuild    | 39 ++++++++++++++++++++++
 .../files/cdegroot-db-0.08-gentoo.patch            | 24 ++++++-------
 2 files changed, 51 insertions(+), 12 deletions(-)

diff --git a/dev-java/cdegroot-db/cdegroot-db-0.08-r2.ebuild b/dev-java/cdegroot-db/cdegroot-db-0.08-r2.ebuild
new file mode 100644
index 0000000000..70ac2ae4c9
--- /dev/null
+++ b/dev-java/cdegroot-db/cdegroot-db-0.08-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="OO database written in Java"
+HOMEPAGE="http://www.cdegroot.com/software/db/"
+SRC_URI="http://www.cdegroot.com/software/db/download/com.${P/-/.}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/com.${P/-/.}"
+
+PATCHES=( "${FILESDIR}/${P}-gentoo.patch" )
+src_prepare() {
+	default
+	rm -rv src/db/test lib/*.jar || die
+	cp -v "${FILESDIR}/build.xml" "${S}/build.xml" || die
+}
+
+EANT_DOC_TARGET="docs"
+
+src_install() {
+	java-pkg_dojar "dist/${PN}.jar"
+	dodoc TODO VERSION CHANGES BUGS README
+	use doc && java-pkg_dojavadoc docs
+	use source && java-pkg_dosrc src/*
+}

diff --git a/dev-java/cdegroot-db/files/cdegroot-db-0.08-gentoo.patch b/dev-java/cdegroot-db/files/cdegroot-db-0.08-gentoo.patch
index c150ff0458..f99584fdff 100644
--- a/dev-java/cdegroot-db/files/cdegroot-db-0.08-gentoo.patch
+++ b/dev-java/cdegroot-db/files/cdegroot-db-0.08-gentoo.patch
@@ -1,6 +1,6 @@
 diff -urpN src.orig/db/com/cdegroot/db/hash/EntryPage.java src/db/com/cdegroot/db/hash/EntryPage.java
---- src.orig/db/com/cdegroot/db/hash/EntryPage.java	2005-02-06 00:40:17.191151504 +0100
-+++ src/db/com/cdegroot/db/hash/EntryPage.java	2005-02-06 00:54:14.045930240 +0100
+--- a/src/db/com/cdegroot/db/hash/EntryPage.java	2005-02-06 00:40:17.191151504 +0100
++++ b/src/db/com/cdegroot/db/hash/EntryPage.java	2005-02-06 00:54:14.045930240 +0100
 @@ -25,7 +25,7 @@ final class EntryPage extends PageHeader
      /**
       *  Constructs a page view from the indicated block.
@@ -20,8 +20,8 @@ diff -urpN src.orig/db/com/cdegroot/db/hash/EntryPage.java src/db/com/cdegroot/d
  	if (view != null && view instanceof EntryPage)
  	    return (EntryPage) view;
 diff -urpN src.orig/db/com/cdegroot/db/recman/BlockIo.java src/db/com/cdegroot/db/recman/BlockIo.java
---- src.orig/db/com/cdegroot/db/recman/BlockIo.java	2005-02-06 00:40:17.192151352 +0100
-+++ src/db/com/cdegroot/db/recman/BlockIo.java	2005-02-06 00:58:02.990125432 +0100
+--- a/src/db/com/cdegroot/db/recman/BlockIo.java	2005-02-06 00:40:17.192151352 +0100
++++ b/src/db/com/cdegroot/db/recman/BlockIo.java	2005-02-06 00:58:02.990125432 +0100
 @@ -31,7 +31,7 @@ package com.cdegroot.db.recman;
   *  @see java.io.DataInput
   *  @see java.io.DataOutput
@@ -114,8 +114,8 @@ diff -urpN src.orig/db/com/cdegroot/db/recman/BlockIo.java src/db/com/cdegroot/d
  	data[pos+1] = (byte)(0xff & (value >> 48));
  	data[pos+2] = (byte)(0xff & (value >> 40));
 diff -urpN src.orig/db/com/cdegroot/db/recman/BlockView.java src/db/com/cdegroot/db/recman/BlockView.java
---- src.orig/db/com/cdegroot/db/recman/BlockView.java	2005-02-06 00:40:17.193151200 +0100
-+++ src/db/com/cdegroot/db/recman/BlockView.java	2005-02-06 00:47:57.632153832 +0100
+--- a/src/db/com/cdegroot/db/recman/BlockView.java	2005-02-06 00:40:17.193151200 +0100
++++ b/src/db/com/cdegroot/db/recman/BlockView.java	2005-02-06 00:47:57.632153832 +0100
 @@ -28,5 +28,5 @@ package com.cdegroot.db.recman;
   *
   *  @see BlockIo.setView()
@@ -124,8 +124,8 @@ diff -urpN src.orig/db/com/cdegroot/db/recman/BlockView.java src/db/com/cdegroot
 +public interface BlockView {
  }
 diff -urpN src.orig/db/com/cdegroot/db/recman/Magic.java src/db/com/cdegroot/db/recman/Magic.java
---- src.orig/db/com/cdegroot/db/recman/Magic.java	2005-02-06 00:40:17.193151200 +0100
-+++ src/db/com/cdegroot/db/recman/Magic.java	2005-02-06 00:44:22.164909832 +0100
+--- a/src/db/com/cdegroot/db/recman/Magic.java	2005-02-06 00:40:17.193151200 +0100
++++ b/src/db/com/cdegroot/db/recman/Magic.java	2005-02-06 00:44:22.164909832 +0100
 @@ -25,7 +25,7 @@ package com.cdegroot.db.recman;
  /**
   *  This interface contains magic cookies.
@@ -143,8 +143,8 @@ diff -urpN src.orig/db/com/cdegroot/db/recman/Magic.java src/db/com/cdegroot/db/
 +    int SZ_BYTE = 1;
  }
 diff -urpN src.orig/db/com/cdegroot/db/recman/PageHeader.java src/db/com/cdegroot/db/recman/PageHeader.java
---- src.orig/db/com/cdegroot/db/recman/PageHeader.java	2005-02-06 00:40:17.193151200 +0100
-+++ src/db/com/cdegroot/db/recman/PageHeader.java	2005-02-06 00:50:10.236994832 +0100
+--- a/src/db/com/cdegroot/db/recman/PageHeader.java	2005-02-06 00:40:17.193151200 +0100
++++ b/src/db/com/cdegroot/db/recman/PageHeader.java	2005-02-06 00:50:10.236994832 +0100
 @@ -28,15 +28,15 @@ import java.io.*;
   *  This class represents a page header. It is the common superclass for
   *  all different page views.
@@ -183,8 +183,8 @@ diff -urpN src.orig/db/com/cdegroot/db/recman/PageHeader.java src/db/com/cdegroo
  	if (view != null && view instanceof PageHeader)
  	    return (PageHeader) view;
 diff -urpN src.orig/db/com/cdegroot/db/recman/RecordFile.java src/db/com/cdegroot/db/recman/RecordFile.java
---- src.orig/db/com/cdegroot/db/recman/RecordFile.java	2005-02-06 00:40:17.193151200 +0100
-+++ src/db/com/cdegroot/db/recman/RecordFile.java	2005-02-06 00:45:38.616287456 +0100
+--- a/src/db/com/cdegroot/db/recman/RecordFile.java	2005-02-06 00:40:17.193151200 +0100
++++ b/src/db/com/cdegroot/db/recman/RecordFile.java	2005-02-06 00:45:38.616287456 +0100
 @@ -33,7 +33,7 @@ import java.util.*;
   *  The set of dirty records on the in-use list constitutes a transaction. 
   *  Later on, we will send these records to some recovery thingy.


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-25  0:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-25  0:18 [gentoo-commits] repo/gentoo:master commit in: dev-java/cdegroot-db/, dev-java/cdegroot-db/files/ Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox