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 20BD8138334 for ; Thu, 1 Aug 2019 11:44:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D5FCE07F9; Thu, 1 Aug 2019 11:44:34 +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 E0C2FE07F9 for ; Thu, 1 Aug 2019 11:44:33 +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 727F234917E for ; Thu, 1 Aug 2019 11:44:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B0966DB for ; Thu, 1 Aug 2019 11:44:30 +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: <1564659866.d78834ac39ccab0639d0cce1f90f2834fa2f1e84.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.07.31.19.17.35.ebuild X-VCS-Directories: net-fs/mc/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: d78834ac39ccab0639d0cce1f90f2834fa2f1e84 X-VCS-Branch: master Date: Thu, 1 Aug 2019 11:44:30 +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: ce853808-87c7-41b7-b61a-2262103dc615 X-Archives-Hash: 259f4f59611a7d94631e3d81867e4dc0 commit: d78834ac39ccab0639d0cce1f90f2834fa2f1e84 Author: Mikle Kolyada gentoo org> AuthorDate: Thu Aug 1 11:44:03 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Thu Aug 1 11:44:26 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78834ac net-fs/mc: Version bump Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> net-fs/mc/Manifest | 1 + net-fs/mc/mc-2019.07.31.19.17.35.ebuild | 88 +++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/net-fs/mc/Manifest b/net-fs/mc/Manifest index 8e7ee1ee8d0..c0e7296cdd7 100644 --- a/net-fs/mc/Manifest +++ b/net-fs/mc/Manifest @@ -39,3 +39,4 @@ DIST mc-2019.03.28.20.43.56.tar.gz 268089 BLAKE2B dda5b3186360ab917031423e1532a7 DIST mc-2019.04.03.17.59.57.tar.gz 268507 BLAKE2B 9a427dd206b06d2adc47ba430e708584250fdd43def2598b589b5b6d9fd1a761d5edde4370fd627b9eb337c24de22393dd1e2a732a74655f301fa89ca2eae6ff SHA512 ef234116ee49b0348e1fc28bb6265b1b45f835dfb90adb0c6008057fdf423e5ad68e8eb4aed83b780d3cbc06162a4e95866bc49275c8cceda4d42ccea094ac92 DIST mc-2019.04.10.22.11.28.tar.gz 268793 BLAKE2B b71c351cebaa48928152729e8540f5d78ed42c1370ce70044d2ead9144581ba4dee348d3e8725762fc1bb37336c32be229ae90bc049e402cc66c46d9be8b0f94 SHA512 f2499aeb4d6cbe8c8585629a880dbce04a6c3c13dc55c0629440a6fc37f43da03a24dc2894808b55bab8fa2c87dbfaac675da1065f3840bda588817c1ac8deac DIST mc-2019.07.17.22.13.42.tar.gz 282003 BLAKE2B c169945f4667606a641fa5610d3adbe5ad4ee5add52feff91c12236fd7bb25cc1ca5769ec13fa24a8600c374bb984ac19badb5dde82e40ca2741d9151e15cc6d SHA512 3ce8bb40f2f9602097a2c800caec5ff3d6c1f12004bb44d6ab98a0a373e59ede69331242bd7be04023e9679157a41f12ef6eaa5388d5fbbc9ff3bf36de9f00de +DIST mc-2019.07.31.19.17.35.tar.gz 284773 BLAKE2B 51320ba9f1c557650f49d43b2a4e5c3709c391e17db3bc1adb857bc7554e100a83251bc51ededeb12b70e077bee5619d87a8f24843706268d102f859e50e49ff SHA512 beaf4c7023cbad9f16d97dda09ad2d3a08d540300d8e08111224a4a492b09dfd2228290948f70d1dc59e3e1748bf0eb8cae88bb8479524b4ff8b88327984e15d diff --git a/net-fs/mc/mc-2019.07.31.19.17.35.ebuild b/net-fs/mc/mc-2019.07.31.19.17.35.ebuild new file mode 100644 index 00000000000..ae152571cd3 --- /dev/null +++ b/net-fs/mc/mc-2019.07.31.19.17.35.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_VENDOR=( "github.com/pkg/profile f6fe06335df110bcf1ed6d4e852b760bfc15beee" + "gopkg.in/h2non/filetype.v1 cc14fdc9ca0e4c2bafad7458f6ff79fd3947cfbb github.com/h2non/filetype" + "gopkg.in/mattn/go-isatty 6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c github.com/mattn/go-isatty" + "github.com/pkg/xattr dd870b5cfebab49617ea0c1da6176474e8a52bf4" + "golang.org/x/text 6f44c5a2ea40ee3593d98cdcc905cc1fdaa660e2 github.com/golang/text" + "github.com/mitchellh/go-homedir af06845cf3004701891bf4fdb884bfe4920b3727" + "golang.org/x/sys 81d4e9dc473e5e8c933f2aaeba2a3d81efb9aed2 github.com/golang/sys" + "github.com/cheggaaa/pb f907f6f5dd81f77c2bbc1cde92e4c5a04720cb11" + "github.com/mattn/go-runewidth 3ee7d812e62a0804a7d0a324e0249ca2db3476d3" + "github.com/mattn/go-colorable 3a70a971f94a22f2fa562ffcc7a0eb45f5daf045" + "github.com/dustin/go-humanize 9f541cc9db5d55bce703bd99987c9d5cb8eea45e" + "github.com/fatih/color 5b77d2a35fb0ede96d138fc9a99f5c9b6aef11b4" + "github.com/hashicorp/go-version d40cf49b3a77bba84a7afdbd7f1dc295d114efb1" + "github.com/inconshreveable/go-update 8152e7eb6ccf8679a64582a66b78519688d156ad" + "github.com/mattn/go-isatty 6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c" + "golang.org/x/net b630fd6fe46bcfc98f989005d8b8ec1400e60a6e github.com/golang/net" + "golang.org/x/crypto a5d413f7728c81fb97d96a2b722368945f651e78 github.com/golang/crypto" + "github.com/segmentio/go-prompt f0d19b6901ade831d5a3204edc0d6a7d6457fbb2" + "github.com/rjeczalik/notify 69d839f37b13a8cb7a78366f7633a4071cb43be7" + "github.com/posener/complete 3ef9b31a6a0613ae832e7ecf208374027c3b2343" + "github.com/minio/sha256-simd 05b4dd3047e5d6e86cb4e0477164b850cd896261" + "github.com/hashicorp/go-multierror 886a7fbe3eb1c874d46f623bfa70af45f425b3d1" + "github.com/hashicorp/errwrap 8a6fb523712970c966eefc6b39ed2c5e74880354" + "github.com/minio/cli 8683fa7fef37cc8cb092f47bdb6b403e0049f9ee" + "github.com/minio/minio-go 5d20267d970d9e514bbcb88b37b059bb5321ff60" + "github.com/minio/minio 0250f7de678bbca5ad8bbfd50e2f65133feb06e2" + "github.com/howeyc/gopass bf9dde6d0d2c004a008c27aaee91170c786f6db8" + "gopkg.in/ini.v1 c85607071cf08ca1adaf48319cd1aa322e81d8c1 github.com/go-ini/ini" + "github.com/minio/minio-go/v6 5d20267d970d9e514bbcb88b37b059bb5321ff60 github.com/minio/minio-go" +) + +inherit 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 + ${EGO_VENDOR_URI}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="!!app-misc/mc" + +src_prepare() { + default + + pushd src/${EGO_PN} || die + + sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${VERSION}\"/"\ + -e "s/-s //"\ + -e "/time/d"\ + -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/"\ + buildscripts/gen-ldflags.go || die + + popd || die + +} + +src_compile() { + unset XDG_CACHE_HOME + + pushd src/${EGO_PN} || die + + MC_RELEASE="${MY_PV}" + GO111MODULE=on 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 +}