Files
gentoo/dev-perl/JSON-WebToken/JSON-WebToken-0.100.0-r1.ebuild
Brett A C Sheffield e2598c3129 dev-perl/JSON-WebToken: set RDEPEND to fix test failure
RDEPEND on ~dev-perl/Crypt-OpenSSL-RSA-0.350.0 to fix test failure.

Fails with dev-perl/Crypt-OpenSSL-RSA-0.370.0 due to changes in padding
handling. Newer versions of dev-perl/Crypt-OpenSSL-RSA are preemptively
masked.  Pinning to this version buys us some time. Ultimately we'll
likely need to replace dev-perl/Crypt-OpenSSL-RSA with another RSA
provider.

Bug: https://bugs.gentoo.org/974868
Signed-off-by: Brett A C Sheffield <bacs@librecast.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/909
Merges: https://codeberg.org/gentoo/gentoo/pulls/909
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2026-08-08 22:21:55 +08:00

30 lines
573 B
Bash

# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR="XAICRON"
DIST_VERSION=0.10
inherit perl-module
DESCRIPTION="JSON Web Token (JWT) implementation"
SLOT="0"
KEYWORDS="~amd64"
# does not work with >dev-perl/Crypt-OpenSSL-RSA-0.350.0 (bug 974868)
RDEPEND="
>=dev-lang/perl-5.08.1
~dev-perl/Crypt-OpenSSL-RSA-0.350.0
dev-perl/JSON
dev-perl/Module-Runtime
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-perl/Module-Build
test? (
>=dev-perl/Test-Mock-Guard-0.10
>=dev-perl/Test-Requires-0.06
)
"