From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1006424-garchives=archives.gentoo.org@lists.gentoo.org> 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 0843A1382C5 for <garchives@archives.gentoo.org>; Thu, 1 Mar 2018 19:29:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5259BE09BB; Thu, 1 Mar 2018 19:29:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 24293E09BB for <gentoo-commits@lists.gentoo.org>; Thu, 1 Mar 2018 19:29:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 81458335C07 for <gentoo-commits@lists.gentoo.org>; Thu, 1 Mar 2018 19:29:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F269F1EB for <gentoo-commits@lists.gentoo.org>; Thu, 1 Mar 2018 19:29:53 +0000 (UTC) From: "Jeroen Roovers" <jer@gentoo.org> 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" <jer@gentoo.org> Message-ID: <1519932589.4cf7e217f80cb00b4fed3c968193085890408518.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.5.ebuild X-VCS-Directories: dev-util/debhelper/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 4cf7e217f80cb00b4fed3c968193085890408518 X-VCS-Branch: master Date: Thu, 1 Mar 2018 19:29:53 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0b667f7c-58e6-402c-ab95-4f2a4d0eda5e X-Archives-Hash: 7cfeba578344a43988312d06ad82c295 commit: 4cf7e217f80cb00b4fed3c968193085890408518 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Thu Mar 1 19:20:41 2018 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Thu Mar 1 19:29:49 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf7e217 dev-util/debhelper: Version 11.1.5. Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-util/debhelper/Manifest | 1 + dev-util/debhelper/debhelper-11.1.5.ebuild | 73 ++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 481beee549c..41d3f739a58 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,3 +1,4 @@ DIST debhelper_11.1.3.tar.xz 449268 BLAKE2B 9cbd8a2c71897a5ba28b987b24e939e830a9322332c48f94c42ea417330b94ddee60f5619426b37db96cf4e560b74cd2d1dc221fed27433943b7ff6db7adbeff SHA512 e7a36b2226eb0dcbf91068fa312d42125add7864fd16eefa3346d196162fa739c436df41c053e6d25d82f5d784c95df37dd1a43927dd007c358382dd042c4e92 DIST debhelper_11.1.4.tar.xz 449928 BLAKE2B 6cf3b3aa79802ab8fcc8a1ce84f10e53071c85b249311c41ce84c33a5acbf8d88a5bed28c62154c26e96bc1b925f2ff7bcbad1c84afde303532963589bb74d15 SHA512 4389914409b9160b7f8903ea814bad58666d5dcada5641a897a1805579024fc49e6a631d40ca70c4caa914d790867d70dcaca04a633b42767d4d6f48245b039e +DIST debhelper_11.1.5.tar.xz 451468 BLAKE2B 504cf7453e23e6bdc4759c3e4f0cdcc42b450d14992c5400b8fccd3b1bc3926a0f1ba7cffffff81846bdcffc847d58aab0c6e19f99bf5802e6f0a9792c72cfe7 SHA512 a6cc982bfbb2a172866e6deea936d9396dad5c4c89381cd04aba9efce8ba9ed8acfad2e6f80818cec6d91318cd912b75640ff9ee8cb25d212b63fb3b90a05041 DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 diff --git a/dev-util/debhelper/debhelper-11.1.5.ebuild b/dev-util/debhelper/debhelper-11.1.5.ebuild new file mode 100644 index 00000000000..eb7e5fa626c --- /dev/null +++ b/dev-util/debhelper/debhelper-11.1.5.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 +}