summaryrefslogtreecommitdiff
path: root/dev-java/bcprov
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/bcprov')
-rw-r--r--dev-java/bcprov/Manifest2
-rw-r--r--dev-java/bcprov/bcprov-1.69.ebuild23
2 files changed, 23 insertions, 2 deletions
diff --git a/dev-java/bcprov/Manifest b/dev-java/bcprov/Manifest
index 193629b4af23..255aa6f9e9c2 100644
--- a/dev-java/bcprov/Manifest
+++ b/dev-java/bcprov/Manifest
@@ -8,5 +8,5 @@ EBUILD bcprov-1.50-r2.ebuild 1345 BLAKE2B 6e0103ebcfa6a52bdba02bb40f7085d0361b98
EBUILD bcprov-1.50-r4.ebuild 1326 BLAKE2B dbd3892976d4eaff7e3af566e13c5f38d5b74bf27cbb3290f3846d560dd0393156c41e6fd92f435ca6bf6609692c195c75743f6c87698bf99cb843369ad7ee92 SHA512 7dfed9b2cae7ea3914278b7be298e517796d8623a33109dbb62ddc87b6d284bcaadf4f4b88d890a1bb8d9447c3b6dfdc80239bdf0b3d5b74e3b96bf99a9485f2
EBUILD bcprov-1.52-r2.ebuild 1350 BLAKE2B 145f54219d8596d18127ceb1b626bae03bd4cceec442a1e04c5f8f64ce53017ddeb78e2dc33e9d781123e8392dbd249914cd9614f6da6c010665950b8fb1f6a1 SHA512 cd874722a978e52fda5ee92424cd8a0b430c9b9e4c6ab797fa1b0bd63cea199e0f40d4cb4ae1a62d2eb22921665e6580cebe7ec7f5c681ffc349f73b4d9cd334
EBUILD bcprov-1.68-r2.ebuild 1166 BLAKE2B f8ffaf33eaa23a1ce5938a6b5f6412d605826536551735d919fe091aab221e6a4e70b1e23fa117098c3d6c2d316ea85061c86b373911e87a502a16a86d42dacf SHA512 3f992af0e197f0a020606b7023ea44354ffeffde3856cf1fc5711ee9c313cc129351134f92f666849110f164fe77405c1a2e58acc6279310374ef4dad9abf341
-EBUILD bcprov-1.69.ebuild 2469 BLAKE2B 037e181b2f575595135ed39f72a5def6b4498f64ecb483b3c85681076586dca3b3a7d58cd374bc2c90e21ed91ce86263bf94d054814479c9b1fc47326dd16a36 SHA512 eb0f703a83f7156f76ff460ed26a0c1754bdc41c2dbcff9df766167688930b2c4d20806d08dd8f539738f61eb5d8026ce183c60a20ea36c2a20a3f9ecde4602e
+EBUILD bcprov-1.69.ebuild 2756 BLAKE2B e0ba31cea128853e35eff55363c00766f0ddb63f007b9d1ce16491ef3038469d6bcd62684a52235a695a7873fcf84290c3afc036ea4a10216e5fd35755057072 SHA512 e58d7b357994f68492ce13db7c591e182894c908bfa811b787d20128881d0a65f2acf732111bea9fc60beb89ae9c0d50fa3b98a8b9968d6ea53f56ddf85716eb
MISC metadata.xml 482 BLAKE2B 0afc6ceb6e81b57040e44020b919d226bd8d9ae3eb64bb4955a31c23f929712db16c0c2245dad2dbd7750ec20d0794af53ba05fc7411cf19445daee331b1f21d SHA512 1c342946be63fe9caf6905074d8590b60c1044ef8a6b89714a33b8e97f3ab70409748a697453d23f7b8d3c27ccf14dc8f3be84fb36cc5f810c30b54ce6118b06
diff --git a/dev-java/bcprov/bcprov-1.69.ebuild b/dev-java/bcprov/bcprov-1.69.ebuild
index 7849fe08b47e..81cc3229bc03 100644
--- a/dev-java/bcprov/bcprov-1.69.ebuild
+++ b/dev-java/bcprov/bcprov-1.69.ebuild
@@ -7,7 +7,7 @@ JAVA_PKG_IUSE="doc source test"
MAVEN_ID="org.bouncycastle:bcprov-jdk15on:1.69"
JAVA_TESTING_FRAMEWORKS="junit-4"
-inherit java-pkg-2 java-pkg-simple
+inherit java-pkg-2 java-pkg-simple check-reqs
DESCRIPTION="Java cryptography APIs"
HOMEPAGE="https://www.bouncycastle.org/java.html"
@@ -55,12 +55,33 @@ JAVA_TEST_RUN_ONLY=(
"org.bouncycastle.util.encoders.test.AllTests" # OK (15 tests)
)
+check_env() {
+ if use test; then
+ # this is needed only for tests
+ CHECKREQS_MEMORY="1200M"
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_pretend() {
+ check_env
+}
+
+pkg_setup() {
+ check_env
+}
+
src_prepare() {
default
cd ../ || die
java-pkg_clean
}
+src_test() {
+ JAVA_TEST_EXTRA_ARGS+=" -Xmx${CHECKREQS_MEMORY}"
+ java-pkg-simple_src_test
+}
+
src_install() {
default
einstalldocs