From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5F3F138334 for ; Thu, 4 Oct 2018 17:51:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAF9CE09A6; Thu, 4 Oct 2018 17:50:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68C78E09A6 for ; Thu, 4 Oct 2018 17:50:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADAC7335CB7 for ; Thu, 4 Oct 2018 17:50:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B41B3F1 for ; Thu, 4 Oct 2018 17:50:50 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1538675417.71964eb2da165f13224a5cdfa6dfc7fd8f0d837f.nicolasbock@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/charliecloud/Manifest sys-cluster/charliecloud/charliecloud-0.9.3.ebuild X-VCS-Directories: sys-cluster/charliecloud/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: 71964eb2da165f13224a5cdfa6dfc7fd8f0d837f X-VCS-Branch: master Date: Thu, 4 Oct 2018 17:50:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6d6252ae-c426-4d64-8485-e902ccb758a8 X-Archives-Hash: 35233308cd1900f1d3b7856597faf414 commit: 71964eb2da165f13224a5cdfa6dfc7fd8f0d837f Author: Oliver Freyermuth googlemail com> AuthorDate: Thu Oct 4 17:06:30 2018 +0000 Commit: Nicolas Bock gentoo org> CommitDate: Thu Oct 4 17:50:17 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71964eb2 sys-cluster/charliecloud: version bump to 0.9.3. Package-Manager: Portage-2.3.50, Repoman-2.3.10 Signed-off-by: Oliver Freyermuth googlemail.com> Signed-off-by: Nicolas Bock gentoo.org> sys-cluster/charliecloud/Manifest | 1 + sys-cluster/charliecloud/charliecloud-0.9.3.ebuild | 67 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest index c3cd1e12cdb..a7ee5de8f60 100644 --- a/sys-cluster/charliecloud/Manifest +++ b/sys-cluster/charliecloud/Manifest @@ -1,2 +1,3 @@ DIST charliecloud-0.2.4.tar.gz 178589 BLAKE2B 45330f67e4b116150219a2753f341248878e8fa540583a97c5cd55e42498825e749c5ca9133580c180438898e25dd22bbcec37c31c31258ccf1fa0ffb5814375 SHA512 456b45d071a18562d914e70b141de55950fcf4a5e2aa882b85bdd8c4abab3a62ab1e413c0524a31be2e278328aab67a898f319bd640e9d9a84163efe24e5a872 DIST charliecloud-0.9.1.tar.gz 194937 BLAKE2B 2ef2ee70cee3293ec4f7f589c9a034afa82835981132ea433d720b2a2750df68adb261540c98bc04e7f8904375dd8804819fb3015dc6e65bbe097fa55d558976 SHA512 6a54912ceb3ea99e9d3d1fa8469d7288df0b71872c6cb1d5a4d324f6f84754b7e4804ec1a3c2a30e7dd6377a3b474fea849eb42014f3599ad27a3f6214642a2b +DIST charliecloud-0.9.3.tar.gz 200507 BLAKE2B debd06bd6158a473d07618bc8fd9ae8c431212eef87699cdd412cf29390e25f6f9e596ac93eb0d663c47ca0b8243cfbcbfc634066f6de03bb673488471e7ef01 SHA512 d312a583438d579ef4ddd6b1d78cc2c6b32e352dad99dcff93f7e0a346aa11fa534091ad6446217bc6fe0dc6d7299d99ffb2c7bb1a441353fd9b2f118ead2c80 diff --git a/sys-cluster/charliecloud/charliecloud-0.9.3.ebuild b/sys-cluster/charliecloud/charliecloud-0.9.3.ebuild new file mode 100644 index 00000000000..f7d1882d07b --- /dev/null +++ b/sys-cluster/charliecloud/charliecloud-0.9.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 +}