commit:     f3632693837f3094bdafe80852bf3fb103e699d1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  2 05:47:27 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Oct  2 05:48:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3632693

dev-util/debhelper: Version 11.4.1.

Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-util/debhelper/Manifest                |  1 +
 dev-util/debhelper/debhelper-11.4.1.ebuild | 73 ++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest
index df88c0d9df4..37c296047e8 100644
--- a/dev-util/debhelper/Manifest
+++ b/dev-util/debhelper/Manifest
@@ -1,3 +1,4 @@
 DIST debhelper_11.3.5.tar.xz 467732 BLAKE2B 
b5d035b57057f36bbc1e6e09f7a0acc6fab2141e2d99cfcc963101a6f939b6a46fa2a1aff899f4a4f11b064c79221e3b91dff8a3f541988c39d6f221506abbdc
 SHA512 
7c5b37a6c6683964835609ec9a6ea65e5121af017ecaab79a88a55252eee010aae064b2d89f24a957c431ac345cd43376815c9b703d6e43a2a098aff6836864e
+DIST debhelper_11.4.1.tar.xz 475072 BLAKE2B 
8220e2e199b174d811c8bf3dd7d1dc34a9d4a371f2ca249c9c210f4abb18e1de29692cbc094a9bdcf17aa2b8b917ced2736109fa8683d128cf50a95233888a62
 SHA512 
658456cfed3f8549598110b9dd3b9cfec52cddb28d85911d59ee973fbcb8f40b2f430224f48a0a3767a21bca977fface873125ba63f46290b7b696286d53749e
 DIST debhelper_11.4.tar.xz 473968 BLAKE2B 
77ca641dfb0b7e10df921ec967e66700c220b6a85588b3a7f6eaccf22b97337e7766d77c06e62de7ee75501dbf98aaf801d7986f88eed8ae03778259135db9ef
 SHA512 
6a6c6ea7cb394381288db8f872ae40de9456a22bf535ae0bc15097b47c41cda799952ffdbbcf6f56d0c3aaa9520a4f3f531106b1a53b329e53a13f8eb70ab1c9
 DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 
38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6
 SHA512 
63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62

diff --git a/dev-util/debhelper/debhelper-11.4.1.ebuild 
b/dev-util/debhelper/debhelper-11.4.1.ebuild
new file mode 100644
index 00000000000..9606374c12a
--- /dev/null
+++ b/dev-util/debhelper/debhelper-11.4.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Collection of programs that can be used to automate common tasks 
in debian/rules"
+HOMEPAGE="https://tracker.debian.org/pkg/debhelper";
+SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux"
+IUSE="test"
+DH_LANGS=( de es fr )
+IUSE+=" ${DH_LANGS[@]/#/l10n_}"
+
+NLS_DEPEND=$(
+       printf "l10n_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LANGS[@]}
+)
+
+RDEPEND="
+       >=dev-lang/perl-5.10:=
+       >=app-arch/dpkg-1.17
+       dev-perl/TimeDate
+       virtual/perl-Getopt-Long
+"
+DEPEND="
+       ${RDEPEND}
+       ${NLS_DEPEND}
+       test? (
+               dev-perl/Test-Pod
+               sys-apps/fakeroot
+       )
+"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+       tc-export CC
+
+       local LANGS="" USE_NLS=no lang
+       for lang in ${DH_LANGS[@]}; do
+               if use l10n_${lang}; then
+                       LANGS+=" ${lang}"
+                       USE_NLS=yes
+               fi
+       done
+
+       emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+       dodoc doc/* debian/changelog
+       docinto examples
+       dodoc examples/*
+       local lang
+       for manfile in *.1 *.7 ; do
+               for lang in ${DH_LANGS[@]}; do
+                       case ${manfile} in
+                               *.${lang}.?)
+                                       use l10n_${lang} \
+                                               && cp ${manfile} 
"${T}"/${manfile/.${lang}/} \
+                                               && doman -i18n=${lang} 
"${T}"/${manfile/.${lang}/}
+                                       ;;
+                               *)
+                                       doman ${manfile}
+                                       ;;
+                       esac
+               done
+       done
+}

Reply via email to