summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flo@geekplace.eu>2021-04-08 08:58:55 +0200
committerSam James <sam@gentoo.org>2021-06-01 09:35:35 +0000
commitac5c19afd0196d3c186ea1c5eb15e71b03141dcf (patch)
tree356e22575552a8ec416212fc60f51fb2b1a11c69 /dev-erlang
parentdev-erlang/p1_mysql: add 1.0.18 (diff)
downloadgentoo-ac5c19afd0196d3c186ea1c5eb15e71b03141dcf.tar.gz
gentoo-ac5c19afd0196d3c186ea1c5eb15e71b03141dcf.tar.bz2
gentoo-ac5c19afd0196d3c186ea1c5eb15e71b03141dcf.zip
dev-erlang/p1_oauth2: add 0.6.9
Bug: https://bugs.gentoo.org/766686 Signed-off-by: Florian Schmaus <flo@geekplace.eu> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-erlang')
-rw-r--r--dev-erlang/p1_oauth2/Manifest1
-rw-r--r--dev-erlang/p1_oauth2/p1_oauth2-0.6.9.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-erlang/p1_oauth2/Manifest b/dev-erlang/p1_oauth2/Manifest
index 48a6cf24b289..07b0557a507d 100644
--- a/dev-erlang/p1_oauth2/Manifest
+++ b/dev-erlang/p1_oauth2/Manifest
@@ -1,2 +1,3 @@
DIST p1_oauth2-0.6.6.tar.gz 213866 BLAKE2B 2b7ff13697658c6ab31a2cab60100758d965ae0f3cbeb878539e42210e54e7cf33a458c645e432790f79ba3fa92ab35a5d6d6136edc14369ac6d8872e16d7f69 SHA512 9680bc96608bc486165d5f77cf6e92e5f9257e0dbea718c739563556c2b485f67152dcd99cbe228addd34b33b2dd6cc9eacc3827f269412f705acd14b2522952
DIST p1_oauth2-0.6.7.tar.gz 213885 BLAKE2B 42f363b3afec9368957bd788f43359a40a5929b7efb22078681caa8827fdb315f4b0063c3004b92bd92da2664d37b860d606e8c14124fe3d214fed2219e98117 SHA512 485db5926f11759ee447e40d2d2e3a9c66f949510b40adeb0c90ab9deac500dd01178e9b65cea6044e389af3881ad3a300222bd879b69b3a55d84ba3d718a166
+DIST p1_oauth2-0.6.9.tar.gz 214329 BLAKE2B 8c8d0d9186d54099834a1b150699940e19dc2de7c194f96169fd5bb518fd515688071405b8f238ecfd91fffe1d42d22ddf70fe5850bd72cc80dade384fa94c46 SHA512 30f912e82c035bbaec6dd1b25908426f587a9fc8f401d47ac95d508b426d3d5ea3f77c798dc8c6d4e171dc309cc18748629615671a9fee0fc01f3328133427fe
diff --git a/dev-erlang/p1_oauth2/p1_oauth2-0.6.9.ebuild b/dev-erlang/p1_oauth2/p1_oauth2-0.6.9.ebuild
new file mode 100644
index 000000000000..38172b523688
--- /dev/null
+++ b/dev-erlang/p1_oauth2/p1_oauth2-0.6.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit rebar
+
+DESCRIPTION="Erlang OAuth 2.0 implementation"
+HOMEPAGE="https://github.com/processone/p1_oauth2"
+SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+CDEPEND=">=dev-lang/erlang-17.1"
+DEPEND="${CDEPEND}
+ test? (
+ >=dev-erlang/meck-0.8.7
+ >=dev-erlang/proper-1.3
+ )"
+RDEPEND="${CDEPEND}"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_prepare() {
+ rebar_src_prepare
+ rebar_remove_deps rebar.test.config
+}
+
+src_test() {
+ erebar -C rebar.test.config compile eunit
+}