1 |
commit: 5d8729e68dfd07c068aa3b9e25981bd0dc49764a |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 16 11:40:24 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 11:40:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8729e6 |
7 |
|
8 |
app-i18n/bidiv: Port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/742035 |
11 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
app-i18n/bidiv/bidiv-1.5_p4.ebuild | 41 +++++++++++++++++++------------------- |
15 |
1 file changed, 20 insertions(+), 21 deletions(-) |
16 |
|
17 |
diff --git a/app-i18n/bidiv/bidiv-1.5_p4.ebuild b/app-i18n/bidiv/bidiv-1.5_p4.ebuild |
18 |
index 9635bec349c..73aafaeb98c 100644 |
19 |
--- a/app-i18n/bidiv/bidiv-1.5_p4.ebuild |
20 |
+++ b/app-i18n/bidiv/bidiv-1.5_p4.ebuild |
21 |
@@ -1,39 +1,38 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=4 |
27 |
-inherit eutils toolchain-funcs |
28 |
+EAPI=7 |
29 |
+ |
30 |
+inherit toolchain-funcs |
31 |
|
32 |
PATCH_LEVEL=4 |
33 |
|
34 |
DESCRIPTION="A commandline tool displaying logical Hebrew/Arabic" |
35 |
HOMEPAGE="https://packages.qa.debian.org/b/bidiv.html" |
36 |
-SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz |
37 |
+SRC_URI=" |
38 |
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz |
39 |
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PATCH_LEVEL}.debian.tar.gz" |
40 |
|
41 |
LICENSE="GPL-2" |
42 |
SLOT="0" |
43 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
44 |
-IUSE="" |
45 |
|
46 |
RDEPEND=">=dev-libs/fribidi-0.19.2-r2" |
47 |
-DEPEND="${DEPEND} |
48 |
- virtual/pkgconfig" |
49 |
+DEPEND="${DEPEND}" |
50 |
+BDEPEND="virtual/pkgconfig" |
51 |
|
52 |
-S=${WORKDIR}/${PN} |
53 |
+S="${WORKDIR}/${PN}" |
54 |
|
55 |
-src_prepare() { |
56 |
+PATCHES=( |
57 |
# Use order from "series" file: |
58 |
- local ddir=${WORKDIR}/debian/patches |
59 |
- epatch \ |
60 |
- "${ddir}"/try_utf8_fix \ |
61 |
- "${ddir}"/makefile \ |
62 |
- "${ddir}"/fribidi_019 \ |
63 |
- "${ddir}"/hyphen_minus \ |
64 |
- "${ddir}"/term_size_get \ |
65 |
- "${ddir}"/type_fix \ |
66 |
- "${ddir}"/cast_fix |
67 |
-} |
68 |
+ "${WORKDIR}"/debian/patches/try_utf8_fix |
69 |
+ "${WORKDIR}"/debian/patches/makefile |
70 |
+ "${WORKDIR}"/debian/patches/fribidi_019 |
71 |
+ "${WORKDIR}"/debian/patches/hyphen_minus |
72 |
+ "${WORKDIR}"/debian/patches/term_size_get |
73 |
+ "${WORKDIR}"/debian/patches/type_fix |
74 |
+ "${WORKDIR}"/debian/patches/cast_fix |
75 |
+) |
76 |
|
77 |
src_compile() { |
78 |
tc-export CC |
79 |
@@ -41,7 +40,7 @@ src_compile() { |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
- dobin ${PN} |
84 |
- doman ${PN}.1 |
85 |
+ dobin bidiv |
86 |
+ doman bidiv.1 |
87 |
dodoc README WHATSNEW "${WORKDIR}"/debian/changelog |
88 |
} |