Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/latexdiff/
Date: Sat, 15 Jan 2022 11:26:00
Message-Id: 1642245953.b083b39e6dc60ebe226790892d9da4b6aa189082.flow@gentoo
1 commit: b083b39e6dc60ebe226790892d9da4b6aa189082
2 Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
3 AuthorDate: Fri Jan 14 16:17:07 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 15 11:25:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b083b39e
7
8 dev-tex/latexdiff: 1.3.2 version bump
9
10 Signed-off-by: Alexey Korepanov <kaikaikai <AT> yandex.ru>
11 Closes: https://github.com/gentoo/gentoo/pull/23794
12 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
13
14 dev-tex/latexdiff/Manifest | 1 +
15 dev-tex/latexdiff/latexdiff-1.3.2.ebuild | 50 ++++++++++++++++++++++++++++++++
16 2 files changed, 51 insertions(+)
17
18 diff --git a/dev-tex/latexdiff/Manifest b/dev-tex/latexdiff/Manifest
19 index f2db1704063e..16f3e58e4ef2 100644
20 --- a/dev-tex/latexdiff/Manifest
21 +++ b/dev-tex/latexdiff/Manifest
22 @@ -1 +1,2 @@
23 DIST latexdiff-1.3.1.1.tar.gz 1879814 BLAKE2B 1f537dff75ff12eeacfcdfa05c0199a29a0ffc4e8ff728b390dcbd35b3ba490e4e1c2e7201b7313335aabd8b870e764b9573d6322c34141be9d4fa141349db0a SHA512 bdc573b4fdb4d647ab3208f350e89843e4602e81c293665e1d08ff9b1b0d531c665d687be0185ff9ae229b9f43fd9bbd6aac437b6b1bcdca9d72d39f360b6136
24 +DIST latexdiff-1.3.2.tar.gz 1885528 BLAKE2B 71d7daaea69f937496735b5f5d5899b550df4cc4253cab1edd08e5cece62bb85f3ac5d7f880316bc5ece99447c060a63f103ca5bdf3a4e9bbd4c22fdd5f1f1c1 SHA512 5e20e118dcb0a9bb1599c1b8f5ba3c08593ed4e7ddb10ca0533a1f5115d4a8aad70420ff7bf5e6086a5b9625320c55d4141a2f84a5862c2e74751b32fe956792
25
26 diff --git a/dev-tex/latexdiff/latexdiff-1.3.2.ebuild b/dev-tex/latexdiff/latexdiff-1.3.2.ebuild
27 new file mode 100644
28 index 000000000000..7476556f2b0e
29 --- /dev/null
30 +++ b/dev-tex/latexdiff/latexdiff-1.3.2.ebuild
31 @@ -0,0 +1,50 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DESCRIPTION="Compare two latex files and mark up significant differences"
38 +HOMEPAGE="https://www.ctan.org/tex-archive/support/latexdiff/ https://github.com/ftilmann/latexdiff/"
39 +
40 +if [[ ${PV} == *9999* ]] ; then
41 + inherit git-r3
42 + EGIT_REPO_URI="https://github.com/ftilmann/latexdiff.git"
43 +else
44 + SRC_URI="https://github.com/ftilmann/latexdiff/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
46 +fi
47 +
48 +LICENSE="GPL-3"
49 +SLOT="0"
50 +
51 +IUSE="test"
52 +RESTRICT="!test? ( test )"
53 +
54 +RDEPEND="
55 + >=dev-lang/perl-5.8
56 + virtual/latex-base
57 + dev-texlive/texlive-plaingeneric
58 + dev-perl/Algorithm-Diff
59 +"
60 +DEPEND="${RDEPEND}
61 + dev-perl/Pod-LaTeX
62 +"
63 +BDEPEND="
64 + test? ( app-shells/tcsh )
65 +"
66 +
67 +src_compile() {
68 + export VARTEXFONTS="${T}/fonts"
69 + PATH="${S}/dist:${PATH}" emake -j1 distribution
70 +}
71 +
72 +src_test() {
73 + emake test
74 +}
75 +
76 +src_install() {
77 + cd dist || die
78 + dobin latexdiff latexrevise latexdiff-vc
79 + doman latexdiff.1 latexrevise.1 latexdiff-vc.1
80 + dodoc README doc/latexdiff-man.pdf
81 +}