1 |
commit: f3e2f2fdcb464f3c3c4fc998e5f5a07c5f094d63 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 23 07:25:11 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 23 07:26:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3e2f2fd |
7 |
|
8 |
dev-util/debhelper: Version 13 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
dev-util/debhelper/Manifest | 1 + |
14 |
dev-util/debhelper/debhelper-13.ebuild | 74 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 75 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest |
18 |
index e81c7ded441..bef0697c7d2 100644 |
19 |
--- a/dev-util/debhelper/Manifest |
20 |
+++ b/dev-util/debhelper/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST debhelper_12.10.tar.xz 525416 BLAKE2B ce3a2116d9793eeda0df851047c0bed710ae6f948b6de268788e7991d683951f0eaf1a7a7a00d9195f1fbb008d21772f9a372f20d25c809fe07ef36ac91ca7e9 SHA512 79903492994a71a57a420207f3cde3fc1bef7645b9e7cf8d10b915cb52d325f947ae9f5130e28e88c3d357089fe35356aa2935480a333bc47352f6ced719a348 |
23 |
DIST debhelper_12.9.tar.xz 521116 BLAKE2B 287740877b2431082baec262af581c34a9c0f3388232f7866bc7629b893c6d1f23da8f8956de5aa66d33b43d6f31d8ea31c897d313423d829750f894e5a3aeab SHA512 c8ee3040119a91b7dd2447be5c5d6bbe56d13aa53bd5e3d97be3af7c0a087a57661b36ae4eb56b20b0574c0e8702166ab75c7ffdeb7279f8ef77cc0ea367a6e5 |
24 |
+DIST debhelper_13.tar.xz 526028 BLAKE2B cc6e5f7b2eee7822088e326c3bd3930c3da60a5942c3dc3732a787428bf43c985a2f2be681b6d85c88767e3b1cde3871db1be5b912ab35260b776924c54acfb7 SHA512 17e131fba58057383e7824cd93a27b9d7eed0a2191bc6499c4bc412b47889a91d53a6ad5ac8c637166748bd728f10fd5d3a83bd0d2626e491a8481fe5c1193e9 |
25 |
DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 |
26 |
|
27 |
diff --git a/dev-util/debhelper/debhelper-13.ebuild b/dev-util/debhelper/debhelper-13.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..99dca21e93e |
30 |
--- /dev/null |
31 |
+++ b/dev-util/debhelper/debhelper-13.ebuild |
32 |
@@ -0,0 +1,74 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit eutils toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules" |
40 |
+HOMEPAGE="https://tracker.debian.org/pkg/debhelper" |
41 |
+SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux" |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+DH_LANGS=( de es fr ) |
49 |
+IUSE+=" ${DH_LANGS[@]/#/l10n_}" |
50 |
+ |
51 |
+NLS_DEPEND=$( |
52 |
+ printf "l10n_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LANGS[@]} |
53 |
+) |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-lang/perl-5.10:= |
57 |
+ >=app-arch/dpkg-1.17 |
58 |
+ dev-perl/TimeDate |
59 |
+ virtual/perl-Getopt-Long |
60 |
+" |
61 |
+DEPEND=" |
62 |
+ ${RDEPEND} |
63 |
+ ${NLS_DEPEND} |
64 |
+ test? ( |
65 |
+ dev-perl/Test-Pod |
66 |
+ sys-apps/fakeroot |
67 |
+ ) |
68 |
+" |
69 |
+ |
70 |
+S=${WORKDIR}/${PN} |
71 |
+ |
72 |
+src_compile() { |
73 |
+ tc-export CC |
74 |
+ |
75 |
+ local LANGS="" USE_NLS=no lang |
76 |
+ for lang in ${DH_LANGS[@]}; do |
77 |
+ if use l10n_${lang}; then |
78 |
+ LANGS+=" ${lang}" |
79 |
+ USE_NLS=yes |
80 |
+ fi |
81 |
+ done |
82 |
+ |
83 |
+ emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install |
88 |
+ dodoc doc/* debian/changelog |
89 |
+ docinto examples |
90 |
+ dodoc examples/* |
91 |
+ local lang |
92 |
+ for manfile in *.1 *.7 ; do |
93 |
+ for lang in ${DH_LANGS[@]}; do |
94 |
+ case ${manfile} in |
95 |
+ *.${lang}.?) |
96 |
+ use l10n_${lang} \ |
97 |
+ && cp ${manfile} "${T}"/${manfile/.${lang}/} \ |
98 |
+ && doman -i18n=${lang} "${T}"/${manfile/.${lang}/} |
99 |
+ ;; |
100 |
+ *) |
101 |
+ doman ${manfile} |
102 |
+ ;; |
103 |
+ esac |
104 |
+ done |
105 |
+ done |
106 |
+} |