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 AB9C31382C5 for ; Sun, 7 Mar 2021 14:36:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF4ACE0830; Sun, 7 Mar 2021 14:36:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 D19FCE0821 for ; Sun, 7 Mar 2021 14:36:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 6D515335D88 for ; Sun, 7 Mar 2021 14:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99E1C586 for ; Sun, 7 Mar 2021 14:36:38 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1615127777.7f8156823984b5dae9058362bc42c4d6a41baac7.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/apertium/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-misc/apertium/apertium-3.2.0.ebuild X-VCS-Directories: sci-misc/apertium/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 7f8156823984b5dae9058362bc42c4d6a41baac7 X-VCS-Branch: master Date: Sun, 7 Mar 2021 14:36:38 +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: 79ddcfca-53c6-498c-b644-a24227388829 X-Archives-Hash: d94955d486f776685406293d4aab21af commit: 7f8156823984b5dae9058362bc42c4d6a41baac7 Author: David Seifert gentoo org> AuthorDate: Sun Mar 7 14:36:17 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Mar 7 14:36:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f815682 sci-misc/apertium: Port to EAPI 7 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: David Seifert gentoo.org> sci-misc/apertium/apertium-3.2.0.ebuild | 34 +++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/sci-misc/apertium/apertium-3.2.0.ebuild b/sci-misc/apertium/apertium-3.2.0.ebuild index 997def4d182..9efd69255cd 100644 --- a/sci-misc/apertium/apertium-3.2.0.ebuild +++ b/sci-misc/apertium/apertium-3.2.0.ebuild @@ -1,28 +1,25 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils +inherit autotools DESCRIPTION="Shallow-transfer machine Translation engine and toolbox" HOMEPAGE="http://apertium.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="static-libs" RDEPEND=" dev-libs/libxslt dev-libs/libpcre[cxx] >=sci-misc/lttoolbox-3.2 virtual/libiconv" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PV}-flags.patch @@ -31,5 +28,22 @@ PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) -MAKEOPTS+=" -j1" -AUTOTOOLS_IN_SOURCE_BUILD=1 +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --disable-static +} + +src_compile() { + emake -j1 +} + +src_install() { + default + + # no static archives + find "${ED}" -name '*.la' -delete || die +}