Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/enet/
Date: Sat, 10 Oct 2020 07:10:48
Message-Id: 1602312770.61b208093fca47ed716785db2798a888ce9d3363.sam@gentoo
1 commit: 61b208093fca47ed716785db2798a888ce9d3363
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 06:52:50 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 06:52:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b20809
7
8 net-libs/enet: port to EAPI 7
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-libs/enet/enet-1.2.2-r1.ebuild | 11 ++++++++---
14 net-libs/enet/enet-1.3.13.ebuild | 7 +++----
15 2 files changed, 11 insertions(+), 7 deletions(-)
16
17 diff --git a/net-libs/enet/enet-1.2.2-r1.ebuild b/net-libs/enet/enet-1.2.2-r1.ebuild
18 index b38533678dd..a0ddb70b8e3 100644
19 --- a/net-libs/enet/enet-1.2.2-r1.ebuild
20 +++ b/net-libs/enet/enet-1.2.2-r1.ebuild
21 @@ -1,9 +1,9 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 +# Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28
29 -DESCRIPTION="relatively thin, simple and robust network communication layer on top of UDP"
30 +DESCRIPTION="Relatively thin, simple and robust network communication layer on top of UDP"
31 HOMEPAGE="http://enet.bespin.org/"
32 SRC_URI="http://enet.bespin.org/download/${P}.tar.gz"
33
34 @@ -15,3 +15,8 @@ IUSE="static-libs"
35 src_configure() {
36 econf $(use_enable static-libs static)
37 }
38 +
39 +src_install() {
40 + default
41 + find "${ED}" -name '*.la' -delete || die
42 +}
43
44 diff --git a/net-libs/enet/enet-1.3.13.ebuild b/net-libs/enet/enet-1.3.13.ebuild
45 index 55c0fcdcfa0..0e307002387 100644
46 --- a/net-libs/enet/enet-1.3.13.ebuild
47 +++ b/net-libs/enet/enet-1.3.13.ebuild
48 @@ -1,10 +1,9 @@
49 # Copyright 1999-2020 Gentoo Authors
50 # Distributed under the terms of the GNU General Public License v2
51
52 -EAPI=5
53 -inherit eutils ltprune
54 +EAPI=7
55
56 -DESCRIPTION="relatively thin, simple and robust network communication layer on top of UDP"
57 +DESCRIPTION="Relatively thin, simple and robust network communication layer on top of UDP"
58 HOMEPAGE="http://enet.bespin.org/"
59 SRC_URI="http://enet.bespin.org/download/${P}.tar.gz"
60
61 @@ -21,5 +20,5 @@ src_configure() {
62
63 src_install() {
64 default
65 - prune_libtool_files
66 + find "${ED}" -name '*.la' -delete || die
67 }