dev-erlang/p1_oauth2: Bump version
authorAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>
Wed, 24 Oct 2018 21:12:59 +0000 (22:12 +0100)
committerAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>
Wed, 24 Oct 2018 21:53:54 +0000 (22:53 +0100)
Thanks to Rion <rion4ik@gmail.com>.

Bug: https://bugs.gentoo.org/626260
Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
dev-erlang/p1_oauth2/Manifest
dev-erlang/p1_oauth2/p1_oauth2-0.6.3.ebuild [new file with mode: 0644]

index 6b5c307bfcee9825f31e7b11dbf996b7ec98f9dd..c6ff35c152ffc388df1d0db4c9194ed2b1a9049d 100644 (file)
@@ -1 +1,2 @@
 DIST p1_oauth2-0.6.1.tar.gz 212804 BLAKE2B 571341aaa4d3a4bac6ac2f8f46d2e4b9caf5e00622a392635d79ff11b520a3cab71d360220c99a46035ce851974d975d69a71ac9b1be626c9b126941fc4a73cf SHA512 2509d48775579a26178fb5a082e628a8487c986b1b4d4abe974b653a1e0b7605bed934d59f6d62927582bdb95a53ba454816d326d99a77c5360928c4973ade4a
+DIST p1_oauth2-0.6.3.tar.gz 213860 BLAKE2B a610f7911ce46c30760dd8da42531ff1f4e4953f3158a42f360cec9090ca9901647bdedff5eacd7416e34bb64987cedcbb675c1c39de3a4172e337ec50c07495 SHA512 634606530f90810fb998baf26d14afc092699144506c9be771e74d5c965698d81b93bdc35ce53ff94d0b3ad1c4557a16660cfe74bc75586fbab2baa45b1d9c46
diff --git a/dev-erlang/p1_oauth2/p1_oauth2-0.6.3.ebuild b/dev-erlang/p1_oauth2/p1_oauth2-0.6.3.ebuild
new file mode 100644 (file)
index 0000000..e5eb8b1
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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"
+
+CDEPEND=">=dev-lang/erlang-17.1"
+DEPEND="${CDEPEND}
+       test? (
+               >=dev-erlang/meck-0.8.7
+               >=dev-erlang/proper-1.1_p20150814
+       )"
+RDEPEND="${CDEPEND}"
+
+DOCS=( CHANGELOG.md  README.md )
+
+src_prepare() {
+       rebar_src_prepare
+       rebar_remove_deps rebar.test.config
+       sed -e '/, warnings_as_errors/d' -i rebar.test.config || die
+}
+
+src_test() {
+       erebar -C rebar.test.config compile eunit
+}