dev-tex/latexdiff: fix Makefile target, drop explicit src_test, and only local export

Closes: https://bugs.gentoo.org/947303
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2025-01-02 11:41:56 +01:00
parent b69a1d8c59
commit 5734feb017
2 changed files with 13 additions and 7 deletions

View File

@@ -1,2 +1,3 @@
DIST latexdiff-1.3.3.tar.gz 1890774 BLAKE2B c6a4da89477d7ff51ca23d8261f30e46c35faf3fa98e75d4dbb7bb0910822e06a7aff1198a0c2506711c7c527dd83bfe47dbfc0146a4440d08c26ecd411c7570 SHA512 5285d75c5fe9aa057ad56683ffd55308b45e1259beea0136d8b8526514602d6f8c5f79291dd2fa8c9b34e6a717323a02470878776b47b4ca4d36cab4d75f6ff1
DIST latexdiff-1.3.4-makefile-fix-example-diff-target.patch 1047 BLAKE2B a506435a0b8a91db303391821ec9b5ee01d0a292e22336e76d29d07c764ba26d92d0d54b579f152fb404736afe52ad1cf137acf6ea1e65683ce9d16a04f27c7d SHA512 5c2690262bcc71770837970d9cb80aae55172d7dfd6a8d93b9868474f72b32e5a36792b1684426864c2b1819d333522c5d09bbeb8289c5f8e8e0260b1f6e2c7e
DIST latexdiff-1.3.4.tar.gz 1955150 BLAKE2B 23a312f423b0baf4c0e0a929e5818411ac2d65b8411e96c39864fb3a38fb9ab1dbdff8e691a3ddbda56ef81b5df658047b03fd9233fa5bca82bbbcb747c30920 SHA512 e53a6cb4262648c8e5d1d83ec4d3839134bd49a6a0d50ea180b045f7949126e8036336fbfb8d8d67412a9e8134208711909d8814e21683923afe44d0db221721

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,6 +14,11 @@ else
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
fi
SRC_URI+="
https://github.com/ftilmann/latexdiff/pull/314/commits/94e13c799d2e218a814d007ceff37e91828fb4a4.patch
-> ${PN}-1.3.4-makefile-fix-example-diff-target.patch
"
LICENSE="GPL-3"
SLOT="0"
@@ -33,13 +38,13 @@ BDEPEND="
test? ( app-shells/tcsh )
"
src_compile() {
export VARTEXFONTS="${T}/fonts"
PATH="${S}/dist:${PATH}" emake -j1 distribution
}
PATCHES=(
"${DISTDIR}"/${PN}-1.3.4-makefile-fix-example-diff-target.patch
)
src_test() {
emake test
src_compile() {
local -x VARTEXFONTS="${T}/fonts"
emake -j1 distribution
}
src_install() {