commit:     61b208093fca47ed716785db2798a888ce9d3363
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 06:52:50 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 06:52:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b20809

net-libs/enet: port to EAPI 7

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/enet/enet-1.2.2-r1.ebuild | 11 ++++++++---
 net-libs/enet/enet-1.3.13.ebuild   |  7 +++----
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/net-libs/enet/enet-1.2.2-r1.ebuild 
b/net-libs/enet/enet-1.2.2-r1.ebuild
index b38533678dd..a0ddb70b8e3 100644
--- a/net-libs/enet/enet-1.2.2-r1.ebuild
+++ b/net-libs/enet/enet-1.2.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-DESCRIPTION="relatively thin, simple and robust network communication layer on 
top of UDP"
+DESCRIPTION="Relatively thin, simple and robust network communication layer on 
top of UDP"
 HOMEPAGE="http://enet.bespin.org/";
 SRC_URI="http://enet.bespin.org/download/${P}.tar.gz";
 
@@ -15,3 +15,8 @@ IUSE="static-libs"
 src_configure() {
        econf $(use_enable static-libs static)
 }
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete || die
+}

diff --git a/net-libs/enet/enet-1.3.13.ebuild b/net-libs/enet/enet-1.3.13.ebuild
index 55c0fcdcfa0..0e307002387 100644
--- a/net-libs/enet/enet-1.3.13.ebuild
+++ b/net-libs/enet/enet-1.3.13.ebuild
@@ -1,10 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils ltprune
+EAPI=7
 
-DESCRIPTION="relatively thin, simple and robust network communication layer on 
top of UDP"
+DESCRIPTION="Relatively thin, simple and robust network communication layer on 
top of UDP"
 HOMEPAGE="http://enet.bespin.org/";
 SRC_URI="http://enet.bespin.org/download/${P}.tar.gz";
 
@@ -21,5 +20,5 @@ src_configure() {
 
 src_install() {
        default
-       prune_libtool_files
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to