Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/mdbtools/
Date: Thu, 11 Feb 2021 03:04:31
Message-Id: 1613012113.4a7784b89a64333172bad521d2571d2d6826ace5.sam@gentoo
1 commit: 4a7784b89a64333172bad521d2571d2d6826ace5
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 11 02:55:13 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 11 02:55:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a7784b8
7
8 app-office/mdbtools: port to EAPI 7
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-office/mdbtools/mdbtools-0.7.1-r2.ebuild | 40 ++++++++++++++++++----------
14 1 file changed, 26 insertions(+), 14 deletions(-)
15
16 diff --git a/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild b/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild
17 index 63be1d8704b..ee4183e217e 100644
18 --- a/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild
19 +++ b/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild
20 @@ -1,11 +1,9 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI="5"
26 +EAPI=7
27
28 -AUTOTOOLS_AUTORECONF=1
29 -AUTOTOOLS_IN_SOURCE_BUILD=1 # needed for proper man generation
30 -inherit autotools-utils
31 +inherit autotools
32
33 DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files"
34 HOMEPAGE="http://mdbtools.sourceforge.net"
35 @@ -14,30 +12,44 @@ SRC_URI="https://github.com/brianb/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
36 LICENSE="GPL-2 LGPL-2.1"
37 SLOT="0"
38 KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
39 +IUSE="odbc"
40
41 -IUSE="odbc static-libs"
42 -
43 -RDEPEND="
44 - dev-libs/glib:2
45 - sys-libs/ncurses:0=
46 - sys-libs/readline:0=
47 - odbc? ( >=dev-db/unixODBC-2.0 )"
48 -DEPEND="${RDEPEND}
49 +BDEPEND="
50 app-text/txt2man
51 sys-devel/flex
52 virtual/pkgconfig
53 virtual/yacc
54 "
55 +RDEPEND="
56 + dev-libs/glib:2
57 + sys-libs/ncurses:0=
58 + sys-libs/readline:0=
59 + odbc? ( >=dev-db/unixODBC-2.0 )"
60 +DEPEND="${RDEPEND}"
61
62 DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO )
63
64 PATCHES=( "${FILESDIR}/${P}-parallel-make.patch" )
65
66 +src_prepare() {
67 + default
68 +
69 + eautoreconf
70 +}
71 +
72 src_configure() {
73 local myeconfargs=(
74 --disable-gtk-doc
75 --disable-gmdb2
76 + --disable-static
77 $(use odbc && echo "--with-unixodbc=${EPREFIX}/usr")
78 )
79 - autotools-utils_src_configure
80 +
81 + econf "${myeconfargs[@]}"
82 +}
83 +
84 +src_install() {
85 + default
86 +
87 + find "${ED}" -name '*.la' -delete || die
88 }