commit: 35ba07cb530c82ab2888112575fed1a1afce6907
parent: 6a96bf0961f0663bb1fcd058832e12a348f1f409
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 15 Jun 2019 20:51:00 +0200
dev-erlang/base64url: Move ::gentoo one to rebar3
Diffstat:
4 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/dev-erlang/base64url/Manifest b/dev-erlang/base64url/Manifest
@@ -0,0 +1 @@
+DIST base64url-1.0.tar.gz 2759 BLAKE2B 7a9e1c4bd5343af2556b21255fed82375400088b461ad6aa5b308c49eb5fefe3597419a6cc6990ad8e29a11f4ac8814624f7c043ca19cecdfc1a4822e230693f SHA512 f9f5062d8a45c5d0fbfb7179359137e88a1af10e29c1329506446d2142331176f6be2aa30387e4c98855440c1da943ea16a655ed2ad5168d4f5f8a2cd1c47c5f
diff --git a/dev-erlang/base64url/base64url-1.0-r1.ebuild b/dev-erlang/base64url/base64url-1.0-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit rebar3
+
+DESCRIPTION="URL safe base64-compatible codec"
+HOMEPAGE="https://github.com/dvv/base64url"
+SRC_URI="https://github.com/dvv/base64url/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=dev-lang/erlang-17.1"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md )
+PATCHES=( "${FILESDIR}/base64url-1.0-update_for_rebar3.patch" )
diff --git a/dev-erlang/base64url/files/base64url-1.0-update_for_rebar3.patch b/dev-erlang/base64url/files/base64url-1.0-update_for_rebar3.patch
@@ -0,0 +1,25 @@
+From 1f2510c7407a63136348a136082b8699bab13209 Mon Sep 17 00:00:00 2001
+From: Vladimir Dronnikov <dronnikov@gmail.com>
+Date: Thu, 30 May 2019 09:10:25 +0300
+Subject: [PATCH] update for rebar3
+
+---
+ rebar.config | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/rebar.config b/rebar.config
+index b3028a1..fed22ef 100644
+--- a/rebar.config
++++ b/rebar.config
+@@ -1,5 +1,3 @@
+-{lib_dirs, ["deps"]}.
+-
+ {erl_opts, [
+ debug_info,
+ warn_format,
+@@ -7,5 +5,3 @@
+ warn_obsolete_guard,
+ warn_bif_clash
+ ]}.
+-
+-{cover_enabled, true}.
diff --git a/dev-erlang/base64url/metadata.xml b/dev-erlang/base64url/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>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dvv/base64url</remote-id>
+ </upstream>
+</pkgmetadata>