mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
net-fs/mc: add 2025.08.13.08.35.41
Signed-off-by: jinqiang zhang <peeweep@0x0.ee> Part-of: https://github.com/gentoo/gentoo/pull/43709 Closes: https://github.com/gentoo/gentoo/pull/43709 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
88b5f28d32
commit
1a0f1f1691
@ -1,2 +1,4 @@
|
||||
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
|
||||
DIST mc-2025.08.13.08.35.41-vendor.tar.xz 4686384 BLAKE2B 0a6446715461fd93e4028ee26641cf477e181406521b1c2a71a5db8383eb66150e0edcd5f1746718f586acf606cb4d45efd20166058922b91e9e19be57d75585 SHA512 0a9b53456052655020373e797ec1f2ddfecf6884b93a8d12c1aa246320f8b1cc0459287474a7a71e5f97a55e11d97a0afeff93a43bcfa11a631553142be91fa8
|
||||
DIST mc-2025.08.13.08.35.41.tar.gz 564218 BLAKE2B b1a6eb525ffad9a57ef515b093eabc002cde680bf67bd780db4fb258b31ea8bbc529e702d8dbe556ff0169b9d89d2efa64afab862696513e5235d30ffd7e4dd4 SHA512 e54fbcf7ef0f718a6356ff591dec3bb4bd58603622ade99b7adcead66dce0ff5d36a07b20ee6b99d5c4ecc540d0b9a32293d82e5767e60f98635a7471436af97
|
||||
|
||||
37
net-fs/mc/mc-2025.08.13.08.35.41.ebuild
Normal file
37
net-fs/mc/mc-2025.08.13.08.35.41.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="7394ce0dd2a80935aded936b09fa12cbb3cb8096"
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user