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 601961382C5 for ; Thu, 11 Feb 2021 03:04:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C04EFE0BE1; Thu, 11 Feb 2021 03:04:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AA6B1E0BE1 for ; Thu, 11 Feb 2021 03:04:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 B3E99340F2D for ; Thu, 11 Feb 2021 03:04:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1D814BE for ; Thu, 11 Feb 2021 03:04:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1613012113.4a7784b89a64333172bad521d2571d2d6826ace5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/mdbtools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/mdbtools/mdbtools-0.7.1-r2.ebuild X-VCS-Directories: app-office/mdbtools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4a7784b89a64333172bad521d2571d2d6826ace5 X-VCS-Branch: master Date: Thu, 11 Feb 2021 03:04:25 +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: d8e07308-e5cc-4d76-b78c-4aac30febaef X-Archives-Hash: 2bab2530cc574c015dee1188b95decaf commit: 4a7784b89a64333172bad521d2571d2d6826ace5 Author: Sam James gentoo org> AuthorDate: Thu Feb 11 02:55:13 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 11 02:55:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a7784b8 app-office/mdbtools: port to EAPI 7 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> app-office/mdbtools/mdbtools-0.7.1-r2.ebuild | 40 ++++++++++++++++++---------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild b/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild index 63be1d8704b..ee4183e217e 100644 --- a/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild +++ b/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild @@ -1,11 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 -AUTOTOOLS_AUTORECONF=1 -AUTOTOOLS_IN_SOURCE_BUILD=1 # needed for proper man generation -inherit autotools-utils +inherit autotools DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files" HOMEPAGE="http://mdbtools.sourceforge.net" @@ -14,30 +12,44 @@ SRC_URI="https://github.com/brianb/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86" +IUSE="odbc" -IUSE="odbc static-libs" - -RDEPEND=" - dev-libs/glib:2 - sys-libs/ncurses:0= - sys-libs/readline:0= - odbc? ( >=dev-db/unixODBC-2.0 )" -DEPEND="${RDEPEND} +BDEPEND=" app-text/txt2man sys-devel/flex virtual/pkgconfig virtual/yacc " +RDEPEND=" + dev-libs/glib:2 + sys-libs/ncurses:0= + sys-libs/readline:0= + odbc? ( >=dev-db/unixODBC-2.0 )" +DEPEND="${RDEPEND}" DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO ) PATCHES=( "${FILESDIR}/${P}-parallel-make.patch" ) +src_prepare() { + default + + eautoreconf +} + src_configure() { local myeconfargs=( --disable-gtk-doc --disable-gmdb2 + --disable-static $(use odbc && echo "--with-unixodbc=${EPREFIX}/usr") ) - autotools-utils_src_configure + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die }