From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 778AE138CCF for ; Fri, 15 May 2015 19:09:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7CB2E081D; Fri, 15 May 2015 19:09:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65C3BE081D for ; Fri, 15 May 2015 19:09:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62458340DE8 for ; Fri, 15 May 2015 19:09:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1CF79E3 for ; Fri, 15 May 2015 19:09:36 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1431716836.d440548e3601a3af1668416a7e40d34b7fbc9f08.ulm@gentoo> Subject: [gentoo-commits] dev/ulm:master commit in: dev-tex/vc/, dev-tex/vc/files/ X-VCS-Repository: dev/ulm X-VCS-Files: dev-tex/vc/ChangeLog dev-tex/vc/files/vc-0.5-fix-git-date.patch dev-tex/vc/vc-0.5.ebuild X-VCS-Directories: dev-tex/vc/ dev-tex/vc/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: d440548e3601a3af1668416a7e40d34b7fbc9f08 X-VCS-Branch: master Date: Fri, 15 May 2015 19:09:36 +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: ccc7ba6a-d3f5-44d6-9b16-96a100cbe530 X-Archives-Hash: a8a97ed9e67ca4cc9e9ba85369f61fd6 commit: d440548e3601a3af1668416a7e40d34b7fbc9f08 Author: Ulrich Müller gentoo org> AuthorDate: Fri May 15 19:07:16 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri May 15 19:07:16 2015 +0000 URL: https://gitweb.gentoo.org/dev/ulm.git/commit/?id=d440548e Fix date information in git. Package-Manager: portage-2.2.19 dev-tex/vc/ChangeLog | 4 ++++ dev-tex/vc/files/vc-0.5-fix-git-date.patch | 11 +++++++++++ dev-tex/vc/vc-0.5.ebuild | 6 +++++- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/dev-tex/vc/ChangeLog b/dev-tex/vc/ChangeLog index 5193a62..954383a 100644 --- a/dev-tex/vc/ChangeLog +++ b/dev-tex/vc/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 15 May 2015; Ulrich Müller vc-0.5.ebuild, + +files/vc-0.5-fix-git-date.patch: + Fix date information in git. + *vc-0.5 (15 May 2015) 15 May 2015; Ulrich Müller +vc-0.5.ebuild, +metadata.xml: diff --git a/dev-tex/vc/files/vc-0.5-fix-git-date.patch b/dev-tex/vc/files/vc-0.5-fix-git-date.patch new file mode 100644 index 0000000..7db7293 --- /dev/null +++ b/dev-tex/vc/files/vc-0.5-fix-git-date.patch @@ -0,0 +1,11 @@ +--- vc-orig/git-unix/vc-git.awk ++++ vc/git-unix/vc-git.awk +@@ -39,7 +39,7 @@ + ### Standard encoding is UTF-8. + if (Encoding == "") Encoding = "UTF-8" + ### Extract relevant information from variables. +- LongDate = substr(AuthorDate, 1, 25) ++ LongDate = substr(CommitterDate, 1, 25) + DateRAW = substr(LongDate, 1, 10) + DateISO = DateRAW + DateTEX = DateISO diff --git a/dev-tex/vc/vc-0.5.ebuild b/dev-tex/vc/vc-0.5.ebuild index bb3ec84..278d9c9 100644 --- a/dev-tex/vc/vc-0.5.ebuild +++ b/dev-tex/vc/vc-0.5.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit latex-package +inherit eutils latex-package DESCRIPTION="The vc (version control) bundle" HOMEPAGE="https://www.ctan.org/pkg/vc" @@ -18,6 +18,10 @@ DEPEND="app-arch/unzip" S="${WORKDIR}/${PN}" +src_prepare() { + epatch "${FILESDIR}"/${P}-fix-git-date.patch +} + src_compile() { :; } src_install() {