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-misc/socket/, net-misc/socket/files/
Date: Tue, 30 Mar 2021 21:45:59
Message-Id: 1617140741.11141207fdbf6b0bf8a9d355876d52f7ba829482.sam@gentoo
1 commit: 11141207fdbf6b0bf8a9d355876d52f7ba829482
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 21:17:11 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 21:45:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11141207
7
8 net-misc/socket: port to EAPI 7, drop base.eclass
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-misc/socket/files/socket-1.5-makefile.patch | 4 ++--
13 net-misc/socket/socket-1.5.ebuild | 12 +++++++-----
14 2 files changed, 9 insertions(+), 7 deletions(-)
15
16 diff --git a/net-misc/socket/files/socket-1.5-makefile.patch b/net-misc/socket/files/socket-1.5-makefile.patch
17 index 7dc3e7c1f5c..a204791ce5b 100644
18 --- a/net-misc/socket/files/socket-1.5-makefile.patch
19 +++ b/net-misc/socket/files/socket-1.5-makefile.patch
20 @@ -1,5 +1,5 @@
21 ---- Makefile.orig 2008-06-27 13:57:47.000000000 +0400
22 -+++ Makefile 2013-02-05 00:42:25.241748516 +0400
23 +--- a/Makefile
24 ++++ b/Makefile
25 @@ -38,9 +38,8 @@
26 INSTALLMANPATH = $(INSTALLBASE)/man
27 INSTALLMANMODE = 444
28
29 diff --git a/net-misc/socket/socket-1.5.ebuild b/net-misc/socket/socket-1.5.ebuild
30 index a08430d13f1..be38d567737 100644
31 --- a/net-misc/socket/socket-1.5.ebuild
32 +++ b/net-misc/socket/socket-1.5.ebuild
33 @@ -1,9 +1,9 @@
34 -# Copyright 1999-2013 Gentoo Foundation
35 +# Copyright 1999-2021 Gentoo Authors
36 # Distributed under the terms of the GNU General Public License v2
37
38 -EAPI=5
39 +EAPI=7
40
41 -inherit base toolchain-funcs
42 +inherit toolchain-funcs
43
44 DESCRIPTION="A shell-level interface to TCP sockets"
45 HOMEPAGE="http://www.jnickelsen.de/socket/"
46 @@ -12,10 +12,11 @@ SRC_URI="http://www.jnickelsen.de/${PN}/${P}.tar.gz"
47 LICENSE="BSD-2"
48 SLOT="0"
49 KEYWORDS="~amd64 ~x86 ~amd64-linux"
50 -
51 IUSE="examples"
52
53 -PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
54 +PATCHES=(
55 + "${FILESDIR}"/${P}-makefile.patch
56 +)
57
58 src_compile() {
59 emake CC="$(tc-getCC)"
60 @@ -25,6 +26,7 @@ src_install() {
61 dobin socket
62 doman socket.1
63 dodoc BLURB CHANGES README
64 +
65 if use examples; then
66 docinto examples
67 dodoc scripts/*