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 C0AC8138359 for ; Tue, 21 Jul 2020 16:28:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F025BE0875; Tue, 21 Jul 2020 16:28:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D719AE0875 for ; Tue, 21 Jul 2020 16:28:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98C2234F165 for ; Tue, 21 Jul 2020 16:28:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B23A290 for ; Tue, 21 Jul 2020 16:28:41 +0000 (UTC) From: "Hanno Böck" 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 Böck" Message-ID: <1595348914.f10eed384f27d5745fb2c571fb74d40599d2cfc9.hanno@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unp/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/unp/Manifest app-arch/unp/unp-2.0_pre8.ebuild X-VCS-Directories: app-arch/unp/ X-VCS-Committer: hanno X-VCS-Committer-Name: Hanno Böck X-VCS-Revision: f10eed384f27d5745fb2c571fb74d40599d2cfc9 X-VCS-Branch: master Date: Tue, 21 Jul 2020 16:28:41 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b8297585-05b5-4db8-a0ca-3dff0b5652ed X-Archives-Hash: da9dd96a255643e12d0f36acc2950c89 commit: f10eed384f27d5745fb2c571fb74d40599d2cfc9 Author: Hanno Böck gentoo org> AuthorDate: Tue Jul 21 16:28:34 2020 +0000 Commit: Hanno Böck gentoo org> CommitDate: Tue Jul 21 16:28:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f10eed38 app-arch/unp: Version bump Remove obsolete patch and unneeded complex version handling. Signed-off-by: Hanno Böck gentoo.org> Package-Manager: Portage-3.0.0, Repoman-2.3.23 app-arch/unp/Manifest | 1 + app-arch/unp/unp-2.0_pre8.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/app-arch/unp/Manifest b/app-arch/unp/Manifest index 7f7b15c166c..eb5c120e901 100644 --- a/app-arch/unp/Manifest +++ b/app-arch/unp/Manifest @@ -1 +1,2 @@ DIST unp_2.0~pre7+nmu1.tar.bz2 17537 BLAKE2B 7ef6cfcc524daf95c7cd9dc41ba690cb8db1b1983cd45709c8764591af36d6d00631975bfef0359ac633aae1c11b73efe827e367931f73fe7c5fcc8832b0fe84 SHA512 1b30f14c8d17e0a6b149ca4795f2219e9180f814347410e7ff7fa2b9720a9d308190f2ded8fcfd11bac9b5bb7a64ffd93f140bdaffcba1127f0e15e3d2737362 +DIST unp_2.0~pre8.tar.xz 16336 BLAKE2B 6c6ffd75acda980e6c572c48944b238788a64d2bf1f854b45a3bc468da19fc6e593a8b604d99dac51b5b645ec88b27300be6af4d988a56470812a7ae92f19336 SHA512 58d2a6a9f7fe868773273532b46249109e1e757517dd46e485f2b3a77fea404aeea34edf4460e76376806ae0d28baefa55f1063919bdf1493617f1b361fe6039 diff --git a/app-arch/unp/unp-2.0_pre8.ebuild b/app-arch/unp/unp-2.0_pre8.ebuild new file mode 100644 index 00000000000..8116fc04c3a --- /dev/null +++ b/app-arch/unp/unp-2.0_pre8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils bash-completion-r1 + +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 ~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" + +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 +}