diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-16 12:59:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-16 12:59:29 +0000 |
commit | 79599515788b85b18aa655e7b7f8cc05c1bbddd8 (patch) | |
tree | ade7cb031f363fad64c77139dea7aa3d81908537 /net-fs/mc | |
parent | 6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (diff) |
gentoo resync : 16.02.1018
Diffstat (limited to 'net-fs/mc')
-rw-r--r-- | net-fs/mc/Manifest | 2 | ||||
-rw-r--r-- | net-fs/mc/mc-2019.02.13.19.48.27.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/net-fs/mc/Manifest b/net-fs/mc/Manifest index a60b6ff3ac1d..dd1c305d1d57 100644 --- a/net-fs/mc/Manifest +++ b/net-fs/mc/Manifest @@ -5,6 +5,7 @@ DIST mc-2019.01.10.00.38.22.tar.gz 1791858 BLAKE2B ae89c935634190e347be8c2f0a3df DIST mc-2019.01.24.01.40.23.tar.gz 1791330 BLAKE2B a3fb0cb2cc199f4fe21c7770d58a3278d6a89a90916bd604293a5845064e337d36a5ac2e565d785a440803b6deefd84f114115a8f06dfc38d234225daa66a55e SHA512 215f91a8f4f325ffb8714d92a8030c36ada5251df4b24cb1d9b82d7f8d6c0f1188dfc2fdc36b1dcf8d842a805ccba3965977908a01e39e7893e05b131eb3b9b9 DIST mc-2019.01.30.19.57.22.tar.gz 1792065 BLAKE2B bb4a43549f5ff520c944a057fdecb80e892b03d9bdcce918613221357049e7ffcd77d51dce44b1253a3c912762749515d823cc8fe14a2dc8fb72060ff3943bd6 SHA512 14892985cdeba341c71bb93e41d468cae1f763fa7eb7489e0172a9bdb19e0f65efe41af0c2022e4c30c4018c6ee511bd992dc2b8906275c25896f084621ce96a DIST mc-2019.02.06.20.26.56.tar.gz 1855021 BLAKE2B 22d684e44e8ca8b6915fbcc05d734e522c3b3e37d8a05b7745f1255c7cc9d186513a2713f4b53afbe7613dcc7d61f5423df83afbafa700bf17398615aad57058 SHA512 4b0f7e14506eea6c7b2a44656b040775cff33686e03415d489696c3402deb7e41dfd5e6609f201902e5c6a42e39ece1cfd57cc2f934f796bd610a555eacd692d +DIST mc-2019.02.13.19.48.27.tar.gz 2983136 BLAKE2B 60958cd80e5315993e36fa03acf0291efcb8e1e92cbf104c97f97d5ba606c6f3dc4a18a4f79aca7fed4bd224e1cbbf5d880d19eba3cc1338fcb1ef14d2399c55 SHA512 93a46891ce2d539e23a09c8ee807ec868dbae4b97673ce6eed5845658dedb2c3007d982ed5883abae349a0df1c4aa2275130b9ed7172354761ce5dd0c4d91479 EBUILD mc-2018.12.05.22.59.07.ebuild 1175 BLAKE2B 030b7bb80fe1cf27c89d99664b4ef050d187872f57b38b88acc16c6f8db0f06f0c5137ad32e609ca19c98697d6edc61c7b755428e40f0cd00e20140013a913c3 SHA512 07c68e08844d8243615d19edd2405ba62d498475fdc4c4fa468be3e54f88a04c2acdc45b7a67f1e8a61480721b6193f165f17874a42c4d4dddd0455ae4bcd860 EBUILD mc-2018.12.12.19.02.22.ebuild 1175 BLAKE2B 030b7bb80fe1cf27c89d99664b4ef050d187872f57b38b88acc16c6f8db0f06f0c5137ad32e609ca19c98697d6edc61c7b755428e40f0cd00e20140013a913c3 SHA512 07c68e08844d8243615d19edd2405ba62d498475fdc4c4fa468be3e54f88a04c2acdc45b7a67f1e8a61480721b6193f165f17874a42c4d4dddd0455ae4bcd860 EBUILD mc-2018.12.19.22.58.03.ebuild 1175 BLAKE2B 030b7bb80fe1cf27c89d99664b4ef050d187872f57b38b88acc16c6f8db0f06f0c5137ad32e609ca19c98697d6edc61c7b755428e40f0cd00e20140013a913c3 SHA512 07c68e08844d8243615d19edd2405ba62d498475fdc4c4fa468be3e54f88a04c2acdc45b7a67f1e8a61480721b6193f165f17874a42c4d4dddd0455ae4bcd860 @@ -12,4 +13,5 @@ EBUILD mc-2019.01.10.00.38.22.ebuild 1175 BLAKE2B 61b24bb99216fb058dd20fcd87259f EBUILD mc-2019.01.24.01.40.23.ebuild 1175 BLAKE2B 61b24bb99216fb058dd20fcd87259f67e60cd486c642cb31cd7e445d15ece2275c45001a834b591e4e1b9b4b113185a8f1ebc1dadf011c52de433d1edc731ab1 SHA512 7da8bd683173d5a4aca42cff1776909f85b3a7bb84e5445b28f78e2c8b2b77a34f3fac4f92c8a7629dfc6cdc3977fc053f7b2108a0ae4b19957e0a7bb68a0dd1 EBUILD mc-2019.01.30.19.57.22.ebuild 1175 BLAKE2B 61b24bb99216fb058dd20fcd87259f67e60cd486c642cb31cd7e445d15ece2275c45001a834b591e4e1b9b4b113185a8f1ebc1dadf011c52de433d1edc731ab1 SHA512 7da8bd683173d5a4aca42cff1776909f85b3a7bb84e5445b28f78e2c8b2b77a34f3fac4f92c8a7629dfc6cdc3977fc053f7b2108a0ae4b19957e0a7bb68a0dd1 EBUILD mc-2019.02.06.20.26.56.ebuild 1175 BLAKE2B 61b24bb99216fb058dd20fcd87259f67e60cd486c642cb31cd7e445d15ece2275c45001a834b591e4e1b9b4b113185a8f1ebc1dadf011c52de433d1edc731ab1 SHA512 7da8bd683173d5a4aca42cff1776909f85b3a7bb84e5445b28f78e2c8b2b77a34f3fac4f92c8a7629dfc6cdc3977fc053f7b2108a0ae4b19957e0a7bb68a0dd1 +EBUILD mc-2019.02.13.19.48.27.ebuild 1175 BLAKE2B 61b24bb99216fb058dd20fcd87259f67e60cd486c642cb31cd7e445d15ece2275c45001a834b591e4e1b9b4b113185a8f1ebc1dadf011c52de433d1edc731ab1 SHA512 7da8bd683173d5a4aca42cff1776909f85b3a7bb84e5445b28f78e2c8b2b77a34f3fac4f92c8a7629dfc6cdc3977fc053f7b2108a0ae4b19957e0a7bb68a0dd1 MISC metadata.xml 316 BLAKE2B a9702a517ffa52bc439add8a4712f3835bb9b7200fcc0d0fba23c23e91387a185295198a80734c79dbd4cc0146f4b393f3396495830ecf0122cbbb334a5fa651 SHA512 630bdebb37c4df4255b8dd7dd28566e9f484697e1ff50981a743b94593ef56484b20aec86a0109458a0e88b7c357da78afa8ed946ba3bca2a7db5bf006747913 diff --git a/net-fs/mc/mc-2019.02.13.19.48.27.ebuild b/net-fs/mc/mc-2019.02.13.19.48.27.ebuild new file mode 100644 index 000000000000..7a3a66e507b5 --- /dev/null +++ b/net-fs/mc/mc-2019.02.13.19.48.27.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eapi7-ver bash-completion-r1 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() { + 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 + newbashcomp autocomplete/bash_autocomplete ${PN} + popd || die +} |