1 |
commit: 49a5dd06a61db95b67f082a66245d5b6f8849e56 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 26 10:50:40 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 26 10:52:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a5dd06 |
7 |
|
8 |
dev-util/debhelper: Version 12.1.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
dev-util/debhelper/Manifest | 1 + |
14 |
dev-util/debhelper/debhelper-12.1.1.ebuild | 73 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest |
18 |
index a06e78aa5b7..88d919505be 100644 |
19 |
--- a/dev-util/debhelper/Manifest |
20 |
+++ b/dev-util/debhelper/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
+DIST debhelper_12.1.1.tar.xz 483732 BLAKE2B 39938f9ec0793154da6405c1b0ef2a8a10a10753475b09f8fbc6e7411457713eb7bc035dfc21f9b7b9f82ec276674802c0cd7599252956cf455cc8d203070a9c SHA512 ab006450258c6c3d5c89bddb8bc5a87d61d80e8232cbbd2f15a32d1045d1fa9f1858df536d8cf813048f4e755a8e5bca765f1da7800ebf8f1237096e659d9ddd |
23 |
DIST debhelper_12.1.tar.xz 483568 BLAKE2B 3ffefced2759224fbc9f00c05be03379bf34f8f954be871700b0467629f2437c890ea5f334fc1cdb47baf9ec0e19c886cbbc881cbda39733374a4e09bba3e413 SHA512 557db22d6aac8953cdc41fb6fcb0c06566154ac30aeade4df6c100534505c79d9c34d1f8cc3b41e83740cbe90eb2bf18b21fc0fe49cdbee6d709949c7689ebfb |
24 |
DIST debhelper_12.tar.xz 478104 BLAKE2B 3d3e766a5cd7a37d538605a1cdd12e0bd4062a97c7f510c04dc13b8c8d0a9cec21149fdb291650d0c914d003296b3428d234aa315f5f8bf4c8a197d6a0de0422 SHA512 18ca6b310cb777875605a0800880eda706e59c39f8ed37966c41cdc68c2c03d8a249ba78ac61a998a8b86bcd8619f79c1e3c3a104f8bbfae68cafb05839b863a |
25 |
DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 |
26 |
|
27 |
diff --git a/dev-util/debhelper/debhelper-12.1.1.ebuild b/dev-util/debhelper/debhelper-12.1.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..e546013a4fd |
30 |
--- /dev/null |
31 |
+++ b/dev-util/debhelper/debhelper-12.1.1.ebuild |
32 |
@@ -0,0 +1,73 @@ |
33 |
+# Copyright 1999-2019 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 ~sh ~sparc ~x86 ~amd64-linux" |
46 |
+IUSE="test" |
47 |
+DH_LANGS=( de es fr ) |
48 |
+IUSE+=" ${DH_LANGS[@]/#/l10n_}" |
49 |
+ |
50 |
+NLS_DEPEND=$( |
51 |
+ printf "l10n_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LANGS[@]} |
52 |
+) |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-lang/perl-5.10:= |
56 |
+ >=app-arch/dpkg-1.17 |
57 |
+ dev-perl/TimeDate |
58 |
+ virtual/perl-Getopt-Long |
59 |
+" |
60 |
+DEPEND=" |
61 |
+ ${RDEPEND} |
62 |
+ ${NLS_DEPEND} |
63 |
+ test? ( |
64 |
+ dev-perl/Test-Pod |
65 |
+ sys-apps/fakeroot |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+S=${WORKDIR}/${PN} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ tc-export CC |
73 |
+ |
74 |
+ local LANGS="" USE_NLS=no lang |
75 |
+ for lang in ${DH_LANGS[@]}; do |
76 |
+ if use l10n_${lang}; then |
77 |
+ LANGS+=" ${lang}" |
78 |
+ USE_NLS=yes |
79 |
+ fi |
80 |
+ done |
81 |
+ |
82 |
+ emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install |
87 |
+ dodoc doc/* debian/changelog |
88 |
+ docinto examples |
89 |
+ dodoc examples/* |
90 |
+ local lang |
91 |
+ for manfile in *.1 *.7 ; do |
92 |
+ for lang in ${DH_LANGS[@]}; do |
93 |
+ case ${manfile} in |
94 |
+ *.${lang}.?) |
95 |
+ use l10n_${lang} \ |
96 |
+ && cp ${manfile} "${T}"/${manfile/.${lang}/} \ |
97 |
+ && doman -i18n=${lang} "${T}"/${manfile/.${lang}/} |
98 |
+ ;; |
99 |
+ *) |
100 |
+ doman ${manfile} |
101 |
+ ;; |
102 |
+ esac |
103 |
+ done |
104 |
+ done |
105 |
+} |