sys-cluster/shuffile: new version

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-23 15:28:22 +01:00
parent 972b9a3efd
commit 4bfeb68ab5
3 changed files with 13 additions and 35 deletions

View File

@@ -1,2 +1,2 @@
DIST shuffile-0.0.4.tar.gz 28847 BLAKE2B 7e36c8d96457eb44f59f9017d69ad53265d88c47b33d37b8b2ab6ea2365eb2bd0eb78a25a2496754d839ae5507615356e2cb5508879b82c99e2ef91ef9f7af0e SHA512 2c90e1aa852413f15fabc78c0553344b1b8975972ff84239d872738f102d7784f16422ccc2807189307db0feb0abb28b4db02c1666957a94a92e6be329f4a277
DIST shuffile-0.1.0.tar.gz 28999 BLAKE2B bd8b972d75740ece74de91aa4a2bafad3ce1fc6ed3bd93d5ef4ad7df2264cb7abc26e37b2985bc79219163e1817f3925d76d828ff5a83677b4d601b161fc1d83 SHA512 750eb38a303dea5bb97ad72fcb040fb49c3c059ae974218fbeeaa23a3aa0296d971af45636895a099c719c1eed120e747c1fc06be8d77c0b3d948f89b8586c22
DIST shuffile-0.2.0.tar.gz 29001 BLAKE2B 18b832174eee212ad979bb9913c3767d054edc5c95c901241fd95c0571bf143aa42cd47be5aef4ee94bd1d8df9528020e973bad14b5e13b326ea74590192db0d SHA512 9de8bbd3ef832395853d00dda972464ea9aeab2312a68a1194cfd29cc816c6319b06750c5121197aea696418f5fe6d7ed4f22adb5cc882c87c522cfbb1704bd7

View File

@@ -1,28 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit cmake
DESCRIPTION="SHUFFILE Shuffle files between processes"
HOMEPAGE="https://github.com/ECP-VeloC/shuffile"
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="
>=sys-cluster/KVTree-1.0.2[mpi]
sys-libs/zlib
virtual/mpi
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/cmake-2.8
"
PATCHES=( "${FILESDIR}/no-static-${PV}.patch" )
RESTRICT="test" # https://github.com/ECP-VeloC/shuffile/issues/18

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,7 @@ inherit cmake
DESCRIPTION="SHUFFILE Shuffle files between processes"
HOMEPAGE="https://github.com/ECP-VeloC/shuffile"
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"
@@ -20,11 +20,8 @@ RDEPEND="
virtual/mpi
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/cmake-2.8
"
PATCHES=( "${FILESDIR}/${P}-no-static.patch" )
PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
RESTRICT="!test? ( test )"
src_configure() {
@@ -35,3 +32,12 @@ src_configure() {
)
cmake_src_configure
}
src_test() {
if mountpoint -q /dev/shm ; then
cmake_src_test
else
eerror "make sure to mount /dev/shm or tests will fail"
die
fi
}