From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8F8B3138208 for ; Sun, 1 May 2016 11:18:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D10D621C068; Sun, 1 May 2016 11:18:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E659821C06A for ; Sun, 1 May 2016 11:18:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 17997340B81 for ; Sun, 1 May 2016 11:18:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E05A032E for ; Sun, 1 May 2016 11:18:02 +0000 (UTC) From: "Amadeusz Piotr Żołnowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amadeusz Piotr Żołnowski" Message-ID: <1461963458.63e9d9ff614df6bdd5745493c09c549ab1924c91.aidecoe@gentoo> Subject: [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/meck/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-erlang/meck/Manifest dev-erlang/meck/meck-0.8.2.ebuild dev-erlang/meck/metadata.xml X-VCS-Directories: dev-erlang/meck/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Piotr Żołnowski X-VCS-Revision: 63e9d9ff614df6bdd5745493c09c549ab1924c91 X-VCS-Branch: ejabberd-wip Date: Sun, 1 May 2016 11:18:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4d6d35cf-febb-41a4-a601-58c94a83facf X-Archives-Hash: 5e4ff97c75b48fda7a5c5fafdce98e7d commit: 63e9d9ff614df6bdd5745493c09c549ab1924c91 Author: Amadeusz Żołnowski gentoo org> AuthorDate: Fri Apr 29 20:41:43 2016 +0000 Commit: Amadeusz Piotr Żołnowski gentoo org> CommitDate: Fri Apr 29 20:57:38 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e9d9ff dev-erlang/meck: Add new package Package-Manager: portage-2.2.28 dev-erlang/meck/Manifest | 1 + dev-erlang/meck/meck-0.8.2.ebuild | 42 +++++++++++++++++++++++++++++++++++++++ dev-erlang/meck/metadata.xml | 8 ++++++++ 3 files changed, 51 insertions(+) diff --git a/dev-erlang/meck/Manifest b/dev-erlang/meck/Manifest new file mode 100644 index 0000000..01e7902 --- /dev/null +++ b/dev-erlang/meck/Manifest @@ -0,0 +1 @@ +DIST meck-0.8.2.tar.gz 208694 SHA256 dc1ad985b1c994c69b645f5cfd159bf9ba71d10a2984ce354500adb4ff0ae473 SHA512 f1d39d2db5208f9256da4522d10455dec2d9fa744a1b742c644f25c687242dadd885daa1076c35e40761de439e9b89f4e546305737e7b81bfade6fe3d3c4daed WHIRLPOOL 5bdd133d1a137e8e629d501eeb056d0f7e46355f87e61630eea1cbd53bc3fe3776de9efca2837f485d1bcb1353d5e568e73875c31c62e740379c5d11667093d1 diff --git a/dev-erlang/meck/meck-0.8.2.ebuild b/dev-erlang/meck/meck-0.8.2.ebuild new file mode 100644 index 0000000..2f40d5e --- /dev/null +++ b/dev-erlang/meck/meck-0.8.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib + +DESCRIPTION="Mocking library for Erlang" +HOMEPAGE="https://github.com/eproxus/meck" +SRC_URI="https://github.com/eproxus/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +CDEPEND=">=dev-lang/erlang-17.1" +DEPEND="${CDEPEND} + dev-util/rebar" +RDEPEND="${CDEPEND}" + +DOCS=( CHANGELOG README.md ) + +get_erl_libs() { + echo "/usr/$(get_libdir)/erlang/lib" +} + +src_compile() { + export ERL_LIBS="${EPREFIX}$(get_erl_libs)" + rebar compile || die 'rebar compile failed' + if use doc; then + rebar doc || die 'rebar doc failed' + fi +} + +src_install() { + insinto "$(get_erl_libs)/${P}" + doins -r ebin src + use doc && dohtml -r doc/* +} diff --git a/dev-erlang/meck/metadata.xml b/dev-erlang/meck/metadata.xml new file mode 100644 index 0000000..92f4567 --- /dev/null +++ b/dev-erlang/meck/metadata.xml @@ -0,0 +1,8 @@ + + + + + aidecoe@gentoo.org + Amadeusz Żołnowski + +