From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9DEA01382C5 for ; Wed, 24 Jan 2018 20:43:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E70BFE08BB; Wed, 24 Jan 2018 20:43:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB42CE08BB for ; Wed, 24 Jan 2018 20:43:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 08CBB335C30 for ; Wed, 24 Jan 2018 20:43:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FC151C5 for ; Wed, 24 Jan 2018 20:43:37 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1516826549.b7f997a53a4a69752478f4ec89bafd48c42c952a.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/debhelper/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/debhelper/Manifest dev-util/debhelper/debhelper-11.1.3.ebuild X-VCS-Directories: dev-util/debhelper/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: b7f997a53a4a69752478f4ec89bafd48c42c952a X-VCS-Branch: master Date: Wed, 24 Jan 2018 20:43:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 29e672e9-b76f-41f5-84c8-3e0810dc7e17 X-Archives-Hash: 233a393ff07a1c76f326ab9cead71b23 commit: b7f997a53a4a69752478f4ec89bafd48c42c952a Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 24 20:42:29 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 24 20:42:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f997a5 dev-util/debhelper: Version 11.1.3. Package-Manager: Portage-2.3.20, Repoman-2.3.6 dev-util/debhelper/Manifest | 1 + dev-util/debhelper/debhelper-11.1.3.ebuild | 73 ++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 8d0355a4f9c..774b45a300e 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,3 +1,4 @@ DIST debhelper_11.1.2.tar.xz 448676 BLAKE2B 52e79349449c387f48cacedfae334c241b8e0187071aec1ec571a7fc04a4bfd2a9ea9c54f7cfa75ec96a01ef5d2f859caeac317f53b72479664d4f2670d44a22 SHA512 26cd04eef4cb634b1424b7d08bcc61fdae9b18a96753680658ed412e51c9124b33295e79f3aabbb40579a9d4bb059b526428b97c151d9f34ae93b615b64291bb +DIST debhelper_11.1.3.tar.xz 449268 BLAKE2B 9cbd8a2c71897a5ba28b987b24e939e830a9322332c48f94c42ea417330b94ddee60f5619426b37db96cf4e560b74cd2d1dc221fed27433943b7ff6db7adbeff SHA512 e7a36b2226eb0dcbf91068fa312d42125add7864fd16eefa3346d196162fa739c436df41c053e6d25d82f5d784c95df37dd1a43927dd007c358382dd042c4e92 DIST debhelper_11.tar.xz 439268 BLAKE2B 45c1eeb046a6fbc59b814f696c7320b344ba3cf1ba47b02e9aafd38f88e72943eaba0c0625115fc35cdce9cec0f01232278956644f02b632beda2e2d052ca1aa SHA512 12eabb2f02df24a2c1d8db8e1d88ecec2fce1547c21e99f99bf89f5a44ebd71d09ebbb7e19e0e30ca7e2f17b252769c79968d81989ab7330f870b7ee42e13521 DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 diff --git a/dev-util/debhelper/debhelper-11.1.3.ebuild b/dev-util/debhelper/debhelper-11.1.3.ebuild new file mode 100644 index 00000000000..eb7e5fa626c --- /dev/null +++ b/dev-util/debhelper/debhelper-11.1.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 +}