commit:     1caa504d29e682992f287e15d649ceac986ae18b
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 25 08:44:54 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 06:23:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1caa504d

dev-tex/pdfannotextractor: fix typo s/COMMIN/COMMON, do not use CP_DEPEND

Closes: https://bugs.gentoo.org/934659
Closes: https://github.com/gentoo/gentoo/pull/37290
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 ...xtractor-0.2-r1.ebuild => pdfannotextractor-0.2-r2.ebuild} | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r1.ebuild 
b/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild
similarity index 93%
rename from dev-tex/pdfannotextractor/pdfannotextractor-0.2-r1.ebuild
rename to dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild
index f00e284e201a..2e8ffce4d1fc 100644
--- a/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r1.ebuild
+++ b/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild
@@ -24,9 +24,6 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~x64-macos"
 
-CP_DEPEND="
-       dev-java/commons-logging:0
-"
 COMMON_DEPEND="virtual/latex-base"
 DEPEND="
        ${COMMON_DEPEND}
@@ -34,8 +31,8 @@ DEPEND="
 "
 BDEPEND="app-arch/unzip"
 RDEPEND="
-       ${CP_DEPEND}
-       ${COMMIN_DEPEND}
+       dev-java/commons-logging:0
+       ${COMMON_DEPEND}
        virtual/perl-Getopt-Long
        dev-perl/File-Which
        >=virtual/jre-11
@@ -43,9 +40,6 @@ RDEPEND="
 "
 
 JAVA_ANT_REWRITE_CLASSPATH="true"
-EANT_GENTOO_CLASSPATH="
-       commons-logging
-"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-0.2-javajars.patch
@@ -69,6 +63,7 @@ src_compile() {
 src_install() {
        java-pkg_dojar scripts/pax.jar pdfbox.jar fontbox.jar
        java-pkg_dolauncher ${PN} --main pax.PDFAnnotExtractor
+       java-pkg_addcp "$(java-pkg_getjars --runtime-only --with-dependencies 
commons-logging)"
 
        insinto ${TEXMF}/latex/pax
        doins tex/pax.sty

Reply via email to