From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-870874-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 12F7E59CA5 for <garchives@archives.gentoo.org>; Sat, 19 Mar 2016 07:30:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5060821C097; Sat, 19 Mar 2016 07:30:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9C3221C097 for <gentoo-commits@lists.gentoo.org>; Sat, 19 Mar 2016 07:30:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 39111340B6C for <gentoo-commits@lists.gentoo.org>; Sat, 19 Mar 2016 07:30:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 882AC822 for <gentoo-commits@lists.gentoo.org>; Sat, 19 Mar 2016 07:30:22 +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: <1458372598.956d618bf3470681f8971f9914064a83229b68fe.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-9.20160313.ebuild X-VCS-Directories: dev-util/debhelper/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 956d618bf3470681f8971f9914064a83229b68fe X-VCS-Branch: master Date: Sat, 19 Mar 2016 07:30:22 +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: cf9a55bf-d29f-4875-9952-47af94070e2d X-Archives-Hash: 2dadfe86ae4e953514775e2c9c2cd5af commit: 956d618bf3470681f8971f9914064a83229b68fe Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Sat Mar 19 07:29:58 2016 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Sat Mar 19 07:29:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956d618b dev-util/debhelper: Version bump. Package-Manager: portage-2.2.28 dev-util/debhelper/Manifest | 1 + dev-util/debhelper/debhelper-9.20160313.ebuild | 70 ++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 85db8cc..c06555a 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,3 +1,4 @@ DIST debhelper_9.20150101.tar.gz 545089 SHA256 fd8d81d71d1bb0ba4b58c517465551231dd60811b98c867e4344bc55ec6a45f2 SHA512 62c85f751627cf0bdac392c6e8c5298995030962b7753047414e740b3767d722c209329c9f0c3c07c94e82bbb7250c163ce49b681e268a0decdbd19b72ea132a WHIRLPOOL 31315544c3ee695a53ef2310ad69e59c68fb0b73399305b9fe57ceb7b01faab72995e01aed270300dd0fbaed2686a5b565a8a08cfc31c720c5baa2a6c475ac4e DIST debhelper_9.20151225.tar.xz 331624 SHA256 9c82f3543fe97a3ea4ddfda630aeac8e1c6d5ab7f7ea0c98c6cc8007731b9690 SHA512 b18ce3cdc2f24f06e75226d6687166c6567b80d5f40d2584afd4a4cffcacaf6e410b32206c37adc4dedec75b894722dd61f081344dd945a8de277a95859d1e4f WHIRLPOOL 0bbdc573a93665b59a3166361aea3c667907677a522ea67289677a849212fcda5e9fe8b182bd9863c20f49ccd0897e2269d786d21dde747b3120e74901516983 DIST debhelper_9.20160115.tar.xz 334540 SHA256 80f2c86caa5878bd41029f96c06ec709bc05fe6f83a366b74e14d4dd989f9302 SHA512 7bcfae18a5602527eaa5c37dff24f304827d3b54b8bb31f39ba87667b0160039f8e22bd52fddeced0f234811a439409e706763b4d3cc8987c67a5f836a8bcaf6 WHIRLPOOL 97139276a7c85b4ff72cc21392ea4b0013092a8327324a34e45936ba2b3291126df7a96b24c4ec54dd933254b869a73eb739dc0c0ca5b6e1f14881816a86c99d +DIST debhelper_9.20160313.tar.xz 335852 SHA256 27b70f3dda87ec8d0647c5e006eacd494335f3e977a80bc83ed31330f2a0c532 SHA512 4d8b2289a3e60ae642a2a39f8eeb150463d6fe088c3fd2403cf9c7718532b9e995e2ae437064a8a0100a04a2b9b9753c529919ebbb835513d54db41d84f7e4f4 WHIRLPOOL 6ff10fdaddc719369bbc7d05978547178a011a8cf6a8e4b73fa7b78f66c82f16f6dfffd64bdcd147ee5f275c5bb372bc2b9f79d715f567465cbea14499ee5896 diff --git a/dev-util/debhelper/debhelper-9.20160313.ebuild b/dev-util/debhelper/debhelper-9.20160313.ebuild new file mode 100644 index 0000000..e4d3575 --- /dev/null +++ b/dev-util/debhelper/debhelper-9.20160313.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules" +HOMEPAGE="http://packages.qa.debian.org/d/debhelper.html http://joeyh.name/code/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_LINGUAS=( de es fr ) +IUSE+=" ${DH_LINGUAS[@]/#/linguas_}" + +NLS_DEPEND=$( + printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]} +) + +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 ) +" + +S=${WORKDIR}/${PN} + +src_compile() { + tc-export CC + + local LANGS="" USE_NLS=no lingua + for lingua in ${DH_LINGUAS[@]}; do + if use linguas_${lingua}; then + LANGS+=" ${lingua}" + 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 lingua + for manfile in *.1 *.7 ; do + for lingua in ${DH_LINGUAS[@]}; do + case ${manfile} in + *.${lingua}.?) + use linguas_${lingua} \ + && cp ${manfile} "${T}"/${manfile/.${lingua}/} \ + && doman -i18n=${lingua} "${T}"/${manfile/.${lingua}/} + ;; + *) + doman ${manfile} + ;; + esac + done + done +}