mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-fs/mc: add 2025.04.16.18.13.26
Signed-off-by: jinqiang zhang <peeweep@0x0.ee> Part-of: https://github.com/gentoo/gentoo/pull/41541 Closes: https://github.com/gentoo/gentoo/pull/41541 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
4aeaf6c08f
commit
b9cbe300f0
@@ -1,2 +1,4 @@
|
||||
DIST mc-2025.03.12.17.29.24-vendor.tar.xz 4649352 BLAKE2B 787178215c51649a5011756afc1bab2aafeecf30a620eb7bfe67b8209efb38689430524bd78cb4fe30dfdb8dee1a90c3ed3965b230974f73eac1171f9e1aa89e SHA512 b82ef063a6ec8b4ff0c9e4aa928beb1a875a8ca2a464505f6e1506a99b77e4fdac1400a99443b1bb3b1c86c232fc461cb8ca0179eb8c06d98275f142087387e7
|
||||
DIST mc-2025.03.12.17.29.24.tar.gz 558698 BLAKE2B 7dd23fe57e0a1b07437e0a72a253ec52c3ef1bf1f26c4bc1f9784756176d31f9720372fd38e5df6a4b911430248a32894cf32bab6584f3ae441fddc07d82d3b3 SHA512 061de96085f4b35bdc122184844301587cbed13c67a75897275af60db1e00689cf8aaf8b8f4e0e9a26b86afbccc7f31c697e2ce30c2280c3e9546a6b315514b6
|
||||
DIST mc-2025.04.16.18.13.26-vendor.tar.xz 4663152 BLAKE2B b25bd743193aac880ee79552daf5b6ee65ca8acb356fe464d45d2664f81bb46af7dd1e1e3303b43312493f7ae700b1c13c7cfcee39096d2671ff6440dd98324d SHA512 ca6391ecabf6b40a76242152620761e67decd344ab18942d7bf905e001f6d7d9e863ad19d4dcdbd85836782529a3c9dff2db14c50dc489150bf5303c3a344233
|
||||
DIST mc-2025.04.16.18.13.26.tar.gz 560942 BLAKE2B f08e9e5f5dfb740d5b21035536bff42a7cb3157c5cf42e059a1ef35c2f6e4f30afffbeda74820aaf2aa13895baef135f9cd621f51b63f91ed624a2ae362ccfe4 SHA512 01c535901f46ef39c7f75c40834271d2f57c402e2403f2cd39e4baf0eb438ba23269e6b625eaa1ece0d075aafaa661f34b97c051860e956d9bc69cbd89dc6329
|
||||
|
||||
39
net-fs/mc/mc-2025.04.16.18.13.26.ebuild
Normal file
39
net-fs/mc/mc-2025.04.16.18.13.26.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
MY_PV="$(ver_cut 1-3)T$(ver_cut 4-7)Z"
|
||||
MY_PV=${MY_PV//./-}
|
||||
YEAR="$(ver_cut 1)"
|
||||
COMMIT_ID=b00526b153a31b36767991a4f5ce2cced435ee8e
|
||||
|
||||
DESCRIPTION="Minio client provides alternatives for ls, cat on cloud storage and filesystems"
|
||||
HOMEPAGE="https://github.com/minio/mc"
|
||||
SRC_URI="https://github.com/minio/mc/archive/RELEASE.${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://github.com/gentoo-zh/gentoo-deps/releases/download/${P}/${P}-vendor.tar.xz"
|
||||
|
||||
S="${WORKDIR}/${PN}-RELEASE.${MY_PV}"
|
||||
LICENSE="Apache-2.0 BSD MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="test" # bug #927667, fails with network-sandbox
|
||||
|
||||
RDEPEND="!!app-misc/mc"
|
||||
|
||||
src_compile() {
|
||||
# go run buildscripts/gen-ldflags.go
|
||||
local ldflags="-s -w \
|
||||
-X github.com/minio/mc/cmd.Version=${MY_PV} \
|
||||
-X github.com/minio/mc/cmd.CopyrightYear=${YEAR} \
|
||||
-X github.com/minio/mc/cmd.ReleaseTag=RELEASE.${MY_PV} \
|
||||
-X github.com/minio/mc/cmd.CommitID=${COMMIT_ID}"
|
||||
ego build -trimpath --ldflags "${ldflags}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin mc
|
||||
dodoc README.md CONTRIBUTING.md
|
||||
}
|
||||
Reference in New Issue
Block a user