From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1144490-garchives=archives.gentoo.org@lists.gentoo.org>
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 CA036138350
	for <garchives@archives.gentoo.org>; Sun,  9 Feb 2020 18:50:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B5FFDE082D;
	Sun,  9 Feb 2020 18:50:23 +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 A0A3CE082D
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Feb 2020 18:50:23 +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 E060634E8FC
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Feb 2020 18:50:20 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A87112C
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Feb 2020 18:50:18 +0000 (UTC)
From: "David Seifert" <soap@gentoo.org>
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" <soap@gentoo.org>
Message-ID: <1581274173.908b0a0bbe33ee5e24c4cb435abd7e9844d592a9.soap@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnatpmp/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-libs/libnatpmp/libnatpmp-20150609.ebuild
X-VCS-Directories: net-libs/libnatpmp/
X-VCS-Committer: soap
X-VCS-Committer-Name: David Seifert
X-VCS-Revision: 908b0a0bbe33ee5e24c4cb435abd7e9844d592a9
X-VCS-Branch: master
Date: Sun,  9 Feb 2020 18:50:18 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e672e614-c5c7-425c-a000-befba1806a87
X-Archives-Hash: 5d5e28d38b89c0b544526c7cc0a087c1

commit:     908b0a0bbe33ee5e24c4cb435abd7e9844d592a9
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 18:49:33 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 18:49:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908b0a0b

net-libs/libnatpmp: Port to EAPI 7

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-libs/libnatpmp/libnatpmp-20150609.ebuild | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/net-libs/libnatpmp/libnatpmp-20150609.ebuild b/net-libs/libnatpmp/libnatpmp-20150609.ebuild
index 95c1b853efb..ce801e2b16b 100644
--- a/net-libs/libnatpmp/libnatpmp-20150609.ebuild
+++ b/net-libs/libnatpmp/libnatpmp-20150609.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
-inherit eutils toolchain-funcs multilib
+EAPI=7
+
+inherit toolchain-funcs
 
 DESCRIPTION="An alternative protocol to UPnP IGD specification"
 HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html"
@@ -11,12 +12,14 @@ SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static-libs"
 
-src_prepare() {
-	epatch "${FILESDIR}"/respect-FLAGS-20140401.patch
-	epatch "${FILESDIR}"/respect-libdir-20120821.patch
-	use static-libs || epatch "${FILESDIR}"/remove-static-lib-20130911.patch
+PATCHES=(
+	"${FILESDIR}"/respect-FLAGS-20140401.patch
+	"${FILESDIR}"/respect-libdir-20120821.patch
+	"${FILESDIR}"/remove-static-lib-20130911.patch
+)
+
+src_configure() {
 	tc-export CC
 }