public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/shnflacverify/
@ 2019-12-12 16:03 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2019-12-12 16:03 UTC (permalink / raw
  To: gentoo-commits

commit:     ae26101d26ecbf4d8fcb789f88828bbaa423789c
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 16:03:00 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 16:03:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae26101d

media-sound/shnflacverify: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/shnflacverify/shnflacverify-0.3.ebuild | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/media-sound/shnflacverify/shnflacverify-0.3.ebuild b/media-sound/shnflacverify/shnflacverify-0.3.ebuild
index 80e08a78f3b..7f5b5eb1bf0 100644
--- a/media-sound/shnflacverify/shnflacverify-0.3.ebuild
+++ b/media-sound/shnflacverify/shnflacverify-0.3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 inherit eutils
 
@@ -12,12 +12,10 @@ SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.zip"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}
-	dev-lang/perl
+RDEPEND="
 	app-arch/unzip
+	dev-lang/perl
 	media-libs/flac
 	media-sound/shntool
 	sys-apps/coreutils"
@@ -25,11 +23,14 @@ RDEPEND="${DEPEND}
 S="${WORKDIR}"
 
 src_prepare() {
-	local X
+	default
+
 	edos2unix *.txt
+
+	local X
 	for X in flac md5sum shntool metaflac; do
 		einfo "setting \$${X}_cmd to $(type -p ${X})"
-		sed -i -e "s|^\(\$${X}_cmd\s*=\s*'\)[^']*\('.*\)|\1$(type -p ${X})\2|g" shnflac*
+		sed -i -e "s|^\(\$${X}_cmd\s*=\s*'\)[^']*\('.*\)|\1$(type -p ${X})\2|g" shnflac* || die
 	done
 }
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/shnflacverify/
@ 2021-01-09 10:36 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-01-09 10:36 UTC (permalink / raw
  To: gentoo-commits

commit:     1971dff1480990b7af7e9d5394d6b6151977ad7e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  9 10:00:36 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=1971dff1

media-sound/shnflacverify: MissingUnpackerDep, eutils -> edos2unix

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

 media-sound/shnflacverify/shnflacverify-0.3.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/media-sound/shnflacverify/shnflacverify-0.3.ebuild b/media-sound/shnflacverify/shnflacverify-0.3.ebuild
index 7f5b5eb1bf0..c87293cfecf 100644
--- a/media-sound/shnflacverify/shnflacverify-0.3.ebuild
+++ b/media-sound/shnflacverify/shnflacverify-0.3.ebuild
@@ -1,26 +1,26 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit eutils
+inherit edos2unix
 
 DESCRIPTION="Manage the verification of checksums related to Shorten and FLAC files"
 HOMEPAGE="https://sourceforge.net/projects/shnflacverify/"
 SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.zip"
+S="${WORKDIR}"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+BDEPEND="app-arch/unzip"
 RDEPEND="
-	app-arch/unzip
 	dev-lang/perl
 	media-libs/flac
 	media-sound/shntool
-	sys-apps/coreutils"
-
-S="${WORKDIR}"
+	sys-apps/coreutils
+"
 
 src_prepare() {
 	default


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-09 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-12 16:03 [gentoo-commits] repo/gentoo:master commit in: media-sound/shnflacverify/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2021-01-09 10:36 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox