Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-erlang/p1_oauth2/
Date: Tue, 01 Jun 2021 09:36:08
Message-Id: 1622540135.ac5c19afd0196d3c186ea1c5eb15e71b03141dcf.sam@gentoo
1 commit: ac5c19afd0196d3c186ea1c5eb15e71b03141dcf
2 Author: Florian Schmaus <flo <AT> geekplace <DOT> eu>
3 AuthorDate: Thu Apr 8 06:58:55 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 1 09:35:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5c19af
7
8 dev-erlang/p1_oauth2: add 0.6.9
9
10 Bug: https://bugs.gentoo.org/766686
11 Signed-off-by: Florian Schmaus <flo <AT> geekplace.eu>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-erlang/p1_oauth2/Manifest | 1 +
15 dev-erlang/p1_oauth2/p1_oauth2-0.6.9.ebuild | 36 +++++++++++++++++++++++++++++
16 2 files changed, 37 insertions(+)
17
18 diff --git a/dev-erlang/p1_oauth2/Manifest b/dev-erlang/p1_oauth2/Manifest
19 index 48a6cf24b28..07b0557a507 100644
20 --- a/dev-erlang/p1_oauth2/Manifest
21 +++ b/dev-erlang/p1_oauth2/Manifest
22 @@ -1,2 +1,3 @@
23 DIST p1_oauth2-0.6.6.tar.gz 213866 BLAKE2B 2b7ff13697658c6ab31a2cab60100758d965ae0f3cbeb878539e42210e54e7cf33a458c645e432790f79ba3fa92ab35a5d6d6136edc14369ac6d8872e16d7f69 SHA512 9680bc96608bc486165d5f77cf6e92e5f9257e0dbea718c739563556c2b485f67152dcd99cbe228addd34b33b2dd6cc9eacc3827f269412f705acd14b2522952
24 DIST p1_oauth2-0.6.7.tar.gz 213885 BLAKE2B 42f363b3afec9368957bd788f43359a40a5929b7efb22078681caa8827fdb315f4b0063c3004b92bd92da2664d37b860d606e8c14124fe3d214fed2219e98117 SHA512 485db5926f11759ee447e40d2d2e3a9c66f949510b40adeb0c90ab9deac500dd01178e9b65cea6044e389af3881ad3a300222bd879b69b3a55d84ba3d718a166
25 +DIST p1_oauth2-0.6.9.tar.gz 214329 BLAKE2B 8c8d0d9186d54099834a1b150699940e19dc2de7c194f96169fd5bb518fd515688071405b8f238ecfd91fffe1d42d22ddf70fe5850bd72cc80dade384fa94c46 SHA512 30f912e82c035bbaec6dd1b25908426f587a9fc8f401d47ac95d508b426d3d5ea3f77c798dc8c6d4e171dc309cc18748629615671a9fee0fc01f3328133427fe
26
27 diff --git a/dev-erlang/p1_oauth2/p1_oauth2-0.6.9.ebuild b/dev-erlang/p1_oauth2/p1_oauth2-0.6.9.ebuild
28 new file mode 100644
29 index 00000000000..38172b52368
30 --- /dev/null
31 +++ b/dev-erlang/p1_oauth2/p1_oauth2-0.6.9.ebuild
32 @@ -0,0 +1,36 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit rebar
39 +
40 +DESCRIPTION="Erlang OAuth 2.0 implementation"
41 +HOMEPAGE="https://github.com/processone/p1_oauth2"
42 +SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
43 + -> ${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +CDEPEND=">=dev-lang/erlang-17.1"
52 +DEPEND="${CDEPEND}
53 + test? (
54 + >=dev-erlang/meck-0.8.7
55 + >=dev-erlang/proper-1.3
56 + )"
57 +RDEPEND="${CDEPEND}"
58 +
59 +DOCS=( CHANGELOG.md README.md )
60 +
61 +src_prepare() {
62 + rebar_src_prepare
63 + rebar_remove_deps rebar.test.config
64 +}
65 +
66 +src_test() {
67 + erebar -C rebar.test.config compile eunit
68 +}