diff options
Diffstat (limited to 'dev-erlang')
-rw-r--r-- | dev-erlang/p1_oauth2/Manifest | 1 | ||||
-rw-r--r-- | dev-erlang/p1_oauth2/p1_oauth2-0.6.7.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-erlang/p1_oauth2/Manifest b/dev-erlang/p1_oauth2/Manifest index 1a7930537b7c..48a6cf24b289 100644 --- a/dev-erlang/p1_oauth2/Manifest +++ b/dev-erlang/p1_oauth2/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-erlang/p1_oauth2/p1_oauth2-0.6.7.ebuild b/dev-erlang/p1_oauth2/p1_oauth2-0.6.7.ebuild new file mode 100644 index 000000000000..42c445437f3e --- /dev/null +++ b/dev-erlang/p1_oauth2/p1_oauth2-0.6.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 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 +} |