dev-vcs/git-lfs: Add new package, version 2.9.2

This bump is a based on William Hubbs’s ebuild
from bug 693622 for 2.8.0.

Closes: https://bugs.gentoo.org/693622
Closes: https://bugs.gentoo.org/695246
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2019-12-18 22:33:33 +01:00
parent 5cd7a0f566
commit 52b3339482
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
3 changed files with 79 additions and 0 deletions

22
dev-vcs/git-lfs/Manifest Normal file
View File

@ -0,0 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST git-lfs-2.9.2.tar.gz 2522788 BLAKE2B dded39eb76ae427143485ce169b55c1d3d562b4a4329c21e2ba7c5575b24ce6342546d1b9f4c36af80a9693f8850ee7b85f92437a0e20a4f113e22d5c3d6ac97 SHA512 a63250326c96f116630b379e7840d429a6e331e23832d691b3be390f429732ac5a7b9f60715c36d20c28dead33046918bdcd694fd6fe7ef8b0f3b701ffeba66b
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl36myZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyHR8g/+ISrqr0hLYO6ETqFFS53lcYtNzlF3PH15WyKa/DAGAcA1QR0rhtuWnY4h
yAE6Lp80/3/52B5psMYjOygHkrC0ClykVH3OSMZaLJgYsPvJj9Wm41Fr9zVD9pjh
8ZZv9XdnTzRjY35rC4MFxvo+u4sHFCSD8m9+QdL9sZyhguKoQXoRvueRKQOFzUyz
KHc/XDtLua55u1+bgpYkdlVLhINxIU+cqFNIkTC8DsqLCZtQhiYHnOF+br8wqDap
Ouf86FNRehLXA3wk8/TSUOLCnaWYu32dJwyvinr7yYjn4dZ6lT9lGg4x2kmP8GSi
Ir5Lur5FMd5p+105sNj/rYZ+RxuedigSKDq3gwKfhJah/rkybEyk6HfOCL5X/eP/
p7zP/IswwWCHcdkdm2oRSRPAXw3Wl/xjt60xV/cP4pe6qK9qoz4F1lpvZylMFsZf
LMiGhcWwgXKGb9HVrPu7UyEPNDhQDztt9Fqy7xuesbGjv7DQBMjUtWoGnIhDc/8K
xYIqVXfF2TbUJTS4OO3woYs6O1XvWmRmDDWOJqYZv2zcsgtxOrD7krbsqTG5qrR2
502vYmxjYo4/hWnjLkUWQZI6W51TORF16IzjUmpbc57DdZCqKHBzrMENZNAN3um+
HEjIrz2eDuZ03a8EiU2hVKInEDA9ZeX7nYTMllmZ/vub870Uhps=
=1Hws
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,46 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGO_PN="github.com/${PN}/${PN}"
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 ~amd64-linux ~x86-linux"
fi
HOMEPAGE="https://git-lfs.github.com/"
DESCRIPTION="command line extension and specification for managing large files with Git"
LICENSE="Apache-2.0 BSD BSD-2 BSD-4 ISC MIT"
SLOT="0"
IUSE="doc"
DEPEND="dev-lang/go
doc? ( app-text/ronn )"
RDEPEND="dev-vcs/git"
QA_FLAGS_IGNORED="/usr/bin/git-lfs"
RESTRICT="strip"
src_compile() {
set -- go build \
-ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT}" \
-mod vendor -v -work -x \
-o git-lfs git-lfs.go
echo "$@"
"$@" || die
if use doc; then
ronn docs/man/*.ronn || die "man building failed"
fi
}
src_install() {
dobin git-lfs
dodoc {CHANGELOG,CODE-OF-CONDUCT,CONTRIBUTING,README}.md
use doc && doman docs/man/*.1
}

View File

@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<upstream>
<remote-id type="github">git-lfs/git-lfs</remote-id>
</upstream>
</pkgmetadata>