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 EF63E1384B4 for ; Wed, 11 Nov 2015 17:50:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 236F221C0C5; Wed, 11 Nov 2015 17:50:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E1E921C08C for ; Wed, 11 Nov 2015 17:50:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6CD34340504 for ; Wed, 11 Nov 2015 17:50:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9BB82407 for ; Wed, 11 Nov 2015 17:50:47 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1447263578.aca1d429c64399a4518df034fcabf58f6415873e.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/mediator_lua/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/mediator_lua/Manifest dev-lua/mediator_lua/mediator_lua-1.1.2_p0.ebuild dev-lua/mediator_lua/metadata.xml X-VCS-Directories: dev-lua/mediator_lua/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: aca1d429c64399a4518df034fcabf58f6415873e X-VCS-Branch: master Date: Wed, 11 Nov 2015 17:50:47 +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: 0e91e200-74ca-4c7b-b3df-ef30168492bd X-Archives-Hash: 779fb3bb87d117a4ec4aee83680e3531 commit: aca1d429c64399a4518df034fcabf58f6415873e Author: William Hubbs gentoo org> AuthorDate: Tue Nov 10 22:29:56 2015 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Nov 11 17:39:38 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca1d429 dev-lua/mediator_lua: initial commit dev-lua/mediator_lua/Manifest | 1 + dev-lua/mediator_lua/mediator_lua-1.1.2_p0.ebuild | 33 +++++++++++++++++++++++ dev-lua/mediator_lua/metadata.xml | 14 ++++++++++ 3 files changed, 48 insertions(+) diff --git a/dev-lua/mediator_lua/Manifest b/dev-lua/mediator_lua/Manifest new file mode 100644 index 0000000..ba29138 --- /dev/null +++ b/dev-lua/mediator_lua/Manifest @@ -0,0 +1 @@ +DIST mediator_lua-1.1.2_p0.tar.gz 5809 SHA256 faf5859fd2081be4e9e4fb8873a2dc65f7eff3fd93d6dd14da65f8e123fcff9b SHA512 116d08a96fa0bd540ac4d3cac61a529a634cba3621c6f2e917b405462bbc0e2ab5b170dc6819e470105cdedf958a382945819eaff4affa63bc057824c163c8a0 WHIRLPOOL 0cc4951d53f1ebd4ef0d876e0a27a23319c8b4b64655b82d7eddc5f1488fd4bb0ed9eb583634e2c64692e19e1912f618aa41c29fb2c46e3ad594b4e3c77a287f diff --git a/dev-lua/mediator_lua/mediator_lua-1.1.2_p0.ebuild b/dev-lua/mediator_lua/mediator_lua-1.1.2_p0.ebuild new file mode 100644 index 0000000..4743cce --- /dev/null +++ b/dev-lua/mediator_lua/mediator_lua-1.1.2_p0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +# Below is the upstream version number. The"-0" suffix should be kept in +# sync with the _p0 suffix of the ebuild version. +MY_PV=1.1.2-0 + +DESCRIPTION="Event handling through channels" +HOMEPAGE="http://olivinelabs.com/mediator_lua/", +SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +COMMON_DEPEND=">=dev-lang/lua-5.1:=" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_install() { + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)" + doins src/mediator.lua + dodoc README.md +} diff --git a/dev-lua/mediator_lua/metadata.xml b/dev-lua/mediator_lua/metadata.xml new file mode 100644 index 0000000..db26cdc --- /dev/null +++ b/dev-lua/mediator_lua/metadata.xml @@ -0,0 +1,14 @@ + + + + + williamh@gentoo.org + William Hubbs + + + mediator_lua allows you to subscribe and publish to a central object so + you can decouple function calls in your application. It's as simple as + mediator:subscribe("channel", function). Supports namespacing, predicates, + and more. + +