Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/debhelper/
Date: Mon, 05 Jun 2017 07:01:07
Message-Id: 1496645997.c70caaa4539f4e14e2a3333151b909acc43a79aa.jer@gentoo
1 commit: c70caaa4539f4e14e2a3333151b909acc43a79aa
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 5 06:59:57 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 5 06:59:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70caaa4
7
8 dev-util/debhelper: Version bump.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-util/debhelper/Manifest | 1 +
13 dev-util/debhelper/debhelper-10.4.ebuild | 71 ++++++++++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest
17 index 04cc75750d8..7584d5bbd91 100644
18 --- a/dev-util/debhelper/Manifest
19 +++ b/dev-util/debhelper/Manifest
20 @@ -1,4 +1,5 @@
21 DIST debhelper_10.2.5.tar.xz 393740 SHA256 c376f523ab9c1fcdfb371e92eb419519dcbaa6800d10d5e6ec80e583c9e4d054 SHA512 67a6a548bd9482c8f25d429bd4bdbe7581326926c4b4d280b34c78a487fc8c0b6c26ed05aac3d2855b748a6542ecc167e37ea333e50e9bb1e3ee27a7d91c84d3 WHIRLPOOL 35f8352c7f1b75b57d71795acaacc3561f426bd5ac34830717da97dfb9afcbc0ec6bc07ca5ea0bf88b4cb5a806b7de0f867212bd7e1e79642be20d7556e72dda
22 DIST debhelper_10.3.tar.xz 398764 SHA256 d17c6d1d672113cc869b079015517034516238ec83c447e3be39dd9f10ebf32c SHA512 795c53f966a43e5e9abdd28de121fba71bb07694b87b3dca7a0dd2b395655865397f5d4f0e6e2990638a1fcf7cad8cb75d2b30b803d5a9056fdb1e8604845591 WHIRLPOOL 9bc19c32b9ecbda16b610fcf0dea96835a9c159fe86c1b80cce7370ec17ce1d6e442b746033b2202c06e174369f73eee6d72c986a21cb398328093651068137b
23 +DIST debhelper_10.4.tar.xz 399940 SHA256 c57f2813d84a5372e9aea6dca663cd4a04837adc0f2625114d172bcd1fa543b2 SHA512 c329202d1e9c8506d50028d5b7559d22277330c1f7c776f04891bf45ea52aec7354e9fdcd0a6e8f2c3b47a13ebc244295fe856d91ca8c98a635b5b7577eaf785 WHIRLPOOL e085453a54d511ec6b11f0dd5275a6f31e74b5230de6c7efb5fac9f432e6746429792b4d4c8b134dbbc9377ece659dbf0198a0cbe209056dc979eec4defa3280
24 DIST debhelper_9.20150101.tar.gz 545089 SHA256 fd8d81d71d1bb0ba4b58c517465551231dd60811b98c867e4344bc55ec6a45f2 SHA512 62c85f751627cf0bdac392c6e8c5298995030962b7753047414e740b3767d722c209329c9f0c3c07c94e82bbb7250c163ce49b681e268a0decdbd19b72ea132a WHIRLPOOL 31315544c3ee695a53ef2310ad69e59c68fb0b73399305b9fe57ceb7b01faab72995e01aed270300dd0fbaed2686a5b565a8a08cfc31c720c5baa2a6c475ac4e
25 DIST debhelper_9.20160814.tar.xz 344328 SHA256 2834a7c1dbeafd9402ea68948c815dab19d903503c45fd70e676269fccd359c0 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 WHIRLPOOL 334f0aa8075896ec13a061b9841adb5f2b7c5fa6996b507785f50389c86c48e3c89a84ff1049ae7d7cbe4876b649010f892f54f1074ecafd76061bf0588e65d6
26
27 diff --git a/dev-util/debhelper/debhelper-10.4.ebuild b/dev-util/debhelper/debhelper-10.4.ebuild
28 new file mode 100644
29 index 00000000000..c32e29983de
30 --- /dev/null
31 +++ b/dev-util/debhelper/debhelper-10.4.ebuild
32 @@ -0,0 +1,71 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +inherit eutils toolchain-funcs
38 +
39 +DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules"
40 +HOMEPAGE="http://packages.qa.debian.org/d/debhelper.html"
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 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux"
46 +IUSE="test"
47 +DH_LINGUAS=( de es fr )
48 +IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
49 +
50 +NLS_DEPEND=$(
51 + printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
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 +src_compile() {
70 + tc-export CC
71 +
72 + local LANGS="" USE_NLS=no lingua
73 + for lingua in ${DH_LINGUAS[@]}; do
74 + if use linguas_${lingua}; then
75 + LANGS+=" ${lingua}"
76 + USE_NLS=yes
77 + fi
78 + done
79 +
80 + emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build
81 +}
82 +
83 +src_install() {
84 + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
85 + dodoc doc/* debian/changelog
86 + docinto examples
87 + dodoc examples/*
88 + local lingua
89 + for manfile in *.1 *.7 ; do
90 + for lingua in ${DH_LINGUAS[@]}; do
91 + case ${manfile} in
92 + *.${lingua}.?)
93 + use linguas_${lingua} \
94 + && cp ${manfile} "${T}"/${manfile/.${lingua}/} \
95 + && doman -i18n=${lingua} "${T}"/${manfile/.${lingua}/}
96 + ;;
97 + *)
98 + doman ${manfile}
99 + ;;
100 + esac
101 + done
102 + done
103 +}