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 B218F138334 for ; Wed, 13 Mar 2019 08:43:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA1BFE089D; Wed, 13 Mar 2019 08:43:26 +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 AAD79E089D for ; Wed, 13 Mar 2019 08:43:26 +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 3B705335CFB for ; Wed, 13 Mar 2019 08:43:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82240565 for ; Wed, 13 Mar 2019 08:43:23 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1552466584.d478b01cb63ae4963d1404b042d1d5cbd834341d.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/mc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/mc/Manifest net-fs/mc/mc-2019.03.09.00.30.31.ebuild X-VCS-Directories: net-fs/mc/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: d478b01cb63ae4963d1404b042d1d5cbd834341d X-VCS-Branch: master Date: Wed, 13 Mar 2019 08:43:23 +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: 337b9e79-c532-4870-a55c-5ae8ebb8af0d X-Archives-Hash: 4907ab42f59f81c175d94b3d8618e4e6 commit: d478b01cb63ae4963d1404b042d1d5cbd834341d Author: Mikle Kolyada gentoo org> AuthorDate: Wed Mar 13 08:43:04 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Wed Mar 13 08:43:04 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d478b01c net-fs/mc: Version bump Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 net-fs/mc/Manifest | 1 + net-fs/mc/mc-2019.03.09.00.30.31.ebuild | 50 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-fs/mc/Manifest b/net-fs/mc/Manifest index 66d3a4753bc..69c2bbf0c3c 100644 --- a/net-fs/mc/Manifest +++ b/net-fs/mc/Manifest @@ -6,3 +6,4 @@ DIST mc-2019.02.13.19.48.27.tar.gz 2983136 BLAKE2B 60958cd80e5315993e36fa03acf02 DIST mc-2019.02.20.22.21.50.tar.gz 3007023 BLAKE2B 0cb7d1ab4a9314e951204e6710aa81652327d45d6c0b0083f15baa48d0edbbaf81c8fb76f30bdc706b43126f1ef4fa9ba44edeafea8fa124ece43ee61741bd10 SHA512 d52365873ff35c33e859b7d9b860d4ac7971169cdfe1e12286cfaf60bca5acbe80bf4670a5aa56fbe9cc60fd115e97a97b46a172a507e5853d962ce7cb391760 DIST mc-2019.02.27.18.44.28.tar.gz 3007123 BLAKE2B bbb382f48b5744e0ebef6848d2d419096f2aa40fe1a7ede4cf692befac83c2df20bade05605d2aee59d50267e67993c8cd69c7b99d677c733af9aa3ca29e047a SHA512 00b97009e8f69a24f8222c47af3dadf2d8750e7247afe6ea89aecd9e97994cac256aac9e5226f815e228912ee6fe92ab78ef64b2b87edd6cf4eb0c6f236cf72f DIST mc-2019.03.06.18.41.35.tar.gz 3060998 BLAKE2B 8ce267ebeb132aae1ab2681d7fcaeb557f7822cc518153cb001dfbde9d968ab0056ed52b01cdeb44d1112ea2ce233877751f205661cd7d53c6640bea533b131c SHA512 b0b5aa99aaaf8858fcf2884154bc7e293a618e88a13a8ea4c3671c4d187d8628a1ce9b190895db09520a0af452be1125e7cd5158373467f14e7fbe771199c9db +DIST mc-2019.03.09.00.30.31.tar.gz 3061079 BLAKE2B 528c3e8b20af8c77c256dbb25cee0c79691e6575f9739788927bd8b023fb2fe492fb1186f144f3abf1132b3b7375c649940b40c63f59dcbc7436cff9603fdd6d SHA512 28aa906be58afd85a5d5afd8458f5a200270d8bf4caad90484ee6335ce5033c910369a212f47272d6f7bcbb6aaa78fc35f3307da5e8bad3268ba737f8791f4c6 diff --git a/net-fs/mc/mc-2019.03.09.00.30.31.ebuild b/net-fs/mc/mc-2019.03.09.00.30.31.ebuild new file mode 100644 index 00000000000..927f40765b1 --- /dev/null +++ b/net-fs/mc/mc-2019.03.09.00.30.31.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eapi7-ver golang-build golang-vcs-snapshot + +MY_PV="$(ver_cut 1-3)T$(ver_cut 4-7)Z" +MY_PV=${MY_PV//./-} + +EGIT_COMMIT="c352cadd4be2c6bed64884c78d1e8a8ac6efaf3f" + +EGO_PN="github.com/minio/mc" + +DESCRIPTION="Minio client provides alternatives for ls, cat on cloud storage and filesystems" +HOMEPAGE="https://github.com/minio/mc" +SRC_URI="https://${EGO_PN}/archive/RELEASE.${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="!!app-misc/mc" + +src_prepare() { + default + sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${VERSION}\"/"\ + -e "s/-s //"\ + -e "/time/d"\ + -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/"\ + src/${EGO_PN}/buildscripts/gen-ldflags.go || die + +} + +src_compile() { + unset XDG_CACHE_HOME + + pushd src/${EGO_PN} || die + MC_RELEASE="${MY_PV}" + GOPATH="${S}" go build --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die + popd || die + +} + +src_install() { + pushd src/${EGO_PN} || die + dodoc -r README.md CONTRIBUTING.md docs + dobin mc + popd || die +}