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 1DD77138359 for ; Sun, 13 Sep 2020 10:04:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 538E1E087A; Sun, 13 Sep 2020 10:04:53 +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 3B00BE087A for ; Sun, 13 Sep 2020 10:04:53 +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 4557C335D35 for ; Sun, 13 Sep 2020 10:04:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9988355 for ; Sun, 13 Sep 2020 10:04:50 +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: <1599991489.93a3282ed449d95f583da391112c6a96129561db.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-13.2.1.ebuild X-VCS-Directories: dev-util/debhelper/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 93a3282ed449d95f583da391112c6a96129561db X-VCS-Branch: master Date: Sun, 13 Sep 2020 10:04:50 +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: cf79dc14-2f7d-42a2-8013-413b9806fa3a X-Archives-Hash: 84884c06441c8a40acce267c53495cea commit: 93a3282ed449d95f583da391112c6a96129561db Author: Jeroen Roovers gentoo org> AuthorDate: Sun Sep 13 09:56:23 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sun Sep 13 10:04:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a3282e dev-util/debhelper: Version 13.2.1 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Jeroen Roovers gentoo.org> dev-util/debhelper/Manifest | 1 + dev-util/debhelper/debhelper-13.2.1.ebuild | 74 ++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index b9e9510f355..1b15275560d 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,3 +1,4 @@ DIST debhelper_13.1.tar.xz 530828 BLAKE2B 582dccdad50a51907d2565fef34fefeebf79360af31691ad0c332bb04b12a2165af598a3d35088595aee3653ca27f049e22669236ee48376ab665ea7423c6d5e SHA512 8160a31a857c9e548e0c5527eb4c86fb5c452e5209a741c7a4600f03a48fd5b46fe07c4d1c64ad11c3af3b9f2e1d67df2d4e9d773bc432d6147540dab015e977 +DIST debhelper_13.2.1.tar.xz 541428 BLAKE2B eb377a09fe23aef159c6a8309c1a63df94be2a1dbf313af32868f9a01e394438c98f02cbd18077cf22998e693c171244e42d33fa503e591030f4fe4248bfbc53 SHA512 38b52b03b65832a33260a7b0d1f08e6079b60318964603ffa0729cb3f56adebe81dbfb82a1785b019100e697cc6b13c212518c4608c0bb2018500be328157b0c DIST debhelper_13.2.tar.xz 540400 BLAKE2B a1734ecbd92eadc3f5fbd0b118ffb4c6b697b157c39cab7626bd734adb80c6dfd0061298220c5d5c7a7fff412a1a52490e7001c8d634596dc41389a7e81c7a74 SHA512 07fd1f32975a9d84940a15140875994d30fe4bc0a40b40fe83a1ff9a304121167345194802691326251490852e601c388cab5cd02c000a4a6768edd1259a7bbc DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 diff --git a/dev-util/debhelper/debhelper-13.2.1.ebuild b/dev-util/debhelper/debhelper-13.2.1.ebuild new file mode 100644 index 00000000000..99dca21e93e --- /dev/null +++ b/dev-util/debhelper/debhelper-13.2.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 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 ~sparc ~x86 ~amd64-linux" +IUSE="test" +RESTRICT="!test? ( 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 +}