diff options
author | Nicolas Bock <nicolasbock@gentoo.org> | 2018-11-05 11:26:50 -0700 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2018-11-05 11:27:25 -0700 |
commit | df3a8f2b4f3bdb649c24f4bc5828bf714ee8683b (patch) | |
tree | 29a1de7213c6e9a2999b84b6b51c615144bf56b3 /sys-cluster/charliecloud | |
parent | mail-client/thunderbird: amd64 stable wrt bug #670102 (diff) | |
download | gentoo-df3a8f2b4f3bdb649c24f4bc5828bf714ee8683b.tar.gz gentoo-df3a8f2b4f3bdb649c24f4bc5828bf714ee8683b.tar.bz2 gentoo-df3a8f2b4f3bdb649c24f4bc5828bf714ee8683b.zip |
sys-cluster/charliecloud: Version bump to 0.9.4
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
Diffstat (limited to 'sys-cluster/charliecloud')
-rw-r--r-- | sys-cluster/charliecloud/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/charliecloud/charliecloud-0.9.4.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest index 4bda0f555c38..7a8ac6eebb5f 100644 --- a/sys-cluster/charliecloud/Manifest +++ b/sys-cluster/charliecloud/Manifest @@ -1,2 +1,3 @@ DIST charliecloud-0.9.1.tar.gz 194937 BLAKE2B 2ef2ee70cee3293ec4f7f589c9a034afa82835981132ea433d720b2a2750df68adb261540c98bc04e7f8904375dd8804819fb3015dc6e65bbe097fa55d558976 SHA512 6a54912ceb3ea99e9d3d1fa8469d7288df0b71872c6cb1d5a4d324f6f84754b7e4804ec1a3c2a30e7dd6377a3b474fea849eb42014f3599ad27a3f6214642a2b DIST charliecloud-0.9.3.tar.gz 200507 BLAKE2B debd06bd6158a473d07618bc8fd9ae8c431212eef87699cdd412cf29390e25f6f9e596ac93eb0d663c47ca0b8243cfbcbfc634066f6de03bb673488471e7ef01 SHA512 d312a583438d579ef4ddd6b1d78cc2c6b32e352dad99dcff93f7e0a346aa11fa534091ad6446217bc6fe0dc6d7299d99ffb2c7bb1a441353fd9b2f118ead2c80 +DIST charliecloud-0.9.4.tar.gz 205882 BLAKE2B 2e669581ed0d672b4b4658aafeb5b14b67ee4f506459f00e19fc094e468c91763587b0c29ffd3d85ea8d1ab043fde0363baa925923bd20af77082a3a17da22bd SHA512 7ea58a372b1287b8ce38640ce31fdf6a131275807dc8194b1e302f9cfae0e220868f37fa6deb7f263e9f3f52a173f42b0f2f4c2e8f5a2e8699639ee5f680880f diff --git a/sys-cluster/charliecloud/charliecloud-0.9.4.ebuild b/sys-cluster/charliecloud/charliecloud-0.9.4.ebuild new file mode 100644 index 000000000000..3fd8f0d7646a --- /dev/null +++ b/sys-cluster/charliecloud/charliecloud-0.9.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# User namespaces don't play well with the sandbox. +RESTRICT="test" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hpc/${PN}.git" + S="${WORKDIR}/${P}" +else + SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="Lightweight user-defined software stacks for high-performance computing" +HOMEPAGE="https://hpc.github.io/charliecloud/" + +SLOT="0" +LICENSE="Apache-2.0" +IUSE="doc examples +pv test" + +RDEPEND="" +DEPEND="${RDEPEND} + pv? ( sys-apps/pv ) + doc? ( dev-python/sphinx + dev-python/sphinx_rtd_theme + net-misc/rsync ) + test? ( app-arch/pigz )" + +DOCS=( + README.rst +) + +src_compile() { + emake + use doc && emake -C doc-src +} + +src_install() { + emake install PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" + if use doc; then + mv doc html || die + local HTML_DOCS=(html/.) + fi + if use examples; then + docompress -x "${EPREFIX}/usr/share/doc/${PF}/examples" + DOCS+=(examples) + fi + rm -rf "${ED}/usr/share/doc/charliecloud" || die + einstalldocs +} + +src_test() { + cd "${S}/test" || die + export CH_TEST_TARDIR="${T}/tarballs" + export CH_TEST_IMGDIR="${T}/images" + + # Do not run tests requiring root. + export CH_TEST_PERMDIRS="skip" + export CH_TEST_SKIP_DOCKER=yes + sed -i 's/CHTEST_HAVE_SUDO=yes/CHTEST_HAVE_SUDO=no/' "${S}/test/common.bash" || die + + emake test-quick +} |