From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD1AD139694 for ; Mon, 1 May 2017 10:18:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E746BE0E09; Mon, 1 May 2017 10:18:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE922E0E09 for ; Mon, 1 May 2017 10:18:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EE933416AB for ; Mon, 1 May 2017 10:18:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8966A743B for ; Mon, 1 May 2017 10:18:45 +0000 (UTC) From: "Ettore Di Giacinto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ettore Di Giacinto" Message-ID: <1493633872.0c167a39a9fd441bf0ff2aec45f50aa07671ea87.mudler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-lfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git-lfs/Manifest dev-vcs/git-lfs/git-lfs-2.1.0.ebuild X-VCS-Directories: dev-vcs/git-lfs/ X-VCS-Committer: mudler X-VCS-Committer-Name: Ettore Di Giacinto X-VCS-Revision: 0c167a39a9fd441bf0ff2aec45f50aa07671ea87 X-VCS-Branch: master Date: Mon, 1 May 2017 10:18:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cdccd56d-1909-49c5-b458-0fac41b6a971 X-Archives-Hash: 651bb22be5091762f52b197519920412 commit: 0c167a39a9fd441bf0ff2aec45f50aa07671ea87 Author: Ettore Di Giacinto gentoo org> AuthorDate: Mon May 1 08:59:27 2017 +0000 Commit: Ettore Di Giacinto gentoo org> CommitDate: Mon May 1 10:17:52 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c167a39 dev-vcs/git-lfs: Bump version to 2.1.0 Package-Manager: Portage-2.3.3, Repoman-2.3.2 dev-vcs/git-lfs/Manifest | 1 + dev-vcs/git-lfs/git-lfs-2.1.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-vcs/git-lfs/Manifest b/dev-vcs/git-lfs/Manifest index 9c28044f55b..873effac824 100644 --- a/dev-vcs/git-lfs/Manifest +++ b/dev-vcs/git-lfs/Manifest @@ -1,3 +1,4 @@ DIST git-lfs-1.5.6.tar.gz 604139 SHA256 4efbc806cde1ea6ab4e1d61db3e1f6939796fd53bf6e9c94ac564610147ea5cd SHA512 f5f2da9ac44647335b25cad3104027cf5476e25ef9763019744123f9e1ef81edadbf5b08a146b8070487b32a18aa202c799f910aee6f2f0144ca411ad6d7cfd2 WHIRLPOOL 2f785abffc917a322fe59f4354980d5f565572620569b9b53e85ecdf84b5d7ad407ced8853c897814daa816cac6efd1f85c9098cae9fe48b179cd3381c5f840d DIST git-lfs-2.0.1.tar.gz 629218 SHA256 62887214d90f0c1d1ba3da45112dffcc1d6bd1d1fabc9ef1e1ab85341242b11f SHA512 09653a59ac2d53964f3ccf07610918b1b37a782df5a984bd9680ff53361795f3c652081da78f26d6efb47fd8d8c6032933ce62f76ae9b48a977aace064d7773e WHIRLPOOL 1a8a808d83fa93a85a4ab9433e5e629d651954bc38c3dcd45e4539d7ec05897e7b712d9eeaf2c9ec0e2f5c65a3ccf17c193bdecef80b83c5d8b1cc872cd65055 DIST git-lfs-2.0.2.tar.gz 633786 SHA256 e266bdffa53e947ba1d0bf8944d73029384bad2ed05af92bc10918d07eec6b63 SHA512 af5d82234b4136e8d5637c93f7786b56ef552ff30bff01c444ac6fa9685785225148f7a8714c108691195a6f720a7c22f3bcaccaed080cffecf011d8480781ed WHIRLPOOL e7706e7fe949c5d65b2acb34c73e9c1605d0cbe2c607baee93f3c6c67b183f8eb70be2abca3b3c549a26947aef32ddb65742aca33614b519611acdb6dae74f0c +DIST git-lfs-2.1.0.tar.gz 645947 SHA256 638e079aab661a8e4d886fd9d4ea728c5e4efcbf657ad4f5497ba39b91e91c08 SHA512 8674d850d4d03ddbea9088fc79dd0956273ed0a76626500344c0c48d5729c2d6bab3e22d298361726a5b87232a9365eb7ca7c910cc0b782117b315dbc7488348 WHIRLPOOL 312258dd0a39a482d2a423128ca81d80c3797c29e2eb855aa6c20c5bfec07b39b0a2f728be72049eab1b9a2edc72ad8bb9393e450754b24cbfc8d8b8bfcc15a3 diff --git a/dev-vcs/git-lfs/git-lfs-2.1.0.ebuild b/dev-vcs/git-lfs/git-lfs-2.1.0.ebuild new file mode 100644 index 00000000000..7a32ca36cc9 --- /dev/null +++ b/dev-vcs/git-lfs/git-lfs-2.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN="github.com/git-lfs/${PN}" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="command line extension and specification for managing large files with Git" +HOMEPAGE="https://git-lfs.github.com/" + +LICENSE="MIT BSD BSD-2 BSD-4 Apache-2.0" +SLOT="0" +IUSE="+doc" + +# since version 2.0.2 git-lfs uses time.Until that was introduced in golang >=1.8 +# https://github.com/golang/go/commit/67ea710792eabdae1182e2bf4845f512136cccce +DEPEND=">=dev-lang/go-1.8.1:= + doc? ( app-text/ronn )" + +RDEPEND="dev-vcs/git" + +S="${WORKDIR}/${P}/src/${EGO_PN}" + +src_compile() { + # can't use golang-build_src_compile for go generate + # and others steps executed by build.go + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ + go run script/*.go -cmd build || die "build failed" + + if use doc; then + ronn docs/man/*.ronn || die "man building failed" + fi +} + +src_install() { + dobin bin/git-lfs + + use doc && doman docs/man/*.1 +}