public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: media-libs/imglib2/
@ 2023-08-17 17:12 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2023-08-17 17:12 UTC (permalink / raw
  To: gentoo-commits

commit:     06537eb0db6fe59195bcf8059def58763d135207
Author:     Israel Hernandez <israel.a.hernandez <AT> gmail <DOT> com>
AuthorDate: Tue Jul 11 03:52:15 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 17:08:03 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=06537eb0

media-libs/imglib2: Add new package

Signed-off-by: IAHMCOL <IAHMCOL <AT> thejabberwocky.net>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 media-libs/imglib2/imglib2-6.2.0.ebuild | 53 +++++++++++++++++++++++++++++++++
 media-libs/imglib2/imglib2-9999.ebuild  | 53 +++++++++++++++++++++++++++++++++
 media-libs/imglib2/metadata.xml         | 16 ++++++++++
 3 files changed, 122 insertions(+)

diff --git a/media-libs/imglib2/imglib2-6.2.0.ebuild b/media-libs/imglib2/imglib2-6.2.0.ebuild
new file mode 100644
index 000000000..d024676c7
--- /dev/null
+++ b/media-libs/imglib2/imglib2-6.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A multidimensional, type-agnostic image processing library."
+HOMEPAGE="
+	http://imglib2.net/
+	https://github.com/imglib/imglib2
+"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/imglib/imglib2.git"
+	S="${WORKDIR}/${P}"
+	MAVEN_ID="net.imglib2:imglib2:9999"
+else
+	SRC_URI="
+		https://github.com/imglib/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}-sources.tar.gz
+	"
+	S="${WORKDIR}/${PN}-${P}"
+	MAVEN_ID="net.imglib2:imglib2:6.2.0"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+# jmh-core: According to the pom version 1.36 is required,
+# however, jmh-core-1.35 is latest available in Gentoo
+BDEPEND="
+	>=virtual/jdk-1.8:*
+	test? (
+		>=dev-java/jama-1.0.3
+		>=dev-java/junit-4.13.2
+		>=dev-java/jmh-core-1.35
+	)
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*
+"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_MAIN_CLASS=""
+
+JAVA_TEST_GENTOO_CLASSPATH="jama,junit-4,jmh-core"
+JAVA_TEST_SRC_DIR="src/test/java"

diff --git a/media-libs/imglib2/imglib2-9999.ebuild b/media-libs/imglib2/imglib2-9999.ebuild
new file mode 100644
index 000000000..d024676c7
--- /dev/null
+++ b/media-libs/imglib2/imglib2-9999.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A multidimensional, type-agnostic image processing library."
+HOMEPAGE="
+	http://imglib2.net/
+	https://github.com/imglib/imglib2
+"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/imglib/imglib2.git"
+	S="${WORKDIR}/${P}"
+	MAVEN_ID="net.imglib2:imglib2:9999"
+else
+	SRC_URI="
+		https://github.com/imglib/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}-sources.tar.gz
+	"
+	S="${WORKDIR}/${PN}-${P}"
+	MAVEN_ID="net.imglib2:imglib2:6.2.0"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+# jmh-core: According to the pom version 1.36 is required,
+# however, jmh-core-1.35 is latest available in Gentoo
+BDEPEND="
+	>=virtual/jdk-1.8:*
+	test? (
+		>=dev-java/jama-1.0.3
+		>=dev-java/junit-4.13.2
+		>=dev-java/jmh-core-1.35
+	)
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*
+"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_MAIN_CLASS=""
+
+JAVA_TEST_GENTOO_CLASSPATH="jama,junit-4,jmh-core"
+JAVA_TEST_SRC_DIR="src/test/java"

diff --git a/media-libs/imglib2/metadata.xml b/media-libs/imglib2/metadata.xml
new file mode 100644
index 000000000..b5cf3918a
--- /dev/null
+++ b/media-libs/imglib2/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <longdescription>
+    ImgLib2 is a general-purpose, multidimensional image processing library.
+
+    It provides an interface-driven design that supports numeric and non-numeric data types (8-bit unsigned integer, 32-bit floating point, etc.) in an extensible way. It implements several data sources and sample organizations, including one single primitive array, one array per plane, N-dimensional array “cells” cached to and from disk on demand, and planes read on demand from disk.
+  </longdescription>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">imglib/imglib2</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/sci:master commit in: media-libs/imglib2/
@ 2023-12-30  9:36 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2023-12-30  9:36 UTC (permalink / raw
  To: gentoo-commits

commit:     ec8bf3e565658f16ac5d6f62f65099529c80601b
Author:     Israel Hernandez <israel.a.hernandez <AT> gmail <DOT> com>
AuthorDate: Fri Dec 29 15:31:59 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Dec 30 09:33:21 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ec8bf3e5

media-libs/imglib2: add 6.3.0, drop 6.2.0

Signed-off-by: IAHMCOL <IAHMCOL <AT> thejabberwocky.net>
Closes: https://github.com/gentoo/sci/pull/1230
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 media-libs/imglib2/{imglib2-6.2.0.ebuild => imglib2-6.3.0.ebuild} | 2 +-
 media-libs/imglib2/imglib2-9999.ebuild                            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/imglib2/imglib2-6.2.0.ebuild b/media-libs/imglib2/imglib2-6.3.0.ebuild
similarity index 96%
rename from media-libs/imglib2/imglib2-6.2.0.ebuild
rename to media-libs/imglib2/imglib2-6.3.0.ebuild
index d024676c7..4233e6795 100644
--- a/media-libs/imglib2/imglib2-6.2.0.ebuild
+++ b/media-libs/imglib2/imglib2-6.3.0.ebuild
@@ -24,7 +24,7 @@ else
 		https://github.com/imglib/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}-sources.tar.gz
 	"
 	S="${WORKDIR}/${PN}-${P}"
-	MAVEN_ID="net.imglib2:imglib2:6.2.0"
+	MAVEN_ID="net.imglib2:imglib2:6.3.0"
 	KEYWORDS="~amd64"
 fi
 

diff --git a/media-libs/imglib2/imglib2-9999.ebuild b/media-libs/imglib2/imglib2-9999.ebuild
index d024676c7..4233e6795 100644
--- a/media-libs/imglib2/imglib2-9999.ebuild
+++ b/media-libs/imglib2/imglib2-9999.ebuild
@@ -24,7 +24,7 @@ else
 		https://github.com/imglib/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}-sources.tar.gz
 	"
 	S="${WORKDIR}/${PN}-${P}"
-	MAVEN_ID="net.imglib2:imglib2:6.2.0"
+	MAVEN_ID="net.imglib2:imglib2:6.3.0"
 	KEYWORDS="~amd64"
 fi
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-30  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-17 17:12 [gentoo-commits] proj/sci:master commit in: media-libs/imglib2/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2023-12-30  9:36 Andrew Ammerlaan

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