app-arch/unp: drop old EAPIs

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8589
This commit is contained in:
Aaron Bauman
2018-05-25 20:39:23 -04:00
parent 161287a624
commit 404fe8a681
3 changed files with 0 additions and 89 deletions

View File

@@ -1,2 +1 @@
DIST unp_2.0~pre7+nmu1.tar.bz2 17537 BLAKE2B 7ef6cfcc524daf95c7cd9dc41ba690cb8db1b1983cd45709c8764591af36d6d00631975bfef0359ac633aae1c11b73efe827e367931f73fe7c5fcc8832b0fe84 SHA512 1b30f14c8d17e0a6b149ca4795f2219e9180f814347410e7ff7fa2b9720a9d308190f2ded8fcfd11bac9b5bb7a64ffd93f140bdaffcba1127f0e15e3d2737362
DIST unp_2.0~pre7.tar.bz2 14492 BLAKE2B 5155aa3a63ba9aaad981c42ea88602b97c08416384d166979f35a1ddec592b7cfbf4f002a500de0f21a374732f1a5aec85e69bcbb915ca7936edd67f04875898 SHA512 b90238a3e359d45e4b0ec3e5559a682fce3a7a37f74dd5419b005bb7bd3e3e5be03dde2e5d40d1671c0274ff1d795560fa238a572fe6cf3ab12f17dd1e2bcd1d

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=2
inherit eutils bash-completion-r1
DESCRIPTION="Script for unpacking various file formats"
HOMEPAGE="https://packages.qa.debian.org/u/unp.html"
SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${PV/_/$'\x7e'}.tar.bz2"
S="${WORKDIR}/${PN}-${PV/_/$'\x7e'}"
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
cd po
emake
fi
}
src_install() {
dobin unp || die "dobin failed"
dosym 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
cd po
emake DESTDIR="${D}" install
fi
}

View File

@@ -1,47 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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"
src_prepare() {
epatch "${FILESDIR}/${P}-remove-deprecated-have.diff"
}
src_compile() {
if use nls; then
cd po
emake
fi
}
src_install() {
dobin unp || die "dobin failed"
dosym 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
cd po
emake DESTDIR="${D}" install
fi
}