forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-tex/latexdiff: Version bump (v1.3.1.1)
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada <[email protected]>
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST latexdiff-1.2.1.tar.gz 1780064 BLAKE2B d657d5d36bcb759889a582b4aac38ae67d99a17bc30fb37d627e9d496df40a1523871e31968333f07b1ad94b521faf91336b225f7466ef382713d48a803f1444 SHA512 9917a0eee36e5bff7c13e5690e743fa34aa7c1347a6509961aa4484094433854c6742a4c1605087db1902a57537fda2b49b071e98b015a5535379c27ccc1fd46 | ||
DIST latexdiff-1.3.0.tar.gz 1791127 BLAKE2B e394dcf29d529f47a87eb7615d0da42a2d30c0e3a40938903cee75c2241ee8543713ee735f94f9eb9fe59829be85a5dad681183d96b2651e0e09d20ecae9e207 SHA512 d1b47ff4733bbba0ecadd71e6c54362b78ad8e97cac54b99b9ead4565dd0a56a8a5d4ce27866cabb4dc43c47a3c2230ce7743909f2d30bb94ecbae75c6ecbaae | ||
DIST latexdiff-1.3.1.1.tar.gz 1879814 BLAKE2B 1f537dff75ff12eeacfcdfa05c0199a29a0ffc4e8ff728b390dcbd35b3ba490e4e1c2e7201b7313335aabd8b870e764b9573d6322c34141be9d4fa141349db0a SHA512 bdc573b4fdb4d647ab3208f350e89843e4602e81c293665e1d08ff9b1b0d531c665d687be0185ff9ae229b9f43fd9bbd6aac437b6b1bcdca9d72d39f360b6136 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
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 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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 | ||
} |