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 48388138332 for ; Wed, 11 Apr 2018 18:20:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 962C9E08D1; Wed, 11 Apr 2018 18:20:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 5E4DCE08D1 for ; Wed, 11 Apr 2018 18:20:17 +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 A09B1335C76 for ; Wed, 11 Apr 2018 18:20:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B82CC285 for ; Wed, 11 Apr 2018 18:20:07 +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: <1523470798.521ece19af09c23222983e420fb0713d4b8166f4.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.2.1.ebuild X-VCS-Directories: dev-util/debhelper/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 521ece19af09c23222983e420fb0713d4b8166f4 X-VCS-Branch: master Date: Wed, 11 Apr 2018 18:20:07 +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: 52dcfdd1-3baa-4226-91d3-2e3a4faf6395 X-Archives-Hash: e3ebf618e85f6d2d4e397cdffcdcebd4 commit: 521ece19af09c23222983e420fb0713d4b8166f4 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Apr 11 17:51:48 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Apr 11 18:19:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=521ece19 dev-util/debhelper: Version 11.2.1. Package-Manager: Portage-2.3.28, Repoman-2.3.9 dev-util/debhelper/Manifest | 1 + dev-util/debhelper/debhelper-11.2.1.ebuild | 73 ++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 7e80f82b02b..e7518bebb15 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,3 +1,4 @@ DIST debhelper_11.1.5.tar.xz 451468 BLAKE2B 504cf7453e23e6bdc4759c3e4f0cdcc42b450d14992c5400b8fccd3b1bc3926a0f1ba7cffffff81846bdcffc847d58aab0c6e19f99bf5802e6f0a9792c72cfe7 SHA512 a6cc982bfbb2a172866e6deea936d9396dad5c4c89381cd04aba9efce8ba9ed8acfad2e6f80818cec6d91318cd912b75640ff9ee8cb25d212b63fb3b90a05041 DIST debhelper_11.1.6.tar.xz 453020 BLAKE2B 79a62c37a8b14336516d877f0633d3231cfe57a0bdd19dd50233843d186bff619dd31155d9851d367748f70ffda2d94d138b06357c0dcadba0c99771777ea3af SHA512 8a9e5a98ccafe72f6fd2d3d6376c82cd2ba656b4a72936afb5e0564144a6dc495b8d74b7fc65dfe97aca6282118298f0c256f5433bbc01a5837306329d2c737c +DIST debhelper_11.2.1.tar.xz 456036 BLAKE2B 31ed91d7546db6f81eb5c40ce8ea203e01281ce3b0ff0cc310a280338bb8138c01f78f0f74175c68dcc53e913aab4f8a2c808e5f4ecf3a8661a5b2d551758e2d SHA512 9ce70ba6c89c77ef6be6a67ac30e9b904235850b2d8671be1a138c681b356e6c48cfceccd49942ed297ef944f4d35eefc8727e06fe72e44a99cc7b542f2a1211 DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 diff --git a/dev-util/debhelper/debhelper-11.2.1.ebuild b/dev-util/debhelper/debhelper-11.2.1.ebuild new file mode 100644 index 00000000000..eb7e5fa626c --- /dev/null +++ b/dev-util/debhelper/debhelper-11.2.1.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 +}