From: "Amadeusz Piotr Żołnowski" <aidecoe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/meck/
Date: Sun, 1 May 2016 11:18:02 +0000 (UTC) [thread overview]
Message-ID: <1461963458.63e9d9ff614df6bdd5745493c09c549ab1924c91.aidecoe@gentoo> (raw)
commit: 63e9d9ff614df6bdd5745493c09c549ab1924c91
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 29 20:41:43 2016 +0000
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+ </maintainer>
+</pkgmetadata>
reply other threads:[~2016-05-01 11:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461963458.63e9d9ff614df6bdd5745493c09c549ab1924c91.aidecoe@gentoo \
--to=aidecoe@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox