[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/

2022-03-26 Thread Alessandro Barbieri
commit: c0a41daf91f1347e0d769c5a4c5497e3106de8c0
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Mar 26 08:09:44 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Mar 26 08:09:44 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0a41daf

sys-cluster/rankstr: restrict tests, need MPI

Closes: https://bugs.gentoo.org/836144
Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/rankstr/rankstr-0.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/rankstr/rankstr-0.2.0.ebuild 
b/sys-cluster/rankstr/rankstr-0.2.0.ebuild
index c7a1ae789..373a03796 100644
--- a/sys-cluster/rankstr/rankstr-0.2.0.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.2.0.ebuild
@@ -18,7 +18,7 @@ RDEPEND="virtual/mpi"
 DEPEND="${RDEPEND}"
 
 PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
-RESTRICT="!test? ( test )"
+RESTRICT="test" # tests require an MPI setup
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/

2022-03-23 Thread Alessandro Barbieri
commit: 31a0b740a990ff2d5a5e12d97365266f8957b721
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Mar 23 13:53:19 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Wed Mar 23 14:38:46 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31a0b740

sys-cluster/rankstr: add 0.2.0, drop 0.0.3

Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/rankstr/Manifest  | 2 +-
 .../rankstr/{rankstr-0.0.3.ebuild => rankstr-0.2.0.ebuild}| 8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-cluster/rankstr/Manifest b/sys-cluster/rankstr/Manifest
index 74b492d27..9af504183 100644
--- a/sys-cluster/rankstr/Manifest
+++ b/sys-cluster/rankstr/Manifest
@@ -1,2 +1,2 @@
-DIST rankstr-0.0.3.tar.gz 14734 BLAKE2B 
574dff65368912e0f63da81b35069888cf40c6768e7bea456aa8104976a87c49102ee860f22f405bcc732f1d36be3e4d35e4e58dfba901eda85ce18a0d9d557b
 SHA512 
d1672bb6d09567c44c6bdf96d2dd670edc1d1abb113bb5b893c1cb5a78428b95e425639d5d65f2a68a76f11034a9009c659b5e53ca9f543a6a78d0c14ba59e57
 DIST rankstr-0.1.0.tar.gz 14909 BLAKE2B 
488386e2588e71db43d59b02ba277cc409df21615ae6c8e2fa822a0aee2ebf4d0ac4f09c262759b7c4066cf118420404d297c9dfcf2fe80bdd19977a2e120174
 SHA512 
be36c6316fe2286015f704dbf8733ae2b682f32f5c180cfa5e1adf91ebec2dcba24af1fda8a9f83612edb20327d21aaaf869bb41fcdfb7873b0f1aab7bf6c36a
+DIST rankstr-0.2.0.tar.gz 14805 BLAKE2B 
cb448147dec904fd306069e452039f3cb219961748d73de313bc559dded1e77c12771a1330b3e73960dbc59b5d3255f3bc9221d813ac82fd6eabab3d562f244b
 SHA512 
af9ac1ae3272626c39d0e5628bd12b9bb14db70fe8e752961919f2cda1e69da3637c84c32584d7f4c89d58cfebdf71efa1b2fb7903059ce2792c64596a06475a

diff --git a/sys-cluster/rankstr/rankstr-0.0.3.ebuild 
b/sys-cluster/rankstr/rankstr-0.2.0.ebuild
similarity index 71%
rename from sys-cluster/rankstr/rankstr-0.0.3.ebuild
rename to sys-cluster/rankstr/rankstr-0.2.0.ebuild
index ebe6ba8b9..c7a1ae789 100644
--- a/sys-cluster/rankstr/rankstr-0.0.3.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.2.0.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
 inherit cmake
 
 DESCRIPTION="Split an MPI communicator into subcomms based on string values"
 HOMEPAGE="https://github.com/ECP-VeloC/rankstr";
-SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -17,7 +17,7 @@ IUSE="test"
 RDEPEND="virtual/mpi"
 DEPEND="${RDEPEND}"
 
-PATCHES=( "${FILESDIR}/${PN}-no-static.patch" )
+PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
 RESTRICT="!test? ( test )"
 
 src_configure() {



[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/, sys-cluster/rankstr/files/

2021-10-30 Thread Alessandro Barbieri
commit: 6fb7c19fd2ed9c1abfcbfa5aaeb58728e83b568b
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Oct 29 15:05:45 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Oct 30 19:37:44 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6fb7c19f

sys-cluster/rankstr: add 0.1.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/rankstr/Manifest   |  1 +
 .../rankstr/files/rankstr-0.1.0-no-static.patch| 16 
 sys-cluster/rankstr/rankstr-0.1.0.ebuild   | 30 ++
 3 files changed, 47 insertions(+)

diff --git a/sys-cluster/rankstr/Manifest b/sys-cluster/rankstr/Manifest
index 928aea85d..74b492d27 100644
--- a/sys-cluster/rankstr/Manifest
+++ b/sys-cluster/rankstr/Manifest
@@ -1 +1,2 @@
 DIST rankstr-0.0.3.tar.gz 14734 BLAKE2B 
574dff65368912e0f63da81b35069888cf40c6768e7bea456aa8104976a87c49102ee860f22f405bcc732f1d36be3e4d35e4e58dfba901eda85ce18a0d9d557b
 SHA512 
d1672bb6d09567c44c6bdf96d2dd670edc1d1abb113bb5b893c1cb5a78428b95e425639d5d65f2a68a76f11034a9009c659b5e53ca9f543a6a78d0c14ba59e57
+DIST rankstr-0.1.0.tar.gz 14909 BLAKE2B 
488386e2588e71db43d59b02ba277cc409df21615ae6c8e2fa822a0aee2ebf4d0ac4f09c262759b7c4066cf118420404d297c9dfcf2fe80bdd19977a2e120174
 SHA512 
be36c6316fe2286015f704dbf8733ae2b682f32f5c180cfa5e1adf91ebec2dcba24af1fda8a9f83612edb20327d21aaaf869bb41fcdfb7873b0f1aab7bf6c36a

diff --git a/sys-cluster/rankstr/files/rankstr-0.1.0-no-static.patch 
b/sys-cluster/rankstr/files/rankstr-0.1.0-no-static.patch
new file mode 100644
index 0..642334890
--- /dev/null
+++ b/sys-cluster/rankstr/files/rankstr-0.1.0-no-static.patch
@@ -0,0 +1,16 @@
+--- a/src/CMakeLists.txt
 b/src/CMakeLists.txt
+@@ -24,13 +24,3 @@
+SET_TARGET_PROPERTIES(rankstr PROPERTIES OUTPUT_NAME rankstr 
CLEAN_DIRECT_OUTPUT 1)
+INSTALL(TARGETS rankstr DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ ENDIF()
+-
+-ADD_LIBRARY(rankstr-static STATIC $)
+-IF(RANKSTR_LINK_STATIC)
+-   SET_TARGET_PROPERTIES(rankstr-static PROPERTIES LINK_SEARCH_START_STATIC 1)
+-   SET_TARGET_PROPERTIES(rankstr-static PROPERTIES LINK_SEARCH_END_STATIC 1)
+-ENDIF(RANKSTR_LINK_STATIC)
+-TARGET_LINK_LIBRARIES(rankstr-static ${RANKSTR_EXTERNAL_LIBS})
+-
+-SET_TARGET_PROPERTIES(rankstr-static PROPERTIES OUTPUT_NAME rankstr 
CLEAN_DIRECT_OUTPUT 1)
+-INSTALL(TARGETS rankstr-static DESTINATION ${CMAKE_INSTALL_LIBDIR})

diff --git a/sys-cluster/rankstr/rankstr-0.1.0.ebuild 
b/sys-cluster/rankstr/rankstr-0.1.0.ebuild
new file mode 100644
index 0..2daa65413
--- /dev/null
+++ b/sys-cluster/rankstr/rankstr-0.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Split an MPI communicator into subcomms based on string values"
+HOMEPAGE="https://github.com/ECP-VeloC/rankstr";
+SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="virtual/mpi"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-no-static.patch" )
+RESTRICT="!test? ( test )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   -DENABLE_TESTS=$(usex test)
+   -DRANKSTR_LINK_STATIC=OFF
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/files/, sys-cluster/rankstr/

2021-08-31 Thread Alessandro Barbieri
commit: 70a6708353a8e059c182cee66251ac7bbc695e6b
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Sep  1 00:26:08 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Wed Sep  1 00:26:08 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70a67083

sys-cluster/rankstr: add 0.0.3, drop 0.0.2

Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/rankstr/Manifest   |  2 +-
 sys-cluster/rankstr/files/rankstr-no-static.patch  | 16 ++
 .../{rankstr-0.0.2.ebuild => rankstr-0.0.3.ebuild} | 25 +++---
 3 files changed, 30 insertions(+), 13 deletions(-)

diff --git a/sys-cluster/rankstr/Manifest b/sys-cluster/rankstr/Manifest
index 49b1c2ed1..928aea85d 100644
--- a/sys-cluster/rankstr/Manifest
+++ b/sys-cluster/rankstr/Manifest
@@ -1 +1 @@
-DIST rankstr-0.0.2.tar.gz 10290 BLAKE2B 
4efa609804bffd0fe9215e9b06112615ed85657af88bd15e1a51a5db7ccc8701bf162ea88096df69a42ecd062e3099e5c18986d72fd8c5cc14b89fd019b3322d
 SHA512 
fd4814ec797566004c3141b46b4ca410e217857e2bee3dc3b0f350c2c10fcaff62e3608fb0233894a0960aade660f55a536ea7cc41c9aed3a355b3a05f432a0f
+DIST rankstr-0.0.3.tar.gz 14734 BLAKE2B 
574dff65368912e0f63da81b35069888cf40c6768e7bea456aa8104976a87c49102ee860f22f405bcc732f1d36be3e4d35e4e58dfba901eda85ce18a0d9d557b
 SHA512 
d1672bb6d09567c44c6bdf96d2dd670edc1d1abb113bb5b893c1cb5a78428b95e425639d5d65f2a68a76f11034a9009c659b5e53ca9f543a6a78d0c14ba59e57

diff --git a/sys-cluster/rankstr/files/rankstr-no-static.patch 
b/sys-cluster/rankstr/files/rankstr-no-static.patch
new file mode 100644
index 0..c3072eaa8
--- /dev/null
+++ b/sys-cluster/rankstr/files/rankstr-no-static.patch
@@ -0,0 +1,16 @@
+--- a/src/CMakeLists.txt
 b/src/CMakeLists.txt
+@@ -22,13 +22,3 @@
+ TARGET_LINK_LIBRARIES(rankstr ${RANKSTR_EXTERNAL_LIBS})
+ SET_TARGET_PROPERTIES(rankstr PROPERTIES OUTPUT_NAME rankstr 
CLEAN_DIRECT_OUTPUT 1)
+ INSTALL(TARGETS rankstr DESTINATION ${CMAKE_INSTALL_LIBDIR})
+-
+-ADD_LIBRARY(rankstr-static STATIC $)
+-IF(RANKSTR_LINK_STATIC)
+-SET_TARGET_PROPERTIES(rankstr-static PROPERTIES 
LINK_SEARCH_START_STATIC 1)
+-SET_TARGET_PROPERTIES(rankstr-static PROPERTIES 
LINK_SEARCH_END_STATIC 1)
+-ENDIF(RANKSTR_LINK_STATIC)
+-TARGET_LINK_LIBRARIES(rankstr-static ${RANKSTR_EXTERNAL_LIBS})
+-
+-SET_TARGET_PROPERTIES(rankstr-static PROPERTIES OUTPUT_NAME rankstr 
CLEAN_DIRECT_OUTPUT 1)
+-INSTALL(TARGETS rankstr-static DESTINATION ${CMAKE_INSTALL_LIBDIR})

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild 
b/sys-cluster/rankstr/rankstr-0.0.3.ebuild
similarity index 55%
rename from sys-cluster/rankstr/rankstr-0.0.2.ebuild
rename to sys-cluster/rankstr/rankstr-0.0.3.ebuild
index 1f5b14392..ebe6ba8b9 100644
--- a/sys-cluster/rankstr/rankstr-0.0.2.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -12,18 +12,19 @@ 
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="test"
 
-RDEPEND="
-   virtual/mpi
-"
+RDEPEND="virtual/mpi"
 DEPEND="${RDEPEND}"
-BDEPEND="
-   >=dev-util/cmake-2.8
-"
 
-src_prepare() {
-   #do not build static library
-   sed -i '/rankstr-static/d' src/CMakeLists.txt || die
-   default
-   cmake_src_prepare
+PATCHES=( "${FILESDIR}/${PN}-no-static.patch" )
+RESTRICT="!test? ( test )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   -DENABLE_TESTS=$(usex test)
+   -DRANKSTR_LINK_STATIC=OFF
+   )
+   cmake_src_configure
 }



[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/

2020-04-12 Thread Andrew Ammerlaan
commit: 0e10a9894daae24055f460c54b4c0ebc21687f7e
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Apr 12 16:12:40 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Apr 12 16:12:40 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e10a989

sys-cluster/rankstr: cmake-utils --> cmake

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 sys-cluster/rankstr/rankstr-0.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild 
b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
index fec34b4..1f5b143 100644
--- a/sys-cluster/rankstr/rankstr-0.0.2.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Split an MPI communicator into subcomms based on string values"
 HOMEPAGE="https://github.com/ECP-VeloC/rankstr";
@@ -25,5 +25,5 @@ src_prepare() {
#do not build static library
sed -i '/rankstr-static/d' src/CMakeLists.txt || die
default
-   cmake-utils_src_prepare
+   cmake_src_prepare
 }



[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/

2020-03-03 Thread Andrew Ammerlaan
commit: bdfc3fdea48c7fd7d090e59adf0350fcbd4acb6c
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Mar  3 15:55:17 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Mar  3 15:55:17 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bdfc3fde

sys-cluster/rankstr: src_configure no longer necessary

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 sys-cluster/rankstr/rankstr-0.0.2.ebuild | 7 ---
 1 file changed, 7 deletions(-)

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild 
b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
index 9a78dd9..fec34b4 100644
--- a/sys-cluster/rankstr/rankstr-0.0.2.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -27,10 +27,3 @@ src_prepare() {
default
cmake-utils_src_prepare
 }
-
-src_configure() {
-   local mycmakeargs=(
-   -DMPI="ON"
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/

2020-03-03 Thread Andrew Ammerlaan
commit: e20063d897434729526ff8b8018ce173f98ea53a
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Mar  3 15:45:51 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Mar  3 15:45:51 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e20063d8

sys-cluster/rankstr: No need to add IUSE="test"

this is only usefull if you have additional
dependencies that are required to run tests

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 sys-cluster/rankstr/rankstr-0.0.2.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild 
b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
index d3db985..9a78dd9 100644
--- a/sys-cluster/rankstr/rankstr-0.0.2.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -12,8 +12,6 @@ 
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
virtual/mpi



[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/

2020-03-02 Thread Alessandro Barbieri
commit: 6f783fe6d58fb58dd0d6a3e6063aade441a84322
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Mar  2 21:49:47 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Mar  2 22:03:53 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f783fe6

sys-cluster/rankstr: unconditionally depend on MPI

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/rankstr/rankstr-0.0.2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild 
b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
index ffe57a9..d3db985 100644
--- a/sys-cluster/rankstr/rankstr-0.0.2.ebuild
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -12,11 +12,11 @@ 
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="mpi test"
+IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   mpi? ( virtual/mpi )
+   virtual/mpi
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
@@ -32,7 +32,7 @@ src_prepare() {
 
 src_configure() {
local mycmakeargs=(
-   -DMPI="$(usex mpi "" OFF)"
+   -DMPI="ON"
)
cmake-utils_src_configure
 }



[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/rankstr/

2020-02-22 Thread Alessandro Barbieri
commit: 1c174d1674167dc0bef763956d11268835b85859
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Feb 23 03:50:14 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Feb 23 03:50:14 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c174d16

sys-cluster/rankstr: new package

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri  gmail.com>

 sys-cluster/rankstr/Manifest |  1 +
 sys-cluster/rankstr/metadata.xml | 19 
 sys-cluster/rankstr/rankstr-0.0.2.ebuild | 38 
 3 files changed, 58 insertions(+)

diff --git a/sys-cluster/rankstr/Manifest b/sys-cluster/rankstr/Manifest
new file mode 100644
index 000..49b1c2e
--- /dev/null
+++ b/sys-cluster/rankstr/Manifest
@@ -0,0 +1 @@
+DIST rankstr-0.0.2.tar.gz 10290 BLAKE2B 
4efa609804bffd0fe9215e9b06112615ed85657af88bd15e1a51a5db7ccc8701bf162ea88096df69a42ecd062e3099e5c18986d72fd8c5cc14b89fd019b3322d
 SHA512 
fd4814ec797566004c3141b46b4ca410e217857e2bee3dc3b0f350c2c10fcaff62e3608fb0233894a0960aade660f55a536ea7cc41c9aed3a355b3a05f432a0f

diff --git a/sys-cluster/rankstr/metadata.xml b/sys-cluster/rankstr/metadata.xml
new file mode 100644
index 000..d2422a7
--- /dev/null
+++ b/sys-cluster/rankstr/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+lssndrbarbi...@gmail.com
+Alessandro Barbieri
+  
+  
+ECP-VeloC/rankstr
+  
+  The rankstr (rank string) library provides 
functions that identify unique strings across an MPI communicator.
+
+A key use case is to split a communicator into subcommunicators such that all 
processes in a resulting subcommunicator consist of those processes that 
provided an identical input string. rankstr_mpi_comm_split is a function like 
MPI_Comm_split, but it takes a variable-length string as the color argument 
insead of an integer value.
+
+The rankstr_mpi function does not output a communicator, but instead returns a 
unique integer for each unique string.
+
+For scalability, the implementation uses a distributed, bitonic sort via 
point-to-point messages over the input communicator to compare string values. 
The caller must provide two distinct tag values that are safe for the function 
to use for its point-to-point messages.
+  
+

diff --git a/sys-cluster/rankstr/rankstr-0.0.2.ebuild 
b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
new file mode 100644
index 000..ffe57a9
--- /dev/null
+++ b/sys-cluster/rankstr/rankstr-0.0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake-utils
+
+DESCRIPTION="Split an MPI communicator into subcomms based on string values"
+HOMEPAGE="https://github.com/ECP-VeloC/rankstr";
+SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="mpi test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   mpi? ( virtual/mpi )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   >=dev-util/cmake-2.8
+"
+
+src_prepare() {
+   #do not build static library
+   sed -i '/rankstr-static/d' src/CMakeLists.txt || die
+   default
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DMPI="$(usex mpi "" OFF)"
+   )
+   cmake-utils_src_configure
+}