This commit is contained in:
Gerben Jan Dijkman 2024-06-06 10:27:54 +02:00
parent 538b9d4596
commit 6c9eda81e6
3 changed files with 57 additions and 0 deletions

3
dev-erlang/jose/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST erlang-jose-1.11.10.tar.gz 330654 BLAKE2B e397d233799d42ff4fd2e9c31e7eb921c322506eb30e86caabcb9aae7b6f259a668e4a1027cd5b1fc647c46eaf54e575f6f38d64db0b6bbd0a1911709eccae36 SHA512 cddf868c360126a01727c19ac8bb4de3a0ebba191f84b6907da72666e1d29abaccfa2717527f8ec633c711e84771805b0ec1ad5f5b8f33df16ac2622e4b8e35d
DIST erlang-jose-1.11.2.tar.gz 281313 BLAKE2B 14b7cb9a690fb960c3b2bd90c64ce0d13309abab26250346de5d5ab5d58eab56bcac09f3b91e74bb6c982c33bb557bf4b992c3da62e3c107dc4b3caa175c2feb SHA512 8a9edbda0150b110f1394fb8f4ad57878d2562c6bb1c17938e69b49ff224ed347cb8d325750bae7b61c9cc2ce2c5d089f963e369c8c74f6a2a55cef963f813a5
DIST erlang-jose-1.11.5.tar.gz 327036 BLAKE2B 83bdb9259f8a231bc976ba2b5be1fb39c6fcef3270eb352c6ea4e29857213e809306b210af571ebdb15e7475ceae15b24e9d0508aa405436c3acf0c1304eeec5 SHA512 2d1a293dbe63ce7dc32a07929f30580f47db468e540bc28433971a362feb3b19ef65caf11d74ddd7cd80a5be80e22ab4d0752a9bf248ac60f8f05c69e51ba1a0

View File

@ -0,0 +1,22 @@
From 1276055798cdfc19f1ac211dcd4c3b2ef605c4ef Mon Sep 17 00:00:00 2001
From: Gerben Jan Dijkman <gjdijkman@gjdwebserver.nl>
Date: Thu, 6 Jun 2024 10:25:14 +0200
Subject: [PATCH] Removed warnings_as_errors
---
rebar.config | 1 -
1 file changed, 1 deletion(-)
diff --git a/rebar.config b/rebar.config
index 4dbf68a..e45d2f0 100644
--- a/rebar.config
+++ b/rebar.config
@@ -2,5 +2,4 @@
%% vim: ts=4 sw=4 ft=erlang noet
{erl_opts, [
debug_info,
- warnings_as_errors
]}.
--
2.44.2

View File

@ -0,0 +1,32 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit rebar
DESCRIPTION="JSON Object Signing and Encryption (JOSE) for Erlang and Elixir"
HOMEPAGE="https://github.com/potatosalad/erlang-jose"
SRC_URI="
https://github.com/potatosalad/erlang-jose/archive/${PV}.tar.gz
-> erlang-${P}.tar.gz
"
S="${WORKDIR}/erlang-${P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
DEPEND=">=dev-lang/erlang-19.0"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/0001-Removed-warnings_as_errors.patch
)
DOCS=( ALGORITHMS.md CHANGELOG.md README.md examples/KEY-GENERATION.md )
# TODO: jose has test suite, but it require lots of dependencies. It may not be
# TODO: urgent, but it would be nice to have those sooner or later.
RESTRICT=test