summaryrefslogtreecommitdiff
path: root/dev-java/greenmail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-04 03:13:19 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-04 03:13:19 +0000
commit1f709ed82b8014b4c156f87c66cee7d0d1d3905d (patch)
treee2a478d1bbdb4f68ce4d30908ca0e21ca984a602 /dev-java/greenmail
parent924750a8c767b278c9870be5dcfedced436f1276 (diff)
gentoo auto-resync : 04:11:2022 - 03:13:18
Diffstat (limited to 'dev-java/greenmail')
-rw-r--r--dev-java/greenmail/Manifest3
-rw-r--r--dev-java/greenmail/greenmail-2.0.0_alpha2.ebuild57
-rw-r--r--dev-java/greenmail/metadata.xml10
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/greenmail/Manifest b/dev-java/greenmail/Manifest
new file mode 100644
index 000000000000..a2063f4a1a82
--- /dev/null
+++ b/dev-java/greenmail/Manifest
@@ -0,0 +1,3 @@
+DIST greenmail-2.0.0_alpha2.tar.gz 969798 BLAKE2B 0e1b00ccc96fac26d453cff5f49937bebc7b62e58ad33c9c287e7edb15de2884620ea52c94e00f5ddb9dc6e8853ed36101c4f7f294d48044d78a2a747146952e SHA512 925762f834d797e5136412520d45e9ce56c7b946f9cf1b7e90b674b12405a426bdceb068c7b459b1d4321d04ed68ff5dfd2d32ea6d5f17e848189596cc9acb17
+EBUILD greenmail-2.0.0_alpha2.ebuild 1834 BLAKE2B d890a387abb29d7a65b7da06fbf3d8c9bb297269c55c6581b535ac3b11c1e2f826a135167fb871fe51c0e5394329507c2e2e80b1fd57d688df830d719eae8398 SHA512 37207afc56c2139f1c4eeb9d2632533402d462444434d4ffd416e1cfd62f17f0bc3cc9125e6ebf2ea68035f5fde408533088f05b42e45db7374c0e68baf3d069
+MISC metadata.xml 311 BLAKE2B 5ac66bbc1ab39c2c144199584900de8485abc400bd49471961ea2d104284c36e15572bbe97ad2c9b7647c3e07320c1a292516f996fb2381ef1403e4719a69e73 SHA512 dff768a4970226540c20d2abe00b744458e29795f575d0526224d614931f2b789cd01f4bcb11edd7f08ea1230e21caacfc77186e4ba0624db8059e50229a88fc
diff --git a/dev-java/greenmail/greenmail-2.0.0_alpha2.ebuild b/dev-java/greenmail/greenmail-2.0.0_alpha2.ebuild
new file mode 100644
index 000000000000..8f25de201a2e
--- /dev/null
+++ b/dev-java/greenmail/greenmail-2.0.0_alpha2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/greenmail-mail-test/greenmail/archive/release-2.0.0-alpha-2.tar.gz --slot 2 --keywords "~amd64" --ebuild greenmail-2.0.0_alpha2.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="com.icegreen:greenmail:2.0.0-alpha-2"
+# No tests, dependencies are not packaged
+# JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="GreenMail - Email Test Servers"
+HOMEPAGE="https://greenmail-mail-test.github.io/greenmail/"
+SRC_URI="https://github.com/greenmail-mail-test/greenmail/archive/release-${PV/_alpha/-alpha-}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+# Common dependencies
+# POM: pom.xml
+# com.sun.mail:jakarta.mail:2.0.1 -> >=dev-java/jakarta-mail-2.0.1:0
+# jakarta.activation:jakarta.activation-api:2.0.1 -> >=dev-java/jakarta-activation-api-2.1.0:2
+# junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4
+# org.slf4j:slf4j-api:1.7.32 -> >=dev-java/slf4j-api-1.7.36:0
+
+CP_DEPEND="
+ dev-java/jakarta-activation-api:2
+ dev-java/jakarta-mail:0
+ dev-java/junit:4
+ dev-java/slf4j-api:0
+"
+
+# Compile dependencies
+# POM: pom.xml
+# test? org.assertj:assertj-core:3.19.0 -> !!!suitable-mavenVersion-not-found!!!
+# test? org.hamcrest:hamcrest-core:2.2 -> !!!suitable-mavenVersion-not-found!!!
+# test? org.hamcrest:hamcrest-library:2.2 -> !!!suitable-mavenVersion-not-found!!!
+# test? org.slf4j:slf4j-log4j12:1.7.32 -> !!!artifactId-not-found!!!
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+
+DOCS=( ../README.md )
+
+S="${WORKDIR}/greenmail-release-${PV/_alpha/-alpha-}/greenmail-core"
+
+JAVA_SRC_DIR="src/main/java"
diff --git a/dev-java/greenmail/metadata.xml b/dev-java/greenmail/metadata.xml
new file mode 100644
index 000000000000..88b4c60ecd57
--- /dev/null
+++ b/dev-java/greenmail/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">greenmail-mail-test/greenmail</remote-id>
+ </upstream>
+</pkgmetadata>