Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-lfs/
Date: Thu, 28 Jan 2021 08:17:00
Message-Id: 1611821797.575ef9c09ef6fb557ed4957c4d77a5c534fab0f7.juippis@gentoo
1 commit: 575ef9c09ef6fb557ed4957c4d77a5c534fab0f7
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 28 08:13:54 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 28 08:16:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=575ef9c0
7
8 dev-vcs/git-lfs: remove old 2.12.1
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 dev-vcs/git-lfs/Manifest | 1 -
13 dev-vcs/git-lfs/git-lfs-2.12.1.ebuild | 62 -----------------------------------
14 2 files changed, 63 deletions(-)
15
16 diff --git a/dev-vcs/git-lfs/Manifest b/dev-vcs/git-lfs/Manifest
17 index a7587c4696d..22a0e33d730 100644
18 --- a/dev-vcs/git-lfs/Manifest
19 +++ b/dev-vcs/git-lfs/Manifest
20 @@ -1,3 +1,2 @@
21 DIST git-lfs-2.11.0.tar.gz 2839623 BLAKE2B e9d0e8ea37f19617a4f727abdc93c3c937052ad98b6ac40de27ced6b250789701797d04f1bf795b259e83155e5d8a1ca122dbf8b40503c2c41d6d891a3ecf096 SHA512 2117b425864a36f773c14d34c78999636d836646184cf8d89045ef6de90cbded873d4de4613ecfafb0fa2ea8ae068e11f5ae22eed6af01715b5fac9be70f033b
22 -DIST git-lfs-2.12.1.tar.gz 2848245 BLAKE2B 745a1ad252b925074a9ddfd9f899098dfca0b672b176178675652d910737f76c2c55aa502d0a544ad36a7eee00a464e12b9bb178ccd1fb118c2a96b362de80d1 SHA512 728bf414910a9a9106ea6769b939aae9ec25976e686399d0612e8ff99131a6571641b4121cb123ad6c32fc6dd59674ca50416a48e4771924b27062326df78ce0
23 DIST git-lfs-2.13.1.tar.gz 2526962 BLAKE2B 3f3af1c0f976a17c108159fff15a065600f32af2a31d459fcd4b9e64d8e77aa8569aa81c932f38713ff6bafdb636aae464a2044f2664d124ca7de0a7157da969 SHA512 48397ed0ae976544c80df59df1991b0f35606d0a3ed9eb0aef66857e5bf2974e8ad5677be98b53433628d26f9e5135e9f28b15c8789cc6a4ed091946b79e6fce
24
25 diff --git a/dev-vcs/git-lfs/git-lfs-2.12.1.ebuild b/dev-vcs/git-lfs/git-lfs-2.12.1.ebuild
26 deleted file mode 100644
27 index f5a948c8f4f..00000000000
28 --- a/dev-vcs/git-lfs/git-lfs-2.12.1.ebuild
29 +++ /dev/null
30 @@ -1,62 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -EGO_PN=github.com/git-lfs/git-lfs
36 -inherit go-module
37 -
38 -DESCRIPTION="Command line extension and specification for managing large files with git"
39 -HOMEPAGE="https://git-lfs.github.com/"
40 -
41 -if [[ "${PV}" = 9999* ]]; then
42 - EGIT_REPO_URI="https://${EGO_PN}"
43 - inherit git-r3
44 -else
45 - SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
47 -fi
48 -
49 -LICENSE="Apache-2.0 BSD BSD-2 BSD-4 ISC MIT"
50 -SLOT="0"
51 -IUSE="doc test"
52 -
53 -BDEPEND="doc? ( app-text/ronn )"
54 -RDEPEND="dev-vcs/git"
55 -
56 -RESTRICT+=" !test? ( test )"
57 -
58 -src_compile() {
59 - # Flags -w, -s: Omit debugging information to reduce binary size,
60 - # see https://golang.org/cmd/link/.
61 - local mygobuildargs=(
62 - -ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT} -s -w"
63 - -mod vendor -v -work -x
64 - )
65 - go build "${mygobuildargs[@]}" -o git-lfs git-lfs.go || die
66 -
67 - if use doc; then
68 - ronn docs/man/*.ronn || die "man building failed"
69 - fi
70 -}
71 -
72 -src_install() {
73 - dobin git-lfs
74 - dodoc {CHANGELOG,CODE-OF-CONDUCT,CONTRIBUTING,README}.md
75 - use doc && doman docs/man/*.1
76 -}
77 -
78 -src_test() {
79 - local mygotestargs=(
80 - -ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT}"
81 - -mod vendor
82 - )
83 - go test "${mygotestargs[@]}" ./... || die
84 -}
85 -
86 -pkg_postinst () {
87 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
88 - elog ""
89 - elog "Run \'git lfs install\' once for each user account manually."
90 - elog "For more details see https://bugs.gentoo.org/show_bug.cgi?id=733372."
91 - fi
92 -}