Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/texinfo/
Date: Tue, 24 Sep 2019 10:53:11
Message-Id: 1569322062.9b05fa933d2450b14af4eba993badf9142bc1a86.whissi@gentoo
1 commit: 9b05fa933d2450b14af4eba993badf9142bc1a86
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 24 10:47:42 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 24 10:47:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b05fa93
7
8 sys-apps/texinfo: bump to v6.7
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-apps/texinfo/Manifest | 1 +
14 sys-apps/texinfo/texinfo-6.7.ebuild | 60 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 61 insertions(+)
16
17 diff --git a/sys-apps/texinfo/Manifest b/sys-apps/texinfo/Manifest
18 index ea91c7c2989..e49285051a0 100644
19 --- a/sys-apps/texinfo/Manifest
20 +++ b/sys-apps/texinfo/Manifest
21 @@ -1,2 +1,3 @@
22 DIST texinfo-6.3.tar.xz 4468048 BLAKE2B ef255225e1f66dc5e6646761d78dcf3e7ba9c79aa2654dbb527ef10db54b8417af9e1a58a270683956624049c2fb624b29bc2f22763c79bab9858cdcf5e2edce SHA512 ef6c5878d9db497d7963bd9138418b30c39a5605c215bf2f4e8f1f083d93c3c99f8c459aa675f7da3b78da6189cb6bbf3cf19a2ee1d52e569de2f6ce82762bf4
23 DIST texinfo-6.6.tar.xz 4946900 BLAKE2B bd33297549d5285d7a4a65041b6025c489c6b436e9591eaf5187ef34f6e869bf7a2a82a00ebe11adc1c4b2904119e9e3f25d2496b5507f91f4b9ba548ba98604 SHA512 96e0764d0808152d3662e65c3287fb0f86ed918912cdc036380637dbadaacd6a489b516543c07b08105686575e8d495a945f73e23ff0909d5a0f12026e4131e0
24 +DIST texinfo-6.7.tar.gz 9027808 BLAKE2B ac9a47ae98f27ae55ea1844c74ead6fba256635a56e7a226a1bbdd9ee9ab33565ff8cc7a874410afe6463741285c8fcfd8ff835ae2802009e2d0758405559140 SHA512 a52aaa2f0113c6f14b3cb94fbf7191770017ff6ce2016292770831279cfbb898c2f7f720adee620e08d9d80a9505df89a689ba0c25e92f6579b28b075f7b8ee2
25
26 diff --git a/sys-apps/texinfo/texinfo-6.7.ebuild b/sys-apps/texinfo/texinfo-6.7.ebuild
27 new file mode 100644
28 index 00000000000..43dce37a9b0
29 --- /dev/null
30 +++ b/sys-apps/texinfo/texinfo-6.7.ebuild
31 @@ -0,0 +1,60 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +# Note: if your package uses the texi2dvi utility, it must depend on the
36 +# virtual/texi2dvi package to pull in all the right deps. The tool is not
37 +# usable out-of-the-box because it requires the large tex packages.
38 +
39 +EAPI=7
40 +
41 +inherit flag-o-matic toolchain-funcs
42 +
43 +DESCRIPTION="The GNU info program and utilities"
44 +HOMEPAGE="https://www.gnu.org/software/texinfo/"
45 +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="GPL-3"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
50 +IUSE="nls +standalone static"
51 +
52 +RDEPEND="
53 + !=app-text/tetex-2*
54 + >=sys-libs/ncurses-5.2-r2:0=
55 + standalone? ( dev-lang/perl )
56 + !standalone? (
57 + dev-lang/perl:=
58 + dev-perl/libintl-perl
59 + dev-perl/Unicode-EastAsianWidth
60 + dev-perl/Text-Unidecode
61 + )
62 + nls? ( virtual/libintl )"
63 +DEPEND="${RDEPEND}
64 + app-arch/xz-utils
65 + nls? ( >=sys-devel/gettext-0.19.6 )"
66 +
67 +src_configure() {
68 + # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions. #622576
69 + local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}" PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}"
70 +
71 + use static && append-ldflags -static
72 + local myeconfargs
73 + if use standalone ; then
74 + myeconfargs=(
75 + --without-external-libintl-perl
76 + --without-external-Unicode-EastAsianWidth
77 + --without-external-Text-Unidecode
78 + $(use_enable nls)
79 + --disable-perl-xs
80 + )
81 + else
82 + myeconfargs=(
83 + --with-external-libintl-perl
84 + --with-external-Unicode-EastAsianWidth
85 + --with-external-Text-Unidecode
86 + $(use_enable nls)
87 + --enable-perl-xs
88 + )
89 + fi
90 + econf "${myeconfargs[@]}"
91 +}