public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hanno Boeck" <hanno@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unp/
Date: Sat, 15 Oct 2016 10:55:24 +0000 (UTC)	[thread overview]
Message-ID: <1476528906.8011caca58dc751581813c005155940b607df371.hanno@gentoo> (raw)

commit:     8011caca58dc751581813c005155940b607df371
Author:     Hanno <hanno <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 10:55:06 2016 +0000
Commit:     Hanno Boeck <hanno <AT> gentoo <DOT> 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
+}


             reply	other threads:[~2016-10-15 10:55 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-15 10:55 Hanno Boeck [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-10-15 17:04 [gentoo-commits] repo/gentoo:master commit in: app-arch/unp/ Hanno Boeck
2016-10-15 17:20 Hanno Boeck
2017-08-22 19:59 Michał Górny
2017-09-23  6:46 Jeroen Roovers
2017-12-29 17:49 Thomas Deutschmann
2018-01-07 19:13 Mikle Kolyada
2018-05-26  1:27 Aaron Bauman
2020-07-21 16:28 Hanno Böck
2020-09-04 10:11 Hanno Böck
2020-10-25 19:46 Thomas Deutschmann
2020-11-02 23:51 Sam James
2021-01-06 12:52 Fabian Groffen
2021-11-19  7:24 Arthur Zamarin
2022-05-03 18:01 Arthur Zamarin
2022-10-08 20:01 Sam James
2024-02-11  7:30 Hanno Böck
2024-02-25  6:40 Hanno Böck
2024-02-25 11:17 Hanno Böck
2024-04-09 15:54 Arthur Zamarin
2024-04-09 15:54 Arthur Zamarin
2024-04-09 15:54 Arthur Zamarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1476528906.8011caca58dc751581813c005155940b607df371.hanno@gentoo \
    --to=hanno@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox