summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-05-29 09:16:46 +0200
committerJakov Smolić <jsmolic@gentoo.org>2022-05-29 09:16:46 +0200
commitd302411a02ac101d905c4d9629ec496fc191fc8d (patch)
treebb3ea6bcd9f0d2b1751a76e7019b52f7ec499218 /dev-java
parentx11-misc/i855crt: treeclean (diff)
downloadgentoo-d302411a02ac101d905c4d9629ec496fc191fc8d.tar.gz
gentoo-d302411a02ac101d905c4d9629ec496fc191fc8d.tar.bz2
gentoo-d302411a02ac101d905c4d9629ec496fc191fc8d.zip
dev-java/spin: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/spin/Manifest1
-rw-r--r--dev-java/spin/metadata.xml11
-rw-r--r--dev-java/spin/spin-1.5-r2.ebuild93
3 files changed, 0 insertions, 105 deletions
diff --git a/dev-java/spin/Manifest b/dev-java/spin/Manifest
deleted file mode 100644
index f3e36dcc5688..000000000000
--- a/dev-java/spin/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST spin-1.5-all.zip 482286 BLAKE2B d1b1de891290ed465f2886bea046d9aa106626be91e5ac37dcd795bb0ef5e558b3d81b1e86cfb168d660f4c2884d321d560bece50645822a0334848225c6638b SHA512 ce1fad3b138781359d472727b186722d6f1f23b7002dd1ada294efd80b3a9caf5de15207cdd682fcbfcafa85c63895c7dd9683fefb5ce5b09cc4115ae3733466
diff --git a/dev-java/spin/metadata.xml b/dev-java/spin/metadata.xml
deleted file mode 100644
index 9f47c959bca9..000000000000
--- a/dev-java/spin/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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>
- <name>Java</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">spin</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-java/spin/spin-1.5-r2.ebuild b/dev-java/spin/spin-1.5-r2.ebuild
deleted file mode 100644
index a8557a83ef98..000000000000
--- a/dev-java/spin/spin-1.5-r2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# 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 mirror://sourceforge/project/spin/spin/v1.5/spin-1.5-all.zip --slot 0 --keywords "~amd64 ~x86" --ebuild spin-1.5-r2.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="spin:spin:1.5"
-JAVA_TESTING_FRAMEWORKS="junit"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Transparent threading solution for non-freezing Swing applications."
-HOMEPAGE="http://spin.sourceforge.net"
-SRC_URI="mirror://sourceforge/project/${PN}/${PN}/v${PV}/${P}-all.zip"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# Common dependencies
-# POM: pom.xml
-# cglib:cglib-nodep:2.1_3 -> !!!artifactId-not-found!!!
-
-CP_DEPEND="
- dev-java/cglib:3
-"
-
-DEPEND="
- >=virtual/jdk-1.8:*
- ${CP_DEPEND}
-"
-
-RDEPEND="
- >=virtual/jre-1.8:*
- ${CP_DEPEND}"
-
-BDEPEND="app-arch/unzip"
-
-DOCS=( license.txt )
-
-S="${WORKDIR}/${P}"
-
-JAVA_SRC_DIR="src/main/java"
-JAVA_RESOURCE_DIRS="src/main/java"
-
-JAVA_TEST_GENTOO_CLASSPATH="junit"
-JAVA_TEST_SRC_DIR="src/test/java"
-JAVA_TEST_RESOURCE_DIRS="src/test/java"
-
-src_test() {
- # 1) testEDTNotBlockedDuringInvocation(spin.off.SpinOffTest)java.lang.Error:
- # Unable to make void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) accessible:
- # module java.desktop does not "opens java.awt" to unnamed module @42bb2aee
-
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if ver_test "${vm_version}" -ge "17" ; then
- JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.desktop/java.awt=ALL-UNNAMED )
- JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.lang=ALL-UNNAMED )
- fi
-
- # There was 1 error:
- # 1) testNonAccessibleInterface(spin.JDKProxyFactoryTest)java.awt.HeadlessException
- # at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
- # at java.desktop/java.awt.Window.<init>(Window.java:553)
- # at java.desktop/java.awt.Frame.<init>(Frame.java:428)
- # at java.desktop/java.awt.Frame.<init>(Frame.java:393)
- # at java.desktop/javax.swing.JFrame.<init>(JFrame.java:180)
- # at spin.JDKProxyFactoryTest$1.<init>(JDKProxyFactoryTest.java:44)
- # at spin.JDKProxyFactoryTest.testNonAccessibleInterface(JDKProxyFactoryTest.java:44)
- # at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- # at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
- # at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-
- # JAVA_TEST_RUN_ONLY="spin.JDKProxyFactoryTest"
- # java-pkg-simple_src_test
-
- JAVA_TEST_RUN_ONLY="spin.CGLibProxyFactoryTest"
- java-pkg-simple_src_test
-
- JAVA_TEST_RUN_ONLY="spin.off.AWTReflectDispatcherTest"
- java-pkg-simple_src_test
-
- JAVA_TEST_RUN_ONLY="spin.off.SpinOffTest"
- java-pkg-simple_src_test
-}
-
-src_install() {
- default # https://bugs.gentoo.org/789582
- java-pkg-simple_src_install
-}