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 1D256138DB0 for ; Sat, 15 Oct 2016 10:55:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52594E0B03; Sat, 15 Oct 2016 10:55:28 +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 B30E5E0B03 for ; Sat, 15 Oct 2016 10:55:27 +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 9D03834114A for ; Sat, 15 Oct 2016 10:55:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E22F72EE for ; Sat, 15 Oct 2016 10:55:24 +0000 (UTC) From: "Hanno Boeck" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hanno Boeck" Message-ID: <1476528906.8011caca58dc751581813c005155940b607df371.hanno@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unp/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/unp/unp-2.0_pre7_p1-r1.ebuild X-VCS-Directories: app-arch/unp/ X-VCS-Committer: hanno X-VCS-Committer-Name: Hanno Boeck X-VCS-Revision: 8011caca58dc751581813c005155940b607df371 X-VCS-Branch: master Date: Sat, 15 Oct 2016 10:55:24 +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: 16666836-4a64-40d4-b8d7-848779f95578 X-Archives-Hash: b4be9baa3ee4dfc10c83752aa37e8bb8 commit: 8011caca58dc751581813c005155940b607df371 Author: Hanno gentoo org> AuthorDate: Sat Oct 15 10:55:06 2016 +0000 Commit: Hanno Boeck gentoo org> CommitDate: Sat Oct 15 10:55:06 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8011caca app-arch/unp: respect LINGUAS variable Also port to EAPI 6, change upstream URL to https. Package-Manager: portage-2.3.2 app-arch/unp/unp-2.0_pre7_p1-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild b/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild new file mode 100644 index 00000000..0c2a68d --- /dev/null +++ b/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils bash-completion-r1 + +DESCRIPTION="Script for unpacking various file formats" +HOMEPAGE="https://packages.qa.debian.org/u/unp.html" +TEMP_PV="${PV/_pre/$'\x7e'pre}" +MY_PV="${TEMP_PV/_p/+nmu}" +SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${MY_PV}.tar.bz2" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" + +RDEPEND="${DEPEND} + dev-lang/perl" + +PATCHES=( "${FILESDIR}/${P}-remove-deprecated-have.diff" ) + +src_compile() { + if use nls; then + strip-linguas -i . + emake -C po MOFILES="${LINGUAS/ /.po }.po" + fi +} + +src_install() { + dobin unp || die "dobin failed" + dosym /usr/bin/unp /usr/bin/ucat + doman debian/unp.1 || die "doman failed" + dodoc debian/changelog debian/README.Debian + dobashcomp bash_completion.d/unp + + if use nls; then + emake -C po MOFILES="${LINGUAS/ /.mo }.mo" DESTDIR="${D}" install + fi +}