diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-24 17:22:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-24 17:22:19 +0000 |
commit | aa3411e241a201d53a2689766fe419f2756819f3 (patch) | |
tree | cc19adfde0a10aab1ab566c8dfe3c1616e5cc390 /net-fs/mc | |
parent | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (diff) |
gentoo resync : 24.03.2019
Diffstat (limited to 'net-fs/mc')
-rw-r--r-- | net-fs/mc/Manifest | 2 | ||||
-rw-r--r-- | net-fs/mc/mc-2019.03.20.21.29.03.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-fs/mc/Manifest b/net-fs/mc/Manifest index bf6bb58302de..82d525428d8c 100644 --- a/net-fs/mc/Manifest +++ b/net-fs/mc/Manifest @@ -7,6 +7,7 @@ DIST mc-2019.02.20.22.21.50.tar.gz 3007023 BLAKE2B 0cb7d1ab4a9314e951204e6710aa8 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 +DIST mc-2019.03.20.21.29.03.tar.gz 3068226 BLAKE2B 9659aa05931c28f054d639a8850692a77e81d75c1a86af9e7887fc492bdcb30c0e3582d42495a443945f1c89f691989d8e67d479cef4f1c1ebc82fde63b3f444 SHA512 ce4aad970b6f41bf06423a414ffc3396257c37654b9f7e10d6994e4adbacb0ba5b5fc94412e1d420429333e341ff2f76172d1a6ce978612f09f7ff37547d8d06 EBUILD mc-2019.01.10.00.38.22.ebuild 1198 BLAKE2B e7cdf845035f8c7e3341d136a4e2746a96e01dd89c9c29f2795cb7e49a263b1748a411c5d7aaede0ad76c3ab43dff11b4d9c1ff02669c0d5aabe657dc486bcb3 SHA512 dab9a70916b8900b4d1775a72ad606913d9ad57f44b3aced9bb9f69b3699f4874e37c2a863a676e20f6dd88a15f416ac24538be64ead43170570a3a26a05b00f EBUILD mc-2019.01.24.01.40.23.ebuild 1198 BLAKE2B e7cdf845035f8c7e3341d136a4e2746a96e01dd89c9c29f2795cb7e49a263b1748a411c5d7aaede0ad76c3ab43dff11b4d9c1ff02669c0d5aabe657dc486bcb3 SHA512 dab9a70916b8900b4d1775a72ad606913d9ad57f44b3aced9bb9f69b3699f4874e37c2a863a676e20f6dd88a15f416ac24538be64ead43170570a3a26a05b00f EBUILD mc-2019.01.30.19.57.22.ebuild 1198 BLAKE2B e7cdf845035f8c7e3341d136a4e2746a96e01dd89c9c29f2795cb7e49a263b1748a411c5d7aaede0ad76c3ab43dff11b4d9c1ff02669c0d5aabe657dc486bcb3 SHA512 dab9a70916b8900b4d1775a72ad606913d9ad57f44b3aced9bb9f69b3699f4874e37c2a863a676e20f6dd88a15f416ac24538be64ead43170570a3a26a05b00f @@ -16,4 +17,5 @@ EBUILD mc-2019.02.20.22.21.50.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0b EBUILD mc-2019.02.27.18.44.28.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0bee6e04293b0ccf18fb1e97872bc7a8cedf8012a8022f0b1ad09bbfafe0631d816f8f612f5cbfbfd56de9f25cec59366bdb SHA512 5b06ca0291203ba5c572902effb811218877e16d55c89d880122ec657b1e1620c7be0ccfb0fdcf13e327faf1570834700278fc59535ed0e1086f59bb55c85f12 EBUILD mc-2019.03.06.18.41.35.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0bee6e04293b0ccf18fb1e97872bc7a8cedf8012a8022f0b1ad09bbfafe0631d816f8f612f5cbfbfd56de9f25cec59366bdb SHA512 5b06ca0291203ba5c572902effb811218877e16d55c89d880122ec657b1e1620c7be0ccfb0fdcf13e327faf1570834700278fc59535ed0e1086f59bb55c85f12 EBUILD mc-2019.03.09.00.30.31.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0bee6e04293b0ccf18fb1e97872bc7a8cedf8012a8022f0b1ad09bbfafe0631d816f8f612f5cbfbfd56de9f25cec59366bdb SHA512 5b06ca0291203ba5c572902effb811218877e16d55c89d880122ec657b1e1620c7be0ccfb0fdcf13e327faf1570834700278fc59535ed0e1086f59bb55c85f12 +EBUILD mc-2019.03.20.21.29.03.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0bee6e04293b0ccf18fb1e97872bc7a8cedf8012a8022f0b1ad09bbfafe0631d816f8f612f5cbfbfd56de9f25cec59366bdb SHA512 5b06ca0291203ba5c572902effb811218877e16d55c89d880122ec657b1e1620c7be0ccfb0fdcf13e327faf1570834700278fc59535ed0e1086f59bb55c85f12 MISC metadata.xml 316 BLAKE2B a9702a517ffa52bc439add8a4712f3835bb9b7200fcc0d0fba23c23e91387a185295198a80734c79dbd4cc0146f4b393f3396495830ecf0122cbbb334a5fa651 SHA512 630bdebb37c4df4255b8dd7dd28566e9f484697e1ff50981a743b94593ef56484b20aec86a0109458a0e88b7c357da78afa8ed946ba3bca2a7db5bf006747913 diff --git a/net-fs/mc/mc-2019.03.20.21.29.03.ebuild b/net-fs/mc/mc-2019.03.20.21.29.03.ebuild new file mode 100644 index 000000000000..927f40765b1c --- /dev/null +++ b/net-fs/mc/mc-2019.03.20.21.29.03.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 +} |