summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-01-25 11:23:14 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-01-25 11:23:14 +0300
commitfdd3f3904b6cabe24f4590708e4923390c61f025 (patch)
tree960509d073e9f47e76413a5cd68a7f71090d8c9c /net-fs
parentkde-plasma/xembed-sni-proxy: x86 stable wrt bug #675040 (diff)
downloadgentoo-fdd3f3904b6cabe24f4590708e4923390c61f025.tar.gz
gentoo-fdd3f3904b6cabe24f4590708e4923390c61f025.tar.bz2
gentoo-fdd3f3904b6cabe24f4590708e4923390c61f025.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/Manifest1
-rw-r--r--net-fs/mc/mc-2019.01.24.01.40.23.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/net-fs/mc/Manifest b/net-fs/mc/Manifest
index 4cf4068e10b6..31080e57b857 100644
--- a/net-fs/mc/Manifest
+++ b/net-fs/mc/Manifest
@@ -8,3 +8,4 @@ DIST mc-2018.12.05.22.59.07.tar.gz 1732742 BLAKE2B 33cf0023d3350d739567cf9d402f3
DIST mc-2018.12.12.19.02.22.tar.gz 1734072 BLAKE2B 23539e764308d91012ec7fde5531066f88cf654f5cb98d9424b7697610df5dd0b0257f3926fbe35370b28c96abcb82c00fe4061e6cfe8adf8a130800a2bb3bef SHA512 c0f65b1e438f72716ff04e755654d021de37852f5eb2d2a16954c6b6e6356b9f9a31ce018b791e71c7deced82acb0be32c2bf4e27b4d6bd3ce9df91ecaf155cf
DIST mc-2018.12.19.22.58.03.tar.gz 1732775 BLAKE2B 300a514c3eca52ab9b136c1d6a01055593d40f2b207229fa9f32f2fa3b3dce30a28fd4e39dd97ca51ddf920a91d2b45ecf44e843d7de9f271896717391f7242c SHA512 9fe0afbd4bb39d609b6e6e67a159997dd6b9ee43cc741282d05e9a55d4c24aa56258ad2eee08991112aa89002ac8a4c0042505b979d5ac49cb3714fd810da354
DIST mc-2019.01.10.00.38.22.tar.gz 1791858 BLAKE2B ae89c935634190e347be8c2f0a3dfff12872b4eca7aa17b79b5e05d7cb9be6fe39ff7b0ccbb6ddf5851ae3ee84a89eebf289d801340519e91470b3f5c60f7c37 SHA512 626e5adf5a3dcda0945e5fb37394097550f2976626da50e795b389d1d78545b1a2907c9b9fded5ce26823694e7e3981a69fa18ed00ae21d5c405c69c165ae1ce
+DIST mc-2019.01.24.01.40.23.tar.gz 1791330 BLAKE2B a3fb0cb2cc199f4fe21c7770d58a3278d6a89a90916bd604293a5845064e337d36a5ac2e565d785a440803b6deefd84f114115a8f06dfc38d234225daa66a55e SHA512 215f91a8f4f325ffb8714d92a8030c36ada5251df4b24cb1d9b82d7f8d6c0f1188dfc2fdc36b1dcf8d842a805ccba3965977908a01e39e7893e05b131eb3b9b9
diff --git a/net-fs/mc/mc-2019.01.24.01.40.23.ebuild b/net-fs/mc/mc-2019.01.24.01.40.23.ebuild
new file mode 100644
index 000000000000..7a3a66e507b5
--- /dev/null
+++ b/net-fs/mc/mc-2019.01.24.01.40.23.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
+}