diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-07-09 10:08:23 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-07-09 10:10:14 +0200 |
commit | 41909dd1b107167f4c540bd49c0b3f8c539cb03b (patch) | |
tree | b35365e5bb8eaac17c01439b4e07b4ff7a102f9f /dev-util | |
parent | dev-python/greenlet: arm stable wrt bug #731402 (diff) | |
download | gentoo-41909dd1b107167f4c540bd49c0b3f8c539cb03b.tar.gz gentoo-41909dd1b107167f4c540bd49c0b3f8c539cb03b.tar.bz2 gentoo-41909dd1b107167f4c540bd49c0b3f8c539cb03b.zip |
dev-util/debhelper: Version 13.2
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/debhelper/Manifest | 1 | ||||
-rw-r--r-- | dev-util/debhelper/debhelper-13.2.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 623e62659b12..256158bf7c6a 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.tar.xz 540400 BLAKE2B a1734ecbd92eadc3f5fbd0b118ffb4c6b697b157c39cab7626bd734adb80c6dfd0061298220c5d5c7a7fff412a1a52490e7001c8d634596dc41389a7e81c7a74 SHA512 07fd1f32975a9d84940a15140875994d30fe4bc0a40b40fe83a1ff9a304121167345194802691326251490852e601c388cab5cd02c000a4a6768edd1259a7bbc DIST debhelper_13.tar.xz 526028 BLAKE2B cc6e5f7b2eee7822088e326c3bd3930c3da60a5942c3dc3732a787428bf43c985a2f2be681b6d85c88767e3b1cde3871db1be5b912ab35260b776924c54acfb7 SHA512 17e131fba58057383e7824cd93a27b9d7eed0a2191bc6499c4bc412b47889a91d53a6ad5ac8c637166748bd728f10fd5d3a83bd0d2626e491a8481fe5c1193e9 DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 diff --git a/dev-util/debhelper/debhelper-13.2.ebuild b/dev-util/debhelper/debhelper-13.2.ebuild new file mode 100644 index 000000000000..99dca21e93e2 --- /dev/null +++ b/dev-util/debhelper/debhelper-13.2.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 +} |