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 BDDF5138335 for ; Tue, 10 Dec 2019 07:56:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91A30E0991; Tue, 10 Dec 2019 07:56:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 5B71AE0991 for ; Tue, 10 Dec 2019 07:56:20 +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 9C5C234D8E3 for ; Tue, 10 Dec 2019 07:56:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D140895 for ; Tue, 10 Dec 2019 07:56:16 +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: <1575964574.e80b194a6e856cf4145cc27b6a8f7c83d48ba235.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-12.7.2.ebuild X-VCS-Directories: dev-util/debhelper/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: e80b194a6e856cf4145cc27b6a8f7c83d48ba235 X-VCS-Branch: master Date: Tue, 10 Dec 2019 07:56:16 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 78b5b34b-66b6-4ebd-8935-306c9d2806f8 X-Archives-Hash: 336e5bbdefaddf761323774ad3fc203e commit: e80b194a6e856cf4145cc27b6a8f7c83d48ba235 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Dec 10 07:51:51 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Dec 10 07:56:14 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80b194a dev-util/debhelper: Version 12.7.2 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> dev-util/debhelper/Manifest | 1 + dev-util/debhelper/debhelper-12.7.2.ebuild | 73 ++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 1796591fc42..833554e8d70 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,3 +1,4 @@ DIST debhelper_12.6.1.tar.xz 501180 BLAKE2B 2d3382dc87eb8964dad81bcd03e15893c059a93ca4c39589cf9b41847840ee2c1ba25a73e6cf24b7e4da166e37f088b5e6e61a721f7504b7df44186ad044b944 SHA512 83f816abb522b13a98cfdc9dd2ad68c2f23a0d45b4acc55a2ce098066db2c83b52c47f2cc999da467634276a558d84960017247f0d23628fe4a35bd5ba0a2b88 DIST debhelper_12.7.1.tar.xz 503768 BLAKE2B c61932be0c36df9cfa486eb61d1a4ac64af59c696fbe4e2ab21d85fe5031d659d25531a8650f235cc1a35d32a8b9bc2d67d7fbcd10401da09b2c7513849fa857 SHA512 4d15e45e47e1f6671f0b3b916b63197d394533e35d05c60719f85e945c47e71036a30fd952a33937d4151603a7b6100f41a0c6251b185c1ec3c78532f394c251 +DIST debhelper_12.7.2.tar.xz 511800 BLAKE2B e01bc5685c1e4803f2b1668973a6ee02c91dc6da0fd2c2ac1f1ddfce35531351ac38e8805667a23a4c63ea78403bf318957adad4c560771c58f4394fc691709c SHA512 b77b81a72d7c66f893fb6eae501c48fd80b49bdf19e691be74fdf8bcafd91a3f0d000c4ecd2aef80da18caaaa781eba9c8b37512ad260da708bc7b6ea3d7674d DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 diff --git a/dev-util/debhelper/debhelper-12.7.2.ebuild b/dev-util/debhelper/debhelper-12.7.2.ebuild new file mode 100644 index 00000000000..e546013a4fd --- /dev/null +++ b/dev-util/debhelper/debhelper-12.7.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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 +}