diff options
author | Oliver Freyermuth <o.freyermuth@googlemail.com> | 2020-09-21 22:45:00 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-10-09 10:25:15 +0300 |
commit | 87e163c3459a75e6bd7d1cd3e9471784ba2c3dae (patch) | |
tree | 35e64c9cb0649df502e63b5f039b8393f277bad3 /sys-cluster/charliecloud | |
parent | net-proxy/mitmproxy: revbump 5.2 due to sqlite req (diff) | |
download | gentoo-87e163c3459a75e6bd7d1cd3e9471784ba2c3dae.tar.gz gentoo-87e163c3459a75e6bd7d1cd3e9471784ba2c3dae.tar.bz2 gentoo-87e163c3459a75e6bd7d1cd3e9471784ba2c3dae.zip |
sys-cluster/charliecloud: Version bump to 0.19.
This also adds Python 3.8 for 0.19 and 9999.
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-cluster/charliecloud')
-rw-r--r-- | sys-cluster/charliecloud/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/charliecloud/charliecloud-0.19.ebuild | 80 | ||||
-rw-r--r-- | sys-cluster/charliecloud/charliecloud-9999.ebuild | 9 |
3 files changed, 86 insertions, 4 deletions
diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest index 25542687ce4a..d13cb4849dad 100644 --- a/sys-cluster/charliecloud/Manifest +++ b/sys-cluster/charliecloud/Manifest @@ -1,2 +1,3 @@ DIST charliecloud-0.16.tar.gz 356118 BLAKE2B 72e7640feb23fbc55c515fd841cf90562b7800a83673b6a786c8162229b6714ed6a98d3c5066e42ce75a58935e085e86e42ae927cd5f14e6e54ffe6e9863629e SHA512 bf37b5ea2d139635f3207475497bd90595ce625ce9ad05eef5fcd19ec3252e4843eba2bd457587cd9c4ab860aa1e40ec01ac5cd073414bb5a4f89b5c4488bceb DIST charliecloud-0.18.tar.gz 366210 BLAKE2B 0da9542cccc39ff6f3ce97532e8576b8eb91c9d7f104fb31c1fe47ca88b3eb0150370fe7585c96a3f9ac3eee28e853866cf9a2c4bfc03b6dd1961d3731ae5439 SHA512 0b23db2348fb1fd491e450fa8684c47dae5acbbdac10fc3b12b5019e1db5f7024d259b43d082e0a4a202b5e79e042e408460d4b52f1e634eff3d4a7f4e68c50b +DIST charliecloud-0.19.tar.gz 370553 BLAKE2B a87fc00a88528dfaf5a0a666ff92b98ee4bc7d37c5eaaa7c5029e4269b497d280e1e84757bf882f94480b618ac2430b0cc0550406317e8247155e1b380d30c8b SHA512 e2a000155ac2cc5bd40e1f2a7c2d873e4860bd5ef28a362ce5a04a1f4152b2ad1124055755c288e6ae5d40067661dfacbb77a528e3c071aa189765e0d29addb5 diff --git a/sys-cluster/charliecloud/charliecloud-0.19.ebuild b/sys-cluster/charliecloud/charliecloud-0.19.ebuild new file mode 100644 index 000000000000..ff37c4fd92ac --- /dev/null +++ b/sys-cluster/charliecloud/charliecloud-0.19.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit autotools optfeature python-single-r1 + +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 ~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="ch-grow doc examples +squashfs squashfuse" + +# Extensive test suite exists, but downloads container images +# directly and via Docker and installs packages inside using apt/yum. +# Additionally, clashes with portage namespacing and sandbox. +RESTRICT="test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + squashfs? ( sys-fs/squashfs-tools ) + squashfuse? ( sys-fs/squashfuse )" +DEPEND=" + ch-grow? ( + $(python_gen_cond_dep ' + dev-python/lark-parser[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + ') + ) + doc? ( + $(python_gen_cond_dep ' + dev-python/sphinx[${PYTHON_MULTI_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_MULTI_USEDEP}] + ') + net-misc/rsync + )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local econf_args=() + econf_args+=( + $(use_enable doc html) + $(use_enable ch-grow) + # Libdir is used as a libexec-style destination. + --libdir="${EPREFIX}"/usr/lib + # Attempts to call python-exec directly otherwise. + --with-sphinx-python=${PYTHON} + # This disables -Werror, see also: https://github.com/hpc/charliecloud/pull/808 + --enable-buggy-build + ) + econf "${econf_args[@]}" +} + +pkg_postinst() { + elog "Various builders are supported, as alternative " + elog "to the internal ch-grow. The following packages " + elog "can be installed to get the corresponding support " + elog "and related functionality." + + optfeature "Building with Buildah" app-emulation/buildah + optfeature "Building with Docker" app-emulation/docker + optfeature "Progress bars during long operations" sys-apps/pv +} diff --git a/sys-cluster/charliecloud/charliecloud-9999.ebuild b/sys-cluster/charliecloud/charliecloud-9999.ebuild index b35d7def4f93..ff37c4fd92ac 100644 --- a/sys-cluster/charliecloud/charliecloud-9999.ebuild +++ b/sys-cluster/charliecloud/charliecloud-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit autotools optfeature python-single-r1 @@ -21,7 +21,7 @@ HOMEPAGE="https://hpc.github.io/charliecloud/" SLOT="0" LICENSE="Apache-2.0" -IUSE="ch-grow doc examples +pv +squashfs squashfuse" +IUSE="ch-grow doc examples +squashfs squashfuse" # Extensive test suite exists, but downloads container images # directly and via Docker and installs packages inside using apt/yum. @@ -31,7 +31,6 @@ RESTRICT="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} - pv? ( sys-apps/pv ) squashfs? ( sys-fs/squashfs-tools ) squashfuse? ( sys-fs/squashfuse )" DEPEND=" @@ -72,8 +71,10 @@ src_configure() { pkg_postinst() { elog "Various builders are supported, as alternative " elog "to the internal ch-grow. The following packages " - elog "can be installed to get the corresponding support." + elog "can be installed to get the corresponding support " + elog "and related functionality." optfeature "Building with Buildah" app-emulation/buildah optfeature "Building with Docker" app-emulation/docker + optfeature "Progress bars during long operations" sys-apps/pv } |