public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hanno Böck" <hanno@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unp/
Date: Sun, 11 Feb 2024 07:30:11 +0000 (UTC)	[thread overview]
Message-ID: <1707636600.14f5fe77048667a5caa0a3d09dd3323639bc1ca9.hanno@gentoo> (raw)

commit:     14f5fe77048667a5caa0a3d09dd3323639bc1ca9
Author:     Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 07:29:43 2024 +0000
Commit:     Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 07:30:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14f5fe77

app-arch/unp: add 2.0_pre10

Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>

 app-arch/unp/Manifest             |  1 +
 app-arch/unp/unp-2.0_pre10.ebuild | 52 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/app-arch/unp/Manifest b/app-arch/unp/Manifest
index 53acee291dda..62ee15e4c8d4 100644
--- a/app-arch/unp/Manifest
+++ b/app-arch/unp/Manifest
@@ -1 +1,2 @@
+DIST unp_2.0~pre10.tar.xz 17992 BLAKE2B 63d8c995091a1342677b6aed5854293c582cb6d42c6748ef3d92347ca75e1d3e9e5b128309299ec0b6fc0361bc14dededcc8e290fe8721aecfe82665e07998e9 SHA512 3f8f9f20eef88658b4b00efd37208d859fb3220178f9446696f755a864fea3c3dd301100668bd9c97ca9312ebe961aaf9ec523d8817b8aacb5a1ee6a36213666
 DIST unp_2.0~pre9.tar.xz 16424 BLAKE2B 9042f48be0f80d5e40a08161a35c282ba458dc98cf13992835bdeecebd5fbadd33b3af9165738332cb9f508550a234a48d314332f00ecdacc808a8051eb0740b SHA512 74c9a6e143c9023bdd456dacff5c3a6e30722e259f324c066fe3eed9e4a09c38b399b381719c8677c2fa84434c1e7720384d782d97c098fa6fbcbdbf4030986e

diff --git a/app-arch/unp/unp-2.0_pre10.ebuild b/app-arch/unp/unp-2.0_pre10.ebuild
new file mode 100644
index 000000000000..c719be032835
--- /dev/null
+++ b/app-arch/unp/unp-2.0_pre10.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 strip-linguas
+
+DESCRIPTION="Script for unpacking various file formats"
+HOMEPAGE="https://packages.qa.debian.org/u/unp.html"
+MY_PV="${PV/_pre/$'\x7e'pre}"
+SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${MY_PV}.tar.xz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="nls"
+
+DEPEND="nls? ( sys-devel/gettext )"
+
+RDEPEND="${DEPEND}
+	dev-lang/perl"
+
+# tests in upstream tarball are missing sample files
+RESTRICT="test"
+
+src_compile() {
+	if use nls; then
+		strip-linguas -i .
+		if [ -n "$LINGUAS" ]; then
+			emake -C po MOFILES="${LINGUAS// /.po }.po"
+		else
+			emake -C po
+		fi
+	fi
+}
+
+src_install() {
+	dobin unp
+	dosym unp /usr/bin/ucat
+	doman debian/unp.1
+	dodoc debian/changelog debian/README.Debian
+	newbashcomp debian/unp.bash-completion unp
+
+	if use nls; then
+		if [ -n "$LINGUAS" ]; then
+			emake -C po MOFILES="${LINGUAS// /.mo }.mo" DESTDIR="${D}" install
+		else
+			emake -C po DESTDIR="${D}" install
+		fi
+	fi
+}


             reply	other threads:[~2024-02-11  7:30 UTC|newest]

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

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=1707636600.14f5fe77048667a5caa0a3d09dd3323639bc1ca9.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