diff options
author | olgeni <olgeni@FreeBSD.org> | 2016-10-02 23:38:05 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2016-10-02 23:38:05 +0800 |
commit | 7dca159b564c7f5a25e98b67e2ef2299c31e2756 (patch) | |
tree | 01445110bb106d7d835999fb9e1e1161b374bc43 /devel | |
parent | 0e91ad552b98406094e8b2c7d8243cfbded21667 (diff) | |
download | freebsd-ports-gnome-7dca159b564c7f5a25e98b67e2ef2299c31e2756.tar.gz freebsd-ports-gnome-7dca159b564c7f5a25e98b67e2ef2299c31e2756.tar.zst freebsd-ports-gnome-7dca159b564c7f5a25e98b67e2ef2299c31e2756.zip |
Add devel/elixir-libring, a fast consistent hash ring implementation in Elixir.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/elixir-libring/Makefile | 19 | ||||
-rw-r--r-- | devel/elixir-libring/distinfo | 3 | ||||
-rw-r--r-- | devel/elixir-libring/pkg-descr | 6 | ||||
-rw-r--r-- | devel/elixir-libring/pkg-plist | 13 |
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 8c9c4c91a73a..1ea80f452e09 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -460,6 +460,7 @@ SUBDIR += elixir-hex SUBDIR += elixir-inflex SUBDIR += elixir-lager_logger + SUBDIR += elixir-libring SUBDIR += elixir-math SUBDIR += elixir-msgpax SUBDIR += elixir-nadia diff --git a/devel/elixir-libring/Makefile b/devel/elixir-libring/Makefile new file mode 100644 index 000000000000..77f418cfbe62 --- /dev/null +++ b/devel/elixir-libring/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= libring +DISTVERSION= 1.0.0 +CATEGORIES= devel +PKGNAMEPREFIX= elixir- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Fast consistent hash ring implementation in Elixir + +LICENSE= MIT + +USES= elixir +USE_GITHUB= yes +GH_ACCOUNT= bitwalker + +MIX_REWRITE= yes + +.include <bsd.port.mk> diff --git a/devel/elixir-libring/distinfo b/devel/elixir-libring/distinfo new file mode 100644 index 000000000000..fb6b18c7c2b3 --- /dev/null +++ b/devel/elixir-libring/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1475422050 +SHA256 (bitwalker-libring-1.0.0_GH0.tar.gz) = 5d767f05b4fa5be25a497011a8a3a8b6cad61be76fc20110dfbbf06768e2771d +SIZE (bitwalker-libring-1.0.0_GH0.tar.gz) = 10067 diff --git a/devel/elixir-libring/pkg-descr b/devel/elixir-libring/pkg-descr new file mode 100644 index 000000000000..8ba86b0a1cab --- /dev/null +++ b/devel/elixir-libring/pkg-descr @@ -0,0 +1,6 @@ +This library implements a stateful consistent hash ring. It's +extremely fast (in benchmarks it's faster than all other implementations +I've tested against, namely voicelayer/hash-ring and sile/hash_ring), +it has no external dependencies, and is written in Elixir. + +WWW: https://github.com/bitwalker/libring diff --git a/devel/elixir-libring/pkg-plist b/devel/elixir-libring/pkg-plist new file mode 100644 index 000000000000..0440b4babe12 --- /dev/null +++ b/devel/elixir-libring/pkg-plist @@ -0,0 +1,13 @@ +lib/elixir/lib/libring/ebin/Elixir.HashRing.App.beam +lib/elixir/lib/libring/ebin/Elixir.HashRing.Managed.beam +lib/elixir/lib/libring/ebin/Elixir.HashRing.Utils.beam +lib/elixir/lib/libring/ebin/Elixir.HashRing.Worker.beam +lib/elixir/lib/libring/ebin/Elixir.HashRing.beam +lib/elixir/lib/libring/ebin/Elixir.Inspect.HashRing.beam +lib/elixir/lib/libring/ebin/libring.app +lib/elixir/lib/libring/lib/app.ex +lib/elixir/lib/libring/lib/managed_ring.ex +lib/elixir/lib/libring/lib/ring.ex +lib/elixir/lib/libring/lib/utils.ex +lib/elixir/lib/libring/lib/worker.ex +%%PORTDOCS%%%%DOCSDIR%%/README.md |