dev-erlang/p1_oauth2: Add new package

It is debundled from net-im/ejabberd-16.04 and therefore inherits
keywords from ejabberd: ~amd64, ~arm, ~ppc and ~x86. ~ia64 and ~sparc
are not inherited because other dependency is missing these keywords and
there's no chance it can get them any time soon.

Package-Manager: portage-2.3.0_rc1
This commit is contained in:
Amadeusz Żołnowski
2016-06-06 23:17:10 +01:00
parent ff26cc6cad
commit d11c22db4e
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST p1_oauth2-0.6.1.tar.gz 212804 SHA256 86e4d93f0206135bc6017b6001d061305513917f79c53294e534d6e66fd54727 SHA512 2509d48775579a26178fb5a082e628a8487c986b1b4d4abe974b653a1e0b7605bed934d59f6d62927582bdb95a53ba454816d326d99a77c5360928c4973ade4a WHIRLPOOL 1d5583e2d3a626983849ecad11a58adfd53220cfc6cadb345eb99ba7abbc2c2da3fa7a43c302d18aa7a0132db374a21743cb392938a0d9142f69587121d13ad3

View File

@@ -0,0 +1,8 @@
<?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>
</pkgmetadata>

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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 ~ppc ~x86"
IUSE="test"
CDEPEND=">=dev-lang/erlang-17.1"
DEPEND="${CDEPEND}
test? (
>=dev-erlang/meck-0.8.3
>=dev-erlang/proper-1.1_p20150814
)"
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
}