diff options
author | Alexey Korepanov <kaikaikai@yandex.ru> | 2022-01-14 16:17:07 +0000 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-01-15 12:25:53 +0100 |
commit | b083b39e6dc60ebe226790892d9da4b6aa189082 (patch) | |
tree | afdd112de654e87926c68f58a05e92cb2275e87f /dev-tex | |
parent | sci-libs/dealii: ebuild maintenance, update opencascade dep (diff) | |
download | gentoo-b083b39e6dc60ebe226790892d9da4b6aa189082.tar.gz gentoo-b083b39e6dc60ebe226790892d9da4b6aa189082.tar.bz2 gentoo-b083b39e6dc60ebe226790892d9da4b6aa189082.zip |
dev-tex/latexdiff: 1.3.2 version bump
Signed-off-by: Alexey Korepanov <kaikaikai@yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/23794
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/latexdiff/Manifest | 1 | ||||
-rw-r--r-- | dev-tex/latexdiff/latexdiff-1.3.2.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-tex/latexdiff/Manifest b/dev-tex/latexdiff/Manifest index f2db1704063e..16f3e58e4ef2 100644 --- a/dev-tex/latexdiff/Manifest +++ b/dev-tex/latexdiff/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-tex/latexdiff/latexdiff-1.3.2.ebuild b/dev-tex/latexdiff/latexdiff-1.3.2.ebuild new file mode 100644 index 000000000000..7476556f2b0e --- /dev/null +++ b/dev-tex/latexdiff/latexdiff-1.3.2.ebuild @@ -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 ~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 +} |