commit:     11141207fdbf6b0bf8a9d355876d52f7ba829482
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 30 21:17:11 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 21:45:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11141207

net-misc/socket: port to EAPI 7, drop base.eclass

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/socket/files/socket-1.5-makefile.patch |  4 ++--
 net-misc/socket/socket-1.5.ebuild               | 12 +++++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/net-misc/socket/files/socket-1.5-makefile.patch 
b/net-misc/socket/files/socket-1.5-makefile.patch
index 7dc3e7c1f5c..a204791ce5b 100644
--- a/net-misc/socket/files/socket-1.5-makefile.patch
+++ b/net-misc/socket/files/socket-1.5-makefile.patch
@@ -1,5 +1,5 @@
---- Makefile.orig      2008-06-27 13:57:47.000000000 +0400
-+++ Makefile   2013-02-05 00:42:25.241748516 +0400
+--- a/Makefile
++++ b/Makefile
 @@ -38,9 +38,8 @@
  INSTALLMANPATH = $(INSTALLBASE)/man
  INSTALLMANMODE = 444

diff --git a/net-misc/socket/socket-1.5.ebuild 
b/net-misc/socket/socket-1.5.ebuild
index a08430d13f1..be38d567737 100644
--- a/net-misc/socket/socket-1.5.ebuild
+++ b/net-misc/socket/socket-1.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit base toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="A shell-level interface to TCP sockets"
 HOMEPAGE="http://www.jnickelsen.de/socket/";
@@ -12,10 +12,11 @@ SRC_URI="http://www.jnickelsen.de/${PN}/${P}.tar.gz";
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux"
-
 IUSE="examples"
 
-PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
+PATCHES=(
+       "${FILESDIR}"/${P}-makefile.patch
+)
 
 src_compile() {
        emake CC="$(tc-getCC)"
@@ -25,6 +26,7 @@ src_install() {
        dobin socket
        doman socket.1
        dodoc BLURB CHANGES README
+
        if use examples; then
                docinto examples
                dodoc scripts/*

Reply via email to