Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/byte-buddy-agent/, profiles/
Date: Thu, 29 Sep 2022 08:02:05
Message-Id: 1664438471.d2c2b660e32f9a92738d6972d0a80f637710c7d9.jsmolic@gentoo
1 commit: d2c2b660e32f9a92738d6972d0a80f637710c7d9
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 08:01:11 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 08:01:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c2b660
7
8 dev-java/byte-buddy-agent: Remove last-rited pkg
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 dev-java/byte-buddy-agent/Manifest | 2 -
13 .../byte-buddy-agent-1.12.10.ebuild | 87 ----------------------
14 dev-java/byte-buddy-agent/metadata.xml | 10 ---
15 profiles/package.mask | 4 -
16 4 files changed, 103 deletions(-)
17
18 diff --git a/dev-java/byte-buddy-agent/Manifest b/dev-java/byte-buddy-agent/Manifest
19 deleted file mode 100644
20 index c34703014fee..000000000000
21 --- a/dev-java/byte-buddy-agent/Manifest
22 +++ /dev/null
23 @@ -1,2 +0,0 @@
24 -DIST byte-buddy-1.12.10.tar.gz 149932619 BLAKE2B dce562c72fce2b4c6f7d7b49192297929c6828b5157db81825199eb6636a6aadfa27240cf69e6ebfef7e809b35aec0037461ec4b30c7633cb700f55458238058 SHA512 5f8c9e94e3661978e51134a65842e376b96acfe25e940c565a2647bec54bb7c40b12501b590019270ce470efc4ca8f4dd0a7ffe7c6d5d2854b768c28c84920a6
25 -DIST byte-buddy-agent-1.12.10-sources.jar 204651 BLAKE2B f3e0db8e6c8f3380ee3bfd8969555c331689990b97e91206567c01ffbaabc58eeb25b0879e792ebce1044afa8d3b5596830349d9c233ab1af84d13213e046f4d SHA512 8569531e5f5343378037cd9740bdc42b91becb9adaf0f2cacbdcb0e5ccafb3e47fce9c7b71d8d8d8df1c7373ffd44d798b8b164136d87913faed1e19474f803d
26
27 diff --git a/dev-java/byte-buddy-agent/byte-buddy-agent-1.12.10.ebuild b/dev-java/byte-buddy-agent/byte-buddy-agent-1.12.10.ebuild
28 deleted file mode 100644
29 index dd14f79475bf..000000000000
30 --- a/dev-java/byte-buddy-agent/byte-buddy-agent-1.12.10.ebuild
31 +++ /dev/null
32 @@ -1,87 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -# Skeleton command:
37 -# java-ebuilder --generate-ebuild --workdir . --pom byte-buddy-agent-1.12.10.pom --download-uri https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-agent/1.12.10/byte-buddy-agent-1.12.10.jar --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-agent-1.12.10.ebuild
38 -
39 -EAPI=8
40 -
41 -JAVA_PKG_IUSE="doc source test"
42 -MAVEN_ID="net.bytebuddy:byte-buddy-agent:1.12.10"
43 -JAVA_TESTING_FRAMEWORKS="junit-4"
44 -
45 -inherit java-pkg-2 java-pkg-simple
46 -
47 -DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM"
48 -HOMEPAGE="https://bytebuddy.net/"
49 -SRC_URI="https://repo1.maven.org/maven2/net/bytebuddy/${PN}/${PV}/${P}-sources.jar
50 - test? ( https://github.com/raphw/byte-buddy/archive/byte-buddy-${PV}.tar.gz )"
51 -
52 -LICENSE="Apache-2.0"
53 -SLOT="0"
54 -KEYWORDS="amd64 ~arm arm64 ppc64 x86"
55 -
56 -# Compile dependencies
57 -# POM: ${P}.pom
58 -# com.google.code.findbugs:findbugs-annotations:3.0.1 -> >=dev-java/findbugs-annotations-3.0.1:0
59 -# com.google.code.findbugs:jsr305:3.0.2 -> >=dev-java/jsr305-3.0.2:0
60 -# net.java.dev.jna:jna:5.8.0 -> >=dev-java/jna-5.10.0:4
61 -# net.java.dev.jna:jna-platform:5.8.0 -> !!!artifactId-not-found!!!
62 -
63 -DEPEND="
64 - >=virtual/jdk-1.8:*
65 - dev-java/findbugs-annotations:0
66 - dev-java/jna:4
67 - test? ( dev-java/mockito:4 )
68 -"
69 -
70 -RDEPEND="
71 - >=virtual/jre-1.8:*
72 -"
73 -
74 -BDEPEND="app-arch/unzip"
75 -
76 -S="${WORKDIR}"
77 -
78 -JAVA_CLASSPATH_EXTRA="findbugs-annotations,jna-4"
79 -JAVA_SRC_DIR="src/main/java"
80 -
81 -JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
82 -JAVA_TEST_SRC_DIR="src/test/java"
83 -
84 -# 1) testSystemProperties(net.bytebuddy.agent.VirtualMachineAttachmentTest)
85 -# java.lang.reflect.InvocationTargetException
86 -# --
87 -# Caused by: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path (target/test-classes:byte-buddy-agent.jar:/usr/share/findbugs-annotations/lib/findbugs-annotations.jar:/usr/share/jna-4/lib/jna.jar:/usr/share/jna-4/lib/jna-platform.jar:/usr/share/jsr305/lib/jsr305.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/mockito-4/lib/mockito.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/byte-buddy-agent/lib/byte-buddy-agent.jar:/usr/share/objenesis/lib/objenesis.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar)
88 -# at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1059)
89 -# --
90 -# 2) testAgentProperties(net.bytebuddy.agent.VirtualMachineAttachmentTest)
91 -# java.lang.reflect.InvocationTargetException
92 -# --
93 -# Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
94 -# at net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaPosixSocket$Factory.<init>(VirtualMachine.java:879)
95 -# --
96 -# 3) testMultipleProperties(net.bytebuddy.agent.VirtualMachineAttachmentTest)
97 -# java.lang.reflect.InvocationTargetException
98 -# --
99 -# Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
100 -# at net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaPosixSocket$Factory.<init>(VirtualMachine.java:879)
101 -# --
102 -# 4) testAttachment(net.bytebuddy.agent.VirtualMachineAttachmentTest)
103 -# java.lang.reflect.InvocationTargetException
104 -# --
105 -# Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
106 -# at net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaPosixSocket$Factory.<init>(VirtualMachine.java:879)
107 -# --
108 -# FAILURES!!!
109 -# Tests run: 51, Failures: 4
110 -JAVA_TEST_EXCLUDES="net.bytebuddy.agent.VirtualMachineAttachmentTest"
111 -
112 -src_prepare() {
113 - default
114 - mkdir -p "src/main/java" || die
115 - mv "net" "src/main/java" || die
116 - if use test; then
117 - mv "byte-buddy-byte-buddy-${PV}/byte-buddy-agent/src/test" "src" || die
118 - fi
119 -}
120
121 diff --git a/dev-java/byte-buddy-agent/metadata.xml b/dev-java/byte-buddy-agent/metadata.xml
122 deleted file mode 100644
123 index 02d6cbf56ced..000000000000
124 --- a/dev-java/byte-buddy-agent/metadata.xml
125 +++ /dev/null
126 @@ -1,10 +0,0 @@
127 -<?xml version="1.0" encoding="UTF-8"?>
128 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
129 -<pkgmetadata>
130 - <maintainer type="project">
131 - <email>java@g.o</email>
132 - </maintainer>
133 - <upstream>
134 - <remote-id type="github">raphw/byte-buddy</remote-id>
135 - </upstream>
136 -</pkgmetadata>
137
138 diff --git a/profiles/package.mask b/profiles/package.mask
139 index 9ce0bb1156db..f74fc32de632 100644
140 --- a/profiles/package.mask
141 +++ b/profiles/package.mask
142 @@ -238,10 +238,6 @@ dev-ruby/travis
143 # bgpq4. Mostly you just need to drop the -3 argument.
144 net-misc/bgpq3
145
146 -# Volkmar W. Pogatzki <gentoo@××××××××.net> (2022-08-22)
147 -# Java library without consumers. Removal on 2022-09-22
148 -dev-java/byte-buddy-agent
149 -
150 # hololeap <hololeap@××××××××××.com> (2022-08-21)
151 # doctest-parallel does not currently work with Setup.hs (used internally by
152 # haskell-cabal.eclass)