dev-vcs/git-lfs: Cleanup old stable version

Closes: https://github.com/gentoo/gentoo/pull/35805
Signed-off-by: Nils Freydank <holgersson@posteo.de>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Nils Freydank
2024-03-17 20:18:45 +01:00
committed by Yixun Lan
parent 3d6defc120
commit e1fa4d4977
2 changed files with 0 additions and 71 deletions

View File

@@ -1,4 +1,3 @@
DIST git-lfs-3.2.0.tar.gz 3270970 BLAKE2B fc235d48e44f8a0f446b05914cd110e6486481482b2884483dcf04198a3275a633cd8090e1591975f8b84ba678c258581e3510fc0d478d5fc72abf6aa98bd5c0 SHA512 c2ba8cecd5b3519a032f446b0c3043352f37f3c67ff3c2304a38beb176f0ae8efd1deaeb8bd54a35d7dd7dcd988da67249c896dffd83fc293b165a3e6bb02d66
DIST git-lfs-3.4.0-deps.tar.xz 19912396 BLAKE2B 0e2e50e7b7566fe93d87f86c4b3a3a3f5f0cefc734af83516a5d3122d101333df5ed65cf848e727a1b7593ffdffeee72108221951313f47775b265f4fbdcb1be SHA512 50f7eba5abd4a3ad83e1cd74d7d413e8f708b796b67d60d404af512823423532e1bbbfaa5385ee668cbdd6ec0bce89b862db571c76e5a3f0d0cee5097ccc73d2
DIST git-lfs-3.4.0.tar.gz 674499 BLAKE2B 8232c7492a453fc5a8855b13cfbf95c64a9c614d740bebebefcc44f6a7e2daddaee0dee3f8d8ba653999b8516c47a491af6449b5daf5e3861f3530d372b213e4 SHA512 ff0d624bc48d9ab4332943af8212652d9959e8f9d6a356a3722047903e01bc1dcf04178b97d58a327d0a381569854034c4a1dc2baea9976a8f20d97d7e637f31
DIST git-lfs-3.5.1-deps.tar.xz 21401028 BLAKE2B a011061ebae15c7d80d908d46051c95462b617073623be83c067cfc9b028eb8f803f53dcb17a6e19d8e1bfd9c2349db9f7a000d91008b1c375bfc73de4793b25 SHA512 1879624ee84e5d138f8dcb9cb626822d0a2e063705cb424db5c9f9d609af496104655ebb878ec950112b8b39d147141ff86b6474ad8210384dd93318034c19a4

View File

@@ -1,70 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EGO_PN=github.com/git-lfs/git-lfs
inherit go-module
DESCRIPTION="Command line extension and specification for managing large files with git"
HOMEPAGE="https://git-lfs.com/"
if [[ "${PV}" = 9999* ]]; then
EGIT_REPO_URI="https://${EGO_PN}"
inherit git-r3
else
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="Apache-2.0 BSD BSD-2 BSD-4 ISC MIT"
SLOT="0"
IUSE="doc test"
BDEPEND="doc? ( app-text/ronn-ng )"
RDEPEND="dev-vcs/git"
RESTRICT+=" !test? ( test )"
DOCS=(
CHANGELOG.md
CODE-OF-CONDUCT.md
CONTRIBUTING.md
README.md
SECURITY.md
)
src_compile() {
# Flags -w, -s: Omit debugging information to reduce binary size,
# see https://golang.org/cmd/link/.
local mygobuildargs=(
-ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT} -s -w"
-mod vendor -v -work -x
)
go build "${mygobuildargs[@]}" -o git-lfs git-lfs.go || die
if use doc; then
ronn docs/man/*.ronn || die "man building failed"
fi
}
src_install() {
dobin git-lfs
einstalldocs
use doc && doman docs/man/*.1
}
src_test() {
local mygotestargs=(
-ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT}"
-mod vendor
)
go test "${mygotestargs[@]}" ./... || die
}
pkg_postinst () {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
elog ""
elog "Run 'git lfs install' once for each user account manually."
elog "For more details see https://bugs.gentoo.org/show_bug.cgi?id=733372."
fi
}