summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-02 17:40:05 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-02 17:40:05 +0200
commitf4d1f82787903a42204e8f9e2624d616adf918c1 (patch)
treed3967b435c4c0736f378528fef0daf3800b23a2a /dev-db/mytop
parentdev-db/innotop: drop 1.12.0 (diff)
downloadgentoo-f4d1f82787903a42204e8f9e2624d616adf918c1.tar.gz
gentoo-f4d1f82787903a42204e8f9e2624d616adf918c1.tar.bz2
gentoo-f4d1f82787903a42204e8f9e2624d616adf918c1.zip
dev-db/mytop: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-db/mytop')
-rw-r--r--dev-db/mytop/mytop-1.9.1-r1.ebuild (renamed from dev-db/mytop/mytop-1.9.1.ebuild)26
1 files changed, 13 insertions, 13 deletions
diff --git a/dev-db/mytop/mytop-1.9.1.ebuild b/dev-db/mytop/mytop-1.9.1-r1.ebuild
index 004f5b3371ee..f4db25d627f8 100644
--- a/dev-db/mytop/mytop-1.9.1.ebuild
+++ b/dev-db/mytop/mytop-1.9.1-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+SRC_TEST="do"
inherit perl-module
DESCRIPTION="mytop - a top clone for mysql"
@@ -12,24 +13,23 @@ SRC_URI="http://www.mysqlfanboy.com/mytop-3/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 ppc sparc x86"
SLOT="0"
-IUSE=""
-RDEPEND="dev-perl/DBD-mysql
- virtual/perl-Getopt-Long
+RDEPEND="
+ dev-perl/DBD-mysql
dev-perl/TermReadKey
+ virtual/perl-Getopt-Long
virtual/perl-Term-ANSIColor
virtual/perl-Time-HiRes"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
+DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}/${PN}-1.9.1-global-status.patch"
- "${FILESDIR}/${PN}-1.9.1-queries-vs-questions-mysql-5.0.76.patch"
- )
-SRC_TEST="do"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.9.1-global-status.patch
+ "${FILESDIR}"/${PN}-1.9.1-queries-vs-questions-mysql-5.0.76.patch
+)
src_install() {
perl-module_src_install
- sed -i -r\
+ sed -i -r \
-e "s|socket( +)=> '',|socket\1=> '/var/run/mysqld/mysqld.sock',|g" \
- "${D}"/usr/bin/mytop
+ "${ED}"/usr/bin/mytop || die
}