diff options
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/mc/Manifest | 1 | ||||
-rw-r--r-- | net-fs/mc/mc-2019.04.03.17.59.57.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/net-fs/mc/Manifest b/net-fs/mc/Manifest index fbd6e90df152..61ca214cf060 100644 --- a/net-fs/mc/Manifest +++ b/net-fs/mc/Manifest @@ -36,3 +36,4 @@ DIST mc-2019.03.06.18.41.35.tar.gz 3060998 BLAKE2B 8ce267ebeb132aae1ab2681d7fcae DIST mc-2019.03.09.00.30.31.tar.gz 3061079 BLAKE2B 528c3e8b20af8c77c256dbb25cee0c79691e6575f9739788927bd8b023fb2fe492fb1186f144f3abf1132b3b7375c649940b40c63f59dcbc7436cff9603fdd6d SHA512 28aa906be58afd85a5d5afd8458f5a200270d8bf4caad90484ee6335ce5033c910369a212f47272d6f7bcbb6aaa78fc35f3307da5e8bad3268ba737f8791f4c6 DIST mc-2019.03.20.21.29.03.tar.gz 3068226 BLAKE2B 9659aa05931c28f054d639a8850692a77e81d75c1a86af9e7887fc492bdcb30c0e3582d42495a443945f1c89f691989d8e67d479cef4f1c1ebc82fde63b3f444 SHA512 ce4aad970b6f41bf06423a414ffc3396257c37654b9f7e10d6994e4adbacb0ba5b5fc94412e1d420429333e341ff2f76172d1a6ce978612f09f7ff37547d8d06 DIST mc-2019.03.28.20.43.56.tar.gz 268089 BLAKE2B dda5b3186360ab917031423e1532a72da8005978b6c1e8f363bd97f1e1575399ee9d319c01aa2e7097e0b57723c8def849838ea99876b476d021bb8a787ca8dd SHA512 160054070e412c420b2c75e0d6f5b7b78dc20f07d695b46fb3141b3428c7a9391205810d9edd720b35b35e4901fcfe801277d4bc6ec7ff2a840ccc776f329bfd +DIST mc-2019.04.03.17.59.57.tar.gz 268507 BLAKE2B 9a427dd206b06d2adc47ba430e708584250fdd43def2598b589b5b6d9fd1a761d5edde4370fd627b9eb337c24de22393dd1e2a732a74655f301fa89ca2eae6ff SHA512 ef234116ee49b0348e1fc28bb6265b1b45f835dfb90adb0c6008057fdf423e5ad68e8eb4aed83b780d3cbc06162a4e95866bc49275c8cceda4d42ccea094ac92 diff --git a/net-fs/mc/mc-2019.04.03.17.59.57.ebuild b/net-fs/mc/mc-2019.04.03.17.59.57.ebuild new file mode 100644 index 000000000000..c29be22e7156 --- /dev/null +++ b/net-fs/mc/mc-2019.04.03.17.59.57.ebuild @@ -0,0 +1,87 @@ +# 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" ) + +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 + rm go.mod || 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}" + 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 +}
\ No newline at end of file |