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 33E7E138350 for ; Thu, 2 Apr 2020 02:36:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52F72E09A8; Thu, 2 Apr 2020 02:36:42 +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 18E9CE09A8 for ; Thu, 2 Apr 2020 02:36:42 +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 65D5434FBE8 for ; Thu, 2 Apr 2020 02:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E35FC1B9 for ; Thu, 2 Apr 2020 02:36:37 +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: <1585794992.709b565b876606b8e4663b147f3d58548c89bf79.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.18.1.ebuild X-VCS-Directories: app-emulation/containers-storage/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 709b565b876606b8e4663b147f3d58548c89bf79 X-VCS-Branch: master Date: Thu, 2 Apr 2020 02:36:37 +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: d20c7464-f016-44d4-9eb2-67b98d042c7f X-Archives-Hash: 17800835adca759ccfe7369e3d34a750 commit: 709b565b876606b8e4663b147f3d58548c89bf79 Author: Zac Medico gentoo org> AuthorDate: Thu Apr 2 02:35:24 2020 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Apr 2 02:36:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=709b565b app-emulation/containers-storage: Bump to version 1.18.1 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Zac Medico gentoo.org> app-emulation/containers-storage/Manifest | 1 + .../containers-storage-1.18.1.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-emulation/containers-storage/Manifest b/app-emulation/containers-storage/Manifest index cf0e1739912..8e0e5c5973e 100644 --- a/app-emulation/containers-storage/Manifest +++ b/app-emulation/containers-storage/Manifest @@ -1,3 +1,4 @@ DIST containers-storage-1.15.1.tar.gz 6037975 BLAKE2B e6d0d9adae829fd3d8cb40aa124b7149ee56ed13650b0dc57ba316ab2f03e754bdbb3e566c199b7768c612b159fa3051db39cd90127f4676255e452863aa7e24 SHA512 ea017e7dec840e5794f0ae61ebfc0cbf55b8de2c237286371eef3fd1808809e2bb149f08ba62126c741e0811839bf0af8f97bbda32e715132e42905f2ebd3a6c DIST containers-storage-1.15.2.tar.gz 6199303 BLAKE2B 76b950892d4a3016a6df2223c66d9720334205bb1c1b6d18f09b984df9c967391329a970d9d927206f37d4557fc6f4b6c366cb6f35711d2a7d8842f7e3bf7221 SHA512 b152e85e8ebdc5016955287c289390568865d60b2b034e5d32eaa3d11d775a12788465246ff7b75cd8a079758f5d2fd90bd1443191f6a089f54862951a26cdae DIST containers-storage-1.15.7.tar.gz 6202610 BLAKE2B 2eeeb124c0ce22b5f80aced4b0a9b8d541a00d532458c64e8a017b6d7e7364b90cf798db81b9dfe36af3a25e70383529f7e2ee649750ceaff753b9327a1713c8 SHA512 25317ec5a002274422cab7ab3928ac5e9776751bc2c7c17800def2f0f918f2356c074f1914056e24bd900fb4d951d6259461f9fe3fd7c6d669ca2e78b2c70d12 +DIST containers-storage-1.18.1.tar.gz 3803605 BLAKE2B 6ecf7a2ac395f0973f2d071d6736ccd6dfe8917168b50daeb26b141457d9fc53d9f4471577c659dcf77f2d4058d0a5cecbe1599a365d7ae102916188dc44aa5d SHA512 1b2d16ae5703af232c58eb4ecc65b98a7f754cd9784b563e5323ef3303dc8f72896453f2fd84fee20490b72f9c2455437d5879f6c5c23aaa188316cb1b272211 diff --git a/app-emulation/containers-storage/containers-storage-1.18.1.ebuild b/app-emulation/containers-storage/containers-storage-1.18.1.ebuild new file mode 100644 index 00000000000..868c589909c --- /dev/null +++ b/app-emulation/containers-storage/containers-storage-1.18.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 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" +SRC_URI="https://github.com/containers/storage/archive/v${PV}.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|: install\.tools|:|' -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 GOPATH XDG_CACHE_HOME #678856 + emake GOMD2MAN=go-md2man FFJSON= 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() { + env -u GOFLAGS unshare -m emake local-test-unit || die +}