summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2016-06-06 23:13:18 +0100
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2016-06-07 23:20:02 +0100
commit546a027a36ccbecc90f015393de3d0d97859648f (patch)
tree5ce5628fe2a74b2eaa75ebe694ee44221c8c48e8 /dev-erlang
parentdev-erlang: Add new category (diff)
downloadgentoo-546a027a36ccbecc90f015393de3d0d97859648f.tar.gz
gentoo-546a027a36ccbecc90f015393de3d0d97859648f.tar.bz2
gentoo-546a027a36ccbecc90f015393de3d0d97859648f.zip
dev-erlang/cache_tab: 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
Diffstat (limited to 'dev-erlang')
-rw-r--r--dev-erlang/cache_tab/Manifest1
-rw-r--r--dev-erlang/cache_tab/cache_tab-1.0.2.ebuild22
-rw-r--r--dev-erlang/cache_tab/metadata.xml18
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-erlang/cache_tab/Manifest b/dev-erlang/cache_tab/Manifest
new file mode 100644
index 000000000000..4256f1621287
--- /dev/null
+++ b/dev-erlang/cache_tab/Manifest
@@ -0,0 +1 @@
+DIST cache_tab-1.0.2.tar.gz 12414 SHA256 f44bd4ee2136b6d2dfbb34c523aad973b8e4ee53568cae2e29cf780833052940 SHA512 9a4e225b4a1776771d964ef2b96b8eb976b930bb2e9c5ac93e1e8b238f6e259d086a550d41b4931fbde293306892cdde2a38a4af3afa581a74e9e76b5feef111 WHIRLPOOL 06f5bad8c41d8a7f8269cb598d9abcf583298dc3d326dbb0f5405ae05d4fba19141c93885d4b44b3c0efa0d98e4d2039e7eba9e186d49b0dfdc2b4c3aea3279c
diff --git a/dev-erlang/cache_tab/cache_tab-1.0.2.ebuild b/dev-erlang/cache_tab/cache_tab-1.0.2.ebuild
new file mode 100644
index 000000000000..4124f3b912de
--- /dev/null
+++ b/dev-erlang/cache_tab/cache_tab-1.0.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit rebar
+
+DESCRIPTION="In-memory cache Erlang and Elixir library"
+HOMEPAGE="https://github.com/processone/cache_tab"
+SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+
+DEPEND=">=dev-erlang/p1_utils-1.0.1
+ >=dev-lang/erlang-17.1"
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGELOG.md README.md )
diff --git a/dev-erlang/cache_tab/metadata.xml b/dev-erlang/cache_tab/metadata.xml
new file mode 100644
index 000000000000..2d7e53a55514
--- /dev/null
+++ b/dev-erlang/cache_tab/metadata.xml
@@ -0,0 +1,18 @@
+<?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>
+ <longdescription lang="en">
+ cache_tab application is intended to proxy back-end operations for
+ Key-Value insert, lookup and delete and maintain a cache of those
+ Key-Values in-memory, to save back-end operations.
+
+ Operations are intended to be atomic between back-end and cache tables.
+
+ The lifetime of the cache object and the max size of the cache can be
+ defined as table parameters to limit the size of the in-memory tables.
+ </longdescription>
+</pkgmetadata>