dev-tex/latexdiff: add 1.3.3

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel
2022-12-12 21:20:45 +01:00
parent 593d9048c5
commit 318f8a2460
2 changed files with 51 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST latexdiff-1.3.1.1.tar.gz 1879814 BLAKE2B 1f537dff75ff12eeacfcdfa05c0199a29a0ffc4e8ff728b390dcbd35b3ba490e4e1c2e7201b7313335aabd8b870e764b9573d6322c34141be9d4fa141349db0a SHA512 bdc573b4fdb4d647ab3208f350e89843e4602e81c293665e1d08ff9b1b0d531c665d687be0185ff9ae229b9f43fd9bbd6aac437b6b1bcdca9d72d39f360b6136
DIST latexdiff-1.3.2.tar.gz 1885528 BLAKE2B 71d7daaea69f937496735b5f5d5899b550df4cc4253cab1edd08e5cece62bb85f3ac5d7f880316bc5ece99447c060a63f103ca5bdf3a4e9bbd4c22fdd5f1f1c1 SHA512 5e20e118dcb0a9bb1599c1b8f5ba3c08593ed4e7ddb10ca0533a1f5115d4a8aad70420ff7bf5e6086a5b9625320c55d4141a2f84a5862c2e74751b32fe956792
DIST latexdiff-1.3.3.tar.gz 1890774 BLAKE2B c6a4da89477d7ff51ca23d8261f30e46c35faf3fa98e75d4dbb7bb0910822e06a7aff1198a0c2506711c7c527dd83bfe47dbfc0146a4440d08c26ecd411c7570 SHA512 5285d75c5fe9aa057ad56683ffd55308b45e1259beea0136d8b8526514602d6f8c5f79291dd2fa8c9b34e6a717323a02470878776b47b4ca4d36cab4d75f6ff1

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Compare two latex files and mark up significant differences"
HOMEPAGE="https://www.ctan.org/tex-archive/support/latexdiff/ https://github.com/ftilmann/latexdiff/"
if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ftilmann/latexdiff.git"
else
SRC_URI="https://github.com/ftilmann/latexdiff/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-lang/perl-5.8
virtual/latex-base
dev-texlive/texlive-plaingeneric
dev-perl/Algorithm-Diff
"
DEPEND="${RDEPEND}
dev-perl/Pod-LaTeX
"
BDEPEND="
test? ( app-shells/tcsh )
"
src_compile() {
export VARTEXFONTS="${T}/fonts"
PATH="${S}/dist:${PATH}" emake -j1 distribution
}
src_test() {
emake test
}
src_install() {
cd dist || die
dobin latexdiff latexrevise latexdiff-vc
doman latexdiff.1 latexrevise.1 latexdiff-vc.1
dodoc README doc/latexdiff-man.pdf
}