diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-09 02:07:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-09 02:07:41 +0000 |
commit | 1a95f960273f276a4fdefb824336b073d83bcb5e (patch) | |
tree | 6adc7118c038d948a0e44ceb3095e09bc2cbe488 /dev-java/stringprep | |
parent | 494168b06b81a32b889c3cb1f721f925d0a6824f (diff) |
gentoo auto-resync : 09:12:2024 - 02:07:41
Diffstat (limited to 'dev-java/stringprep')
-rw-r--r-- | dev-java/stringprep/Manifest | 4 | ||||
-rw-r--r-- | dev-java/stringprep/metadata.xml | 1 | ||||
-rw-r--r-- | dev-java/stringprep/stringprep-2.2.ebuild | 55 |
3 files changed, 59 insertions, 1 deletions
diff --git a/dev-java/stringprep/Manifest b/dev-java/stringprep/Manifest index 6eaf4d2e657d..c3d850b4caff 100644 --- a/dev-java/stringprep/Manifest +++ b/dev-java/stringprep/Manifest @@ -1,3 +1,5 @@ DIST stringprep-1.1-sources.jar 23229 BLAKE2B f347262c7b3a7632c94111226333e964b51a3bb8af357b79a62e1f457c5fccd845cb2d232f8d3cca4fc149c2341b962724397eff53224ade10f492a17298a00c SHA512 88cec43ad19a7a2a6194a62999fecb35e17ff04127d72fb0990f4003e41af1d3a5aeb8b2cc3c0c87165cdcb005963faf244f05d78c6f00aac0ab1835d336e565 +DIST stringprep-2.2.tar.gz 89428 BLAKE2B 1453bc3f6ffcf2cbb245c1e18bec1d3b0f7955f63727370c8dfce3e94bce2d880b6c24b91c59b52cbc8bc42330324ae3be7e750d3ecddfa04fd711bdbd171ef3 SHA512 ccaa184016c202b0343f15ce00e91b39d6f1d759904e501d67854142527fb96cf0accf8ef49fda463a0be5257ca3a6ea68f09661dba26ae9c0c25ad80af8ecb4 EBUILD stringprep-1.1.ebuild 566 BLAKE2B d76f5873df4a41cf89a79468487b56d6644ce28a8e93c421a02e08dd98a26744e7fdb9f9167fbf9aa0c9b6c6c7766dbed640c0f82b5afc88a7a5d74927f6d20c SHA512 7509bc12e7a0e0583a11760db482efc61f7fab60a38db950366957f783205759a97adb4e73c8a21d50af6ae72bc78123ed1f5ce2aec329d47064bae5f0a4feaf -MISC metadata.xml 302 BLAKE2B 1ba5ecccffdf30c77547b5a8175b72e9cfdb6e195f635a6223b794bd9740bc98c5b498b97bc36758ebd9ddf0a280f1f38b4f43131cc66c113aca8fa90ad65f55 SHA512 191e87275c4a46652dcf954e066ea5d7508726d61ab4f07d839431346bf08dc1bef1e427c3d2e894d0fd53060225f09785e2654d41574ab09c35aa922da89ae7 +EBUILD stringprep-2.2.ebuild 1366 BLAKE2B 490a2dcd2ac679f09a7431bfdb1831a448ea85047f6e24bb98999f76e25a0c0d140ee4522b5a8d0168f6b6ec4034035bb71832ee3d931ab982962495d5362123 SHA512 a43e7e932f0cbe2ecd6986468c8fd623e9d00b136ce900331bbc4c3933e36cc3e365dae7ac2ddc55adb35ff60315043275bdb70967f8b843352e08d09561ef8f +MISC metadata.xml 359 BLAKE2B 71111f85201eddcdf76f466e3f87d29bf4243ec982333299eb80d34b4f16163e1c891a39bd23387f72b6c2a8e1202dcb716b657f8bfbf888d1b756eb1f9760e5 SHA512 39e6f6adeb3f9fd166bb7bf76196ea9aa040dc6dbe3ac1d71418b899ac704caf6533910731909e070e1b9a964f365bc786c6ceebe3340522211b34f4e865d34d diff --git a/dev-java/stringprep/metadata.xml b/dev-java/stringprep/metadata.xml index e870bae78b8b..13bb9fdc9f53 100644 --- a/dev-java/stringprep/metadata.xml +++ b/dev-java/stringprep/metadata.xml @@ -6,5 +6,6 @@ </maintainer> <upstream> <remote-id type="gitlab">ongresinc/stringprep</remote-id> + <remote-id type="github">ongres/stringprep</remote-id> </upstream> </pkgmetadata> diff --git a/dev-java/stringprep/stringprep-2.2.ebuild b/dev-java/stringprep/stringprep-2.2.ebuild new file mode 100644 index 000000000000..0c0be2c3c2c4 --- /dev/null +++ b/dev-java/stringprep/stringprep-2.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# tests are wip +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.ongres.stringprep:stringprep:2.2" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Stringprep (RFC 3454) Java implementation" +HOMEPAGE="https://gitlab.com/ongresinc/stringprep" +SRC_URI="https://github.com/ongres/stringprep/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-11:*" # module-info +RDEPEND=">=virtual/jre-1.8:*" + +JAVADOC_SRC_DIRS=( {string,name,sasl}prep/src/main/java ) + +src_compile() { + mkdir -p target/classes || die + local module + for module in stringprep nameprep saslprep; do + einfo "Compiling ${module}" + JAVA_JAR_FILENAME="${module}.jar" + JAVA_SRC_DIR=( "${module}"/src/main/java{,9} ) + if [[ -d "${module}/src/main/resources" ]]; then + JAVA_RESOURCE_DIRS="${module}/src/main/resources" + fi + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":${module}.jar" + rm -r target || die + done + + use doc && ejavadoc +} + +src_install() { + JAVA_JAR_FILENAME="stringprep.jar" + java-pkg-simple_src_install + java-pkg_dojar {name,sasl}prep.jar + + local module + for module in stringprep nameprep saslprep; do + if use source; then + java-pkg_dosrc "${module}/src/main/java/*" + fi + done +} |