dev-erlang/jose: Add new package

It's required by new version of ejabberd.

Thanks to Rion <rion4ik@gmail.com>.

Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
This commit is contained in:
Amadeusz Piotr Żołnowski
2018-10-10 21:59:16 +01:00
parent 29c2bb2b0b
commit 976aeebd47
3 changed files with 40 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST erlang-jose-1.8.4.tar.gz 230947 BLAKE2B 18bfd6b710295575d0547afcc866674f2c65fec2742ee4dedbbe7a883fef45a9abbccfc669c90d75f5091e70b91bd7b478f4fea5d3beaa3f65510d92db07da39 SHA512 47171b4e5f6b61735a15365b4130c110c14de1f4b157cdbf97b448550d48de4ab27a30537e9d9f613d87862d592b3bd95638daacee60f3f5b9877d80a3de773b

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-lang/erlang-17.1
>=dev-erlang/base64url-0.1"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.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
S="${WORKDIR}/erlang-${P}"

View File

@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>aidecoe@gentoo.org</email>
<name>Amadeusz Żołnowski</name>
</maintainer>
<upstream>
<remote-id type="github">potatosalad/erlang-jose</remote-id>
</upstream>
</pkgmetadata>