dev-tex/vc: Remove old.

Package-Manager: Portage-2.3.46, Repoman-2.3.10
This commit is contained in:
Ulrich Müller
2018-08-12 15:58:16 +02:00
parent 6823fc122f
commit e71c3636b7
4 changed files with 0 additions and 74 deletions

View File

@@ -1,2 +1 @@
DIST vc-0.5.zip 440260 BLAKE2B e6a0824f1504f22817b0620a28717302b078b0301a5424eebacfea69f3542ac42c53593c8aafd111e17a5e1c1dc161cdeb866a826598f745afc57deaf4b35044 SHA512 0574bb6e6e7a0a9065cb1042726ac6ff09c4c38b7d05acdaf4fab3023439f5be35af12ec228b285a40e9cd9448f85e16e849d0dd08af743115bdba0556f3b969
DIST vc-0.6.zip 451356 BLAKE2B 776b72f33320e5ac129c646774b65fe3ce1757df31dbd8a70ef6e05ffe0606e6e1a85c7910388efad45503ca488d8d78be9c9219cb066f107ad020592ec703d3 SHA512 dde8f3028742e4de42bda3e77a18155954cac954e54db13b1ecba3c60aff54f6ced4961f808b1f539223032f04a39a6e086ca852d340b42dbe98b6989542678b

View File

@@ -1,14 +0,0 @@
Use CommitterDate instead of AuthorDate, because the latter is not
guaranteed to increase monotonously.
--- 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

View File

@@ -1,27 +0,0 @@
Output format of "git status" has changed which broke parsing.
Use "git status --porcelain" instead which is a more stable interface,
intended for processing by scripts.
--- vc-orig/git-unix/vc
+++ vc/git-unix/vc
@@ -20,5 +20,5 @@
git --no-pager log -1 HEAD --pretty=format:"Hash: %H%nAbr. Hash: %h%nParent Hashes: %P%nAbr. Parent Hashes: %p%nAuthor Name: %an%nAuthor Email: %ae%nAuthor Date: %ai%nCommitter Name: %cn%nCommitter Email: %ce%nCommitter Date: %ci%n" |gawk -v script=log -v full=$full -f vc-git.awk > vc.tex
if [ "$mod" = 1 ]
then
- git status |gawk -v script=status -f vc-git.awk >> vc.tex
+ git status --porcelain |gawk -v script=status -f vc-git.awk >> vc.tex
fi
--- vc-orig/git-unix/vc-git.awk
+++ vc/git-unix/vc-git.awk
@@ -26,9 +26,9 @@
### Process output of "git status".
### Changed index?
-script=="status" && /^# Changes to be committed:/ { modified = 1 }
+script=="status" && /^[MADRC]/ { if (modified == 0) modified = 1 }
### Unstaged modifications?
-script=="status" && /^# Changed but not updated:/ { modified = 2 }
+script=="status" && /^.[MD]/ { modified = 2 }

View File

@@ -1,32 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit latex-package
DESCRIPTION="The vc (version control) bundle"
HOMEPAGE="https://www.ctan.org/pkg/vc"
# Taken from http://mirrors.ctan.org/support/vc.zip
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.zip"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="app-arch/unzip"
S="${WORKDIR}/${PN}"
PATCHES=(
"${FILESDIR}"/${P}-git-date.patch
"${FILESDIR}"/${P}-git-status.patch
)
src_compile() { :; }
src_install() {
insinto ${TEXMF}/scripts/${PN}
doins -r bzr-unix git-unix svn-unix
latex-package_src_doinstall pdf
dodoc CHANGES README
}