diff options
author | David Seifert <soap@gentoo.org> | 2020-09-16 13:40:24 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-09-16 13:40:24 +0200 |
commit | 5d8729e68dfd07c068aa3b9e25981bd0dc49764a (patch) | |
tree | e825ef17eb47cebddd5df1273a8650a71128b825 /app-i18n | |
parent | app-i18n/bidiv: Remove old (diff) | |
download | gentoo-5d8729e68dfd07c068aa3b9e25981bd0dc49764a.tar.gz gentoo-5d8729e68dfd07c068aa3b9e25981bd0dc49764a.tar.bz2 gentoo-5d8729e68dfd07c068aa3b9e25981bd0dc49764a.zip |
app-i18n/bidiv: Port to EAPI 7
Closes: https://bugs.gentoo.org/742035
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/bidiv/bidiv-1.5_p4.ebuild | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/app-i18n/bidiv/bidiv-1.5_p4.ebuild b/app-i18n/bidiv/bidiv-1.5_p4.ebuild index 9635bec349c9..73aafaeb98cd 100644 --- a/app-i18n/bidiv/bidiv-1.5_p4.ebuild +++ b/app-i18n/bidiv/bidiv-1.5_p4.ebuild @@ -1,39 +1,38 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit eutils toolchain-funcs +EAPI=7 + +inherit toolchain-funcs PATCH_LEVEL=4 DESCRIPTION="A commandline tool displaying logical Hebrew/Arabic" HOMEPAGE="https://packages.qa.debian.org/b/bidiv.html" -SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz +SRC_URI=" + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PATCH_LEVEL}.debian.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="" RDEPEND=">=dev-libs/fribidi-0.19.2-r2" -DEPEND="${DEPEND} - virtual/pkgconfig" +DEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" -S=${WORKDIR}/${PN} +S="${WORKDIR}/${PN}" -src_prepare() { +PATCHES=( # Use order from "series" file: - local ddir=${WORKDIR}/debian/patches - epatch \ - "${ddir}"/try_utf8_fix \ - "${ddir}"/makefile \ - "${ddir}"/fribidi_019 \ - "${ddir}"/hyphen_minus \ - "${ddir}"/term_size_get \ - "${ddir}"/type_fix \ - "${ddir}"/cast_fix -} + "${WORKDIR}"/debian/patches/try_utf8_fix + "${WORKDIR}"/debian/patches/makefile + "${WORKDIR}"/debian/patches/fribidi_019 + "${WORKDIR}"/debian/patches/hyphen_minus + "${WORKDIR}"/debian/patches/term_size_get + "${WORKDIR}"/debian/patches/type_fix + "${WORKDIR}"/debian/patches/cast_fix +) src_compile() { tc-export CC @@ -41,7 +40,7 @@ src_compile() { } src_install() { - dobin ${PN} - doman ${PN}.1 + dobin bidiv + doman bidiv.1 dodoc README WHATSNEW "${WORKDIR}"/debian/changelog } |