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 37E82138334 for ; Thu, 21 Nov 2019 06:10:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63A9FE0841; Thu, 21 Nov 2019 06:10:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 30B61E0841 for ; Thu, 21 Nov 2019 06:10:22 +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 7FD8C34D169 for ; Thu, 21 Nov 2019 06:10:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A763E889 for ; Thu, 21 Nov 2019 06:10:17 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1574316612.c9c2e92009cea720b2fef36e1bfb883f6e8a6696.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/containers-storage/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/containers-storage/Manifest app-emulation/containers-storage/containers-storage-1.14.0.ebuild X-VCS-Directories: app-emulation/containers-storage/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c9c2e92009cea720b2fef36e1bfb883f6e8a6696 X-VCS-Branch: master Date: Thu, 21 Nov 2019 06:10:17 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 68a06463-f372-4f4b-9b4e-d9041983cfa3 X-Archives-Hash: 2d0cf2f27a0deb87827da10bc1065c46 commit: c9c2e92009cea720b2fef36e1bfb883f6e8a6696 Author: Zac Medico gentoo org> AuthorDate: Thu Nov 21 06:07:55 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Nov 21 06:10:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c2e920 app-emulation/containers-storage: Bump to version 1.14.0 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Zac Medico gentoo.org> app-emulation/containers-storage/Manifest | 1 + .../containers-storage-1.14.0.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/app-emulation/containers-storage/Manifest b/app-emulation/containers-storage/Manifest index 9342b4834ba..bae0fe2b31e 100644 --- a/app-emulation/containers-storage/Manifest +++ b/app-emulation/containers-storage/Manifest @@ -1,2 +1,3 @@ DIST containers-storage-1.13.5.tar.gz 5968281 BLAKE2B 9690ebc87ce32a82b7560d594e192e0ad4dc9e8885797593d8c9699c13b9ddf0814773bce081edafe3050aba5d2bc470855c0717874c091b1468d52f7ad08658 SHA512 7f9f65e3141b7843a42389c78b3fbcc55a205eb661968f85942ccc2751fa6eb3fdf1199e8d244264d1b8f392e290a1770f93d5a8fd58de98f9d9a277aa39155f +DIST containers-storage-1.14.0.tar.gz 5969311 BLAKE2B 7a7a7cb02b0dde590a633f14c0f17ed9b020c352857914b142efe3b47202c94869828b442fe703ad796c6c16a4f7321bc0832ddcc2a588bcc10c25af4bddc75e SHA512 95f8804808e2603cbca0ada584c2057832d6d7a0e83cc59defea27e8a825c4db1bb1e604311d81421341e2cb324d2f1833e6498f05e71d22d86414e5206ac748 DIST github.com-pquerna-ffjson-e517b90714f7c0eabe6d2e570a5886ae077d6db6.tar.gz 103470 BLAKE2B 81f0f6ea6648997cb61723d09d456802e60a3d1eb35134c4bbc8af5943b955b1402fe2b3f8d0d4d2d0293ab256a9be66d53262d5f79ca00bf8c18ded39dc44f4 SHA512 fadca5a7bd0c0578b23281720a08c505054f3497daeee8efa36b5acafa4118feb4b8a96c4acb4c279d72ebcd50846307cfbb846a355b62f350c961f9102c93a6 diff --git a/app-emulation/containers-storage/containers-storage-1.14.0.ebuild b/app-emulation/containers-storage/containers-storage-1.14.0.ebuild new file mode 100644 index 00000000000..d094e8ef9e3 --- /dev/null +++ b/app-emulation/containers-storage/containers-storage-1.14.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module + +KEYWORDS="~amd64" +DESCRIPTION="containers/storage library" +HOMEPAGE="https://github.com/containers/storage" +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" +SLOT="0" +IUSE="btrfs +device-mapper test" +EGO_PN="${HOMEPAGE#*//}" +EGIT_COMMIT="v${PV}" +SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +RDEPEND=" + btrfs? ( sys-fs/btrfs-progs ) + device-mapper? ( sys-fs/lvm2:= )" +DEPEND="${RDEPEND} + dev-go/go-md2man + test? ( + sys-fs/btrfs-progs + sys-fs/lvm2 + sys-apps/util-linux + )" +RESTRICT="test" + +S=${WORKDIR}/${P#containers-} + +src_prepare() { + default + + sed -e 's:GO111MODULE=off:GO111MODULE=on:' -i Makefile || die + + [[ -f hack/btrfs_tag.sh ]] || die + use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \ + "hack/btrfs_tag.sh" || die; } + + [[ -f hack/libdm_tag.sh ]] || die + use device-mapper || { echo -e "#!/bin/sh\necho btrfs_noversion exclude_graphdriver_devicemapper" > \ + "hack/libdm_tag.sh" || die; } +} + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME #678856 + emake containers-storage docs +} + +src_install() { + dobin "${PN}" + while read -r -d ''; do + mv "${REPLY}" "${REPLY%.1}" || die + done < <(find "${S}/docs" -name '*.[[:digit:]].1' -print0) + find "${S}/docs" -name '*.[[:digit:]]' -exec doman '{}' + || die +} + +src_test() { + GOPATH="${S}" unshare -m emake local-test-unit || die +}