summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2018-10-10 21:59:16 +0100
committerAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2018-10-16 22:10:22 +0100
commit976aeebd477c90fbf10681d7669403ce4696ca55 (patch)
tree5e1e7bd778ab3068577b27ea3b6f1fe7557d8f02 /dev-erlang
parentprofiles: Drop unmasking of openmax (diff)
downloadgentoo-976aeebd477c90fbf10681d7669403ce4696ca55.tar.gz
gentoo-976aeebd477c90fbf10681d7669403ce4696ca55.tar.bz2
gentoo-976aeebd477c90fbf10681d7669403ce4696ca55.zip
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>
Diffstat (limited to 'dev-erlang')
-rw-r--r--dev-erlang/jose/Manifest1
-rw-r--r--dev-erlang/jose/jose-1.8.4.ebuild28
-rw-r--r--dev-erlang/jose/metadata.xml11
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-erlang/jose/Manifest b/dev-erlang/jose/Manifest
new file mode 100644
index 000000000000..124e9062757a
--- /dev/null
+++ b/dev-erlang/jose/Manifest
@@ -0,0 +1 @@
+DIST erlang-jose-1.8.4.tar.gz 230947 BLAKE2B 18bfd6b710295575d0547afcc866674f2c65fec2742ee4dedbbe7a883fef45a9abbccfc669c90d75f5091e70b91bd7b478f4fea5d3beaa3f65510d92db07da39 SHA512 47171b4e5f6b61735a15365b4130c110c14de1f4b157cdbf97b448550d48de4ab27a30537e9d9f613d87862d592b3bd95638daacee60f3f5b9877d80a3de773b
diff --git a/dev-erlang/jose/jose-1.8.4.ebuild b/dev-erlang/jose/jose-1.8.4.ebuild
new file mode 100644
index 000000000000..ac1b010be61f
--- /dev/null
+++ b/dev-erlang/jose/jose-1.8.4.ebuild
@@ -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}"
diff --git a/dev-erlang/jose/metadata.xml b/dev-erlang/jose/metadata.xml
new file mode 100644
index 000000000000..aded353904a2
--- /dev/null
+++ b/dev-erlang/jose/metadata.xml
@@ -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>