app-admin/sysstat: EAPI=7 updates?
authorJeroen Roovers <jer@gentoo.org>
Thu, 15 Aug 2019 06:12:59 +0000 (08:12 +0200)
committerJeroen Roovers <jer@gentoo.org>
Thu, 15 Aug 2019 06:13:53 +0000 (08:13 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
app-admin/sysstat/sysstat-12.0.6.ebuild
app-admin/sysstat/sysstat-12.1.6.ebuild
app-admin/sysstat/sysstat-999999.ebuild

index 859a0f0df6bd2a7f15aa3ea5e27bdeeca691660a..db640d7d5f9eb6771ecb8eeb5cadd5a8749815be 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit eutils flag-o-matic systemd toolchain-funcs
+inherit flag-o-matic systemd toolchain-funcs
 
 DESCRIPTION="System performance tools for Linux"
 HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
index 88dd13ade1dd97d28794a811c8f14080fc0f158a..fd3a1dd527e7505eab4e4c588838d5a99dca1b33 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit eutils flag-o-matic systemd toolchain-funcs
+inherit flag-o-matic systemd toolchain-funcs
 
 DESCRIPTION="System performance tools for Linux"
 HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
index b8e79ab247b81dcd637ce261ec2ab0a0fd9fa819..62f6cc193b2bf7cc2b3af13375b23b89a1d6388c 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils flag-o-matic git-r3 multilib systemd toolchain-funcs
+EAPI=7
+inherit flag-o-matic git-r3 systemd toolchain-funcs
 
 DESCRIPTION="System performance tools for Linux"
 HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
@@ -30,8 +30,6 @@ PATCHES=(
        "${FILESDIR}"/${PN}-11.7.3-flags.patch
 )
 
-SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
-
 src_prepare() {
        if use nls; then
                strip-linguas -i nls/
@@ -52,9 +50,8 @@ src_configure() {
        tc-export AR
        use static && append-ldflags -static
 
-       sa_lib_dir=/usr/$(get_libdir)/sa \
+       sa_lib_dir=/usr/lib/sa \
                conf_dir=/etc \
-               rcdir=${SYSSTAT_FAKE_RC_DIR} \
                econf \
                        $(use_enable debug debuginfo) \
                        $(use_enable lm_sensors sensors) \
@@ -77,9 +74,8 @@ src_install() {
 
        dodoc -r contrib/
 
-       rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
        newinitd "${FILESDIR}"/${PN}.init.d ${PN}
        systemd_dounit ${PN}.service
 
-       rm -f "${D}"usr/share/doc/${PF}/COPYING
+       rm "${D}"/usr/share/doc/${PF}/COPYING || die
 }