mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-fs/mc: add 2025.07.21.05.28.08
Signed-off-by: jinqiang zhang <peeweep@0x0.ee> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
committed by
Yixun Lan
parent
c54e83c4be
commit
2df62f0d0e
@@ -1,2 +1,4 @@
|
||||
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
|
||||
DIST mc-2025.07.21.05.28.08-vendor.tar.xz 4665728 BLAKE2B e622d7f4ba7dec1b996dd23acf8e69c061ba0cb95d54cde4dc7d4f1dd2cefe3f0928fe2b50a35e2797f917015b2fab460db167257a012383ee562e04be53a297 SHA512 baf16d5e6f43f535e8f00e9e9b4939bb5201e09a6de15307e5b1b18d2d6bf2e80521ad79882bad3fa58ea6639a3ba696a7dbe742cfb37dc863a15a5eaab4a33f
|
||||
DIST mc-2025.07.21.05.28.08.tar.gz 563585 BLAKE2B 599df8801cff77d9eafc073b11d5d27349f191b17a9c37813b1a33d0c6c37de3ecb5a5e4e91bd7e831ace61ecdddfd0a21d8f12f7cb54470a769de3c1251ee3f SHA512 f159a8bae6a1e342f58b983c3c69471e94de4dffc87225898e114eb8fb3654e2ea0616ecbb96245f4e2dad612b296a696b3249b20faafe66e708d96694244ce6
|
||||
|
||||
37
net-fs/mc/mc-2025.07.21.05.28.08.ebuild
Normal file
37
net-fs/mc/mc-2025.07.21.05.28.08.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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="ee72571936f15b0e65dc8b4a231a4dd445e5ccb6"
|
||||
|
||||
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
|
||||
|
||||
src_compile() {
|
||||
# go run buildscripts/gen-ldflags.go
|
||||
local ldflags=" \
|
||||
-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() {
|
||||
newbin mc minio-client
|
||||
dodoc README.md CONTRIBUTING.md
|
||||
}
|
||||
Reference in New Issue
Block a user