diff options
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/Manifest.gz | bin | 48562 -> 48561 bytes | |||
-rw-r--r-- | app-text/pdftk/Manifest | 2 | ||||
-rw-r--r-- | app-text/pdftk/pdftk-3.3.3.ebuild | 82 |
3 files changed, 84 insertions, 0 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz Binary files differindex be1095221265..052eaed73653 100644 --- a/app-text/Manifest.gz +++ b/app-text/Manifest.gz diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest index ef68f16e4a8d..d2136c272c82 100644 --- a/app-text/pdftk/Manifest +++ b/app-text/pdftk/Manifest @@ -1,6 +1,8 @@ DIST pdftk-v3.3.2.tar.bz2 2169492 BLAKE2B 53cb98fe3e3d1dbe8b01a45b5b11c6fbe57017ea8029efe35677914a48ffd446c5d67621443a89f512b15d0f7e77a81c945d4c220ccaf4fd658cc1726cc32059 SHA512 b02c713b67531205e760e8d8a240a82af47dbdc28e59aa683e03772d2fb27b504b98f8be1e8dc73bfc967cc9532f3dc1eccbd105abb21db396268855233051eb DIST pdftk-v3.3.2.tar.gz 2343475 BLAKE2B cfa3cac4b78695d757e9cd3ba02f2a3e304343c481a44b0b6165e239d90e5ef72be3385faa1a72cd36194844f441fd1e93194e8d815807d2d0b364d0421553d2 SHA512 44056737e3b9b3cb988f46e96a0f3ec13193cfc662946f6def93add0ed56608fc026181254165440f1172e9fdda00771c3c018c20bf20ce87dad322fc1394893 +DIST pdftk-v3.3.3.tar.gz 2380289 BLAKE2B b370777f5b87706ed811e424214db23b5622ef4e2420fe00c7e5e7d03fb51314589e7a1588d911c0734c075612adab9af17a1ad4ddcaac7a5dfc407c1aa28392 SHA512 2fd8dce8787856955984d6396ccb9a57d4e7a255cd74f10b31a7d87c84fac80143c0067d76bf6d8c0ec1a55dfb7d1e90f4898706e8ae26ccdf657b38d88e6cd6 EBUILD pdftk-3.3.2-r1.ebuild 1895 BLAKE2B 57ba5000ff92378cdfec0e0986fe625fff0fb1b1e11ef672def4dc6010ad8ffa0b9248cfaa9a68cd3e140d09f030476b9ba05644209941a8e7a25e04dbaf3a88 SHA512 d55b65838be4c8d41dd72186e2586cafd9526f25551e233e17c87e004f68425cc758e3717158b063678e6dfc45edfe44371df178eb0515d253c1065a64259301 EBUILD pdftk-3.3.2.ebuild 904 BLAKE2B d51e397e8d255e08c859516bf94f31516ae6c7d819ff86ca178b53b49bf37e6afe5306b213b5f07e779c139e728014038d6bdf70ca8f36fc088675ebbdddb4ad SHA512 1c0a7cd38337a472350b70a2654d63fec064b2d6313081dc7f69f797bf8f525218003eba7d0b8586790e4f773760ad56acdb11d2e11639580764c0442551077f +EBUILD pdftk-3.3.3.ebuild 1928 BLAKE2B 8725c68ba81f82edecf7c4794bda714724d70b0d16490b2ba4b7b18e44d2c912766537bb0b72c5cefdf98a075e29e6c61d2c51ac7efb86d558d45d4bfff436bf SHA512 50f8b16a2b2f9809cf4e96069fc50d40b34578586046ecb56a4f560668bc8a0a5656b738c45b6a21948fad35d29665945813600c3b1a082367f649e808a77987 EBUILD pdftk-9999.ebuild 906 BLAKE2B bbc5a168431ff4f4f8a51ee581c1dde06c3044212be071360168a7f192cf7f257fa3b0bf966cc66532763b3cbe5ac74fca56de276f8afbf17cfe49fa7a837a5a SHA512 312c2f2bfb40abc41c2b67f96ecb54b1cdaeeb083dffb2d395e5fb757e56b7b1d128850f64c6427a4066734a2cf33d29ebbf3841497cbc8a106edb1c305de55a MISC metadata.xml 349 BLAKE2B 3fd6e82540ef8da6c46195a90af4638d914e5f3f6a1e6f3e3dbf0bfb940f23ed7b26578185219ef1fd00f069bb38a308056a39edea7661e263ac523c3bd40a2e SHA512 364f75cc6a80de2e1d517b094c1073fab7fc10738182d1fb37f0723fdcfc5238704f905a0f6ec8e373e1a91f2a7ad0990891beb26f94010eab13e8f688d230ad diff --git a/app-text/pdftk/pdftk-3.3.3.ebuild b/app-text/pdftk/pdftk-3.3.3.ebuild new file mode 100644 index 000000000000..986693f78055 --- /dev/null +++ b/app-text/pdftk/pdftk-3.3.3.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.gitlab.pdftk-java:pdftk-java:3.3.3" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A port of pdftk into java" +HOMEPAGE="https://gitlab.com/pdftk-java/pdftk" +SRC_URI="https://gitlab.com/pdftk-java/pdftk/-/archive/v${PV}/pdftk-v${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + dev-java/bcprov:0 + dev-java/commons-lang:3.6 +" + +# Compile dependencies +# POM: pom.xml +# test? com.github.stefanbirkner:system-rules:1.19.0 -> !!!groupId-not-found!!! +# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} + test? ( + app-text/poppler[cairo] + dev-java/system-rules:0 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND}" + +DOCS=( CHANGELOG.md README.md ) + +S="${WORKDIR}/${PN}-v${PV}" + +JAVA_LAUNCHER_FILENAME="${PN}" +JAVA_MAIN_CLASS="com.gitlab.pdftk_java.pdftk" +JAVA_SRC_DIR="java" +JAVA_RESOURCE_DIRS="resources/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4,system-rules" +JAVA_TEST_SRC_DIR="test" + +src_prepare() { + default + mkdir resources || die + cp -r {,resources/}java || die + rm -r resources/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/codec || die + find resources/java -type f \( -name '*.java' -o -name '*.sh' \) -exec rm -rf {} + || die +} + +src_test() { + # some tests seem to need special treatment + einfo "Runnig first test" + JAVA_TEST_RUN_ONLY=( + com.gitlab.pdftk_java.CatTest + com.gitlab.pdftk_java.DataTest + com.gitlab.pdftk_java.FormTest + com.gitlab.pdftk_java.MultipleTest + ) + java-pkg-simple_src_test + einfo "Running second test" + JAVA_TEST_RUN_ONLY=() + JAVA_TEST_EXCLUDES=( + com.gitlab.pdftk_java.CatTest + com.gitlab.pdftk_java.DataTest + com.gitlab.pdftk_java.FormTest + com.gitlab.pdftk_java.MultipleTest + ) + java-pkg-simple_src_test +} |