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 90EC5138359 for ; Tue, 15 Sep 2020 00:44:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97E51E0391; Tue, 15 Sep 2020 00:44:19 +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 5F459E0391 for ; Tue, 15 Sep 2020 00:44:19 +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 B93B63409EB for ; Tue, 15 Sep 2020 00:44:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E239339 for ; Tue, 15 Sep 2020 00:44:16 +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: <1600130651.3fcaa3a3d04381af04d2da4ebb454c6a787e555d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/ripmime/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/ripmime/ripmime-1.4.0.10-r1.ebuild net-mail/ripmime/ripmime-1.4.0.10.ebuild X-VCS-Directories: net-mail/ripmime/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3fcaa3a3d04381af04d2da4ebb454c6a787e555d X-VCS-Branch: master Date: Tue, 15 Sep 2020 00:44:16 +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: cd18dafe-c9a5-4564-ad04-cd8437792191 X-Archives-Hash: f98194085ad2159c0242e785dd8aa44a commit: 3fcaa3a3d04381af04d2da4ebb454c6a787e555d Author: Sam James gentoo org> AuthorDate: Tue Sep 15 00:44:11 2020 +0000 Commit: Sam James gentoo org> CommitDate: Tue Sep 15 00:44:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fcaa3a3 net-mail/ripmime: port to EAPI 7 Closes: https://bugs.gentoo.org/742233 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> ...-1.4.0.10.ebuild => ripmime-1.4.0.10-r1.ebuild} | 28 ++++++++++------------ 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/net-mail/ripmime/ripmime-1.4.0.10.ebuild b/net-mail/ripmime/ripmime-1.4.0.10-r1.ebuild similarity index 57% rename from net-mail/ripmime/ripmime-1.4.0.10.ebuild rename to net-mail/ripmime/ripmime-1.4.0.10-r1.ebuild index 36bdac2eeef..b1ab63c6d98 100644 --- a/net-mail/ripmime/ripmime-1.4.0.10.ebuild +++ b/net-mail/ripmime/ripmime-1.4.0.10-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 -inherit eutils multilib toolchain-funcs +inherit toolchain-funcs DESCRIPTION="extract attachment files out of a MIME-encoded email pack" HOMEPAGE="http://pldaniels.com/ripmime/" @@ -12,18 +12,18 @@ SRC_URI="http://www.pldaniels.com/ripmime/${P}.tar.gz" LICENSE="Sendmail" SLOT="0" KEYWORDS="amd64 ppc sparc x86" -IUSE="static-libs" -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.4.0.9-makefile.patch \ - "${FILESDIR}"/${PN}-1.4.0.9-buffer-overflow.patch -} +PATCHES=( + "${FILESDIR}/${PN}-1.4.0.9-makefile.patch" + "${FILESDIR}/${PN}-1.4.0.9-buffer-overflow.patch" +) src_compile() { - local maketargets="default solib" - use static-libs && maketargets="${maketargets} libripmime.a" - - emake CC="$(tc-getCC)" AR="$(tc-getAR)" CFLAGS="${CFLAGS}" ${maketargets} + emake \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + CFLAGS="${CFLAGS}" \ + default solib } src_install() { @@ -37,8 +37,4 @@ src_install() { dolib.so libripmime.so.1.4.0 dosym libripmime.so.1.4.0 /usr/$(get_libdir)/libripmime.so dosym libripmime.so.1.4.0 /usr/$(get_libdir)/libripmime.so.1 - - if use static-libs ; then - dolib.a libripmime.a - fi }