diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-03-07 20:02:11 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-03-07 20:02:11 +0300 |
commit | 6aa9bc1d7709936f4d625ff035d6b51460de3b23 (patch) | |
tree | 926e7ee94c6fbf0beeb7181cb1763d615598f7eb /net-fs | |
parent | dev-db/pgadmin4: Bump to 4.3 (diff) | |
download | gentoo-6aa9bc1d7709936f4d625ff035d6b51460de3b23.tar.gz gentoo-6aa9bc1d7709936f4d625ff035d6b51460de3b23.tar.bz2 gentoo-6aa9bc1d7709936f4d625ff035d6b51460de3b23.zip |
net-fs/mc: Version bump
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/mc/Manifest | 1 | ||||
-rw-r--r-- | net-fs/mc/mc-2019.03.06.18.41.35.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/net-fs/mc/Manifest b/net-fs/mc/Manifest index a0a3a4fa0bb6..f25d013d4e6c 100644 --- a/net-fs/mc/Manifest +++ b/net-fs/mc/Manifest @@ -8,3 +8,4 @@ DIST mc-2019.02.06.20.26.56.tar.gz 1855021 BLAKE2B 22d684e44e8ca8b6915fbcc05d734 DIST mc-2019.02.13.19.48.27.tar.gz 2983136 BLAKE2B 60958cd80e5315993e36fa03acf0291efcb8e1e92cbf104c97f97d5ba606c6f3dc4a18a4f79aca7fed4bd224e1cbbf5d880d19eba3cc1338fcb1ef14d2399c55 SHA512 93a46891ce2d539e23a09c8ee807ec868dbae4b97673ce6eed5845658dedb2c3007d982ed5883abae349a0df1c4aa2275130b9ed7172354761ce5dd0c4d91479 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 diff --git a/net-fs/mc/mc-2019.03.06.18.41.35.ebuild b/net-fs/mc/mc-2019.03.06.18.41.35.ebuild new file mode 100644 index 000000000000..e3e65060fd19 --- /dev/null +++ b/net-fs/mc/mc-2019.03.06.18.41.35.ebuild @@ -0,0 +1,48 @@ +# 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() { + 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 +} |