commit:     7d295a484f9437407d30a6e3bdb7d5b2a1d5adba
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  9 10:03:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  9 10:36:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d295a48

media-sound/pms: port to EAPI 7

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/pms/pms-0.42_p20170508.ebuild | 21 ++++++++++-----------
 media-sound/pms/pms-9999.ebuild           | 18 +++++++++---------
 2 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/media-sound/pms/pms-0.42_p20170508.ebuild 
b/media-sound/pms/pms-0.42_p20170508.ebuild
index 13f5072cbc9..5fff6b4dc85 100644
--- a/media-sound/pms/pms-0.42_p20170508.ebuild
+++ b/media-sound/pms/pms-0.42_p20170508.ebuild
@@ -1,30 +1,29 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils vcs-snapshot
+inherit cmake vcs-snapshot
 
 REF="8c8918488a4a22924ee04442dc5e5216783d51ff"
-
 DESCRIPTION="Practical Music Search: an open source ncurses client for mpd, 
written in C++"
 HOMEPAGE="https://ambientsound.github.io/pms";
-SRC_URI="https://github.com/ambientsound/${PN}/tarball/${REF} -> ${P}.tar.gz"
+SRC_URI="https://github.com/ambientsound/${PN}/archive/${REF}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+regex doc"
 
+BDEPEND="
+       virtual/pkgconfig
+       doc? ( app-text/pandoc )
+"
 RDEPEND="
        sys-libs/ncurses:0=[unicode]
        media-libs/libmpdclient
 "
-DEPEND="
-       virtual/pkgconfig
-       doc? ( app-text/pandoc )
-       ${RDEPEND}
-"
+DEPEND="${RDEPEND}"
 
 src_configure() {
        local mycmakeargs=(
@@ -32,5 +31,5 @@ src_configure() {
                -DENABLE_REGEX=$(usex regex)
        )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }

diff --git a/media-sound/pms/pms-9999.ebuild b/media-sound/pms/pms-9999.ebuild
index 2a0de1e38b9..4260a7d72b3 100644
--- a/media-sound/pms/pms-9999.ebuild
+++ b/media-sound/pms/pms-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils git-r3
+inherit cmake git-r3
 
 DESCRIPTION="Practical Music Search: an open source ncurses client for mpd, 
written in C++"
 HOMEPAGE="https://ambientsound.github.io/pms";
@@ -16,15 +16,15 @@ SLOT="0"
 KEYWORDS=""
 IUSE="+regex doc"
 
+BDEPEND="
+       virtual/pkgconfig
+       doc? ( app-text/pandoc )
+"
 RDEPEND="
        sys-libs/ncurses:0=[unicode]
        media-libs/libmpdclient
 "
-DEPEND="
-       virtual/pkgconfig
-       doc? ( app-text/pandoc )
-       ${RDEPEND}
-"
+DEPEND="${RDEPEND}"
 
 src_configure() {
        local mycmakeargs=(
@@ -32,5 +32,5 @@ src_configure() {
                -DENABLE_REGEX=$(usex regex)
        )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }

Reply via email to