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