dev-erlang/cache_tab: Add new package
authorAmadeusz Żołnowski <aidecoe@gentoo.org>
Mon, 6 Jun 2016 22:13:18 +0000 (23:13 +0100)
committerAmadeusz Żołnowski <aidecoe@gentoo.org>
Tue, 7 Jun 2016 22:20:02 +0000 (23:20 +0100)
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

dev-erlang/cache_tab/Manifest [new file with mode: 0644]
dev-erlang/cache_tab/cache_tab-1.0.2.ebuild [new file with mode: 0644]
dev-erlang/cache_tab/metadata.xml [new file with mode: 0644]

diff --git a/dev-erlang/cache_tab/Manifest b/dev-erlang/cache_tab/Manifest
new file mode 100644 (file)
index 0000000..4256f16
--- /dev/null
@@ -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 (file)
index 0000000..4124f3b
--- /dev/null
@@ -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 (file)
index 0000000..2d7e53a
--- /dev/null
@@ -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>