[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2024-06-24 Thread Sam James
commit: a1981514ad4f0019c557be44c5464e9ee2702f2b
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 25 04:48:19 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 25 04:48:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1981514

dev-perl/Audio-Mixer: Stabilize 0.700.0-r5 sparc, #934836

Signed-off-by: Sam James  gentoo.org>

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
index 6f779b590752..1c34c9b55c47 100644
--- a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Perl extension for Sound Mixer control"
 # https://rt.cpan.org/Ticket/Display.html?id=132448
 LICENSE="GPL-1"
 SLOT="0"
-KEYWORDS="amd64 ~ia64 ~ppc ~sparc x86"
+KEYWORDS="amd64 ~ia64 ~ppc sparc x86"
 
 PATCHES=(
"${FILESDIR}/${P}-volumepl.patch"



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2024-06-24 Thread Sam James
commit: 780fd26a93915790c26493f5fcacb5e246fe08ed
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 25 04:44:08 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 25 04:44:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=780fd26a

dev-perl/Audio-Mixer: Stabilize 0.700.0-r5 amd64, #934836

Signed-off-by: Sam James  gentoo.org>

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
index 377cf46de265..6f779b590752 100644
--- a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Perl extension for Sound Mixer control"
 # https://rt.cpan.org/Ticket/Display.html?id=132448
 LICENSE="GPL-1"
 SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~sparc x86"
+KEYWORDS="amd64 ~ia64 ~ppc ~sparc x86"
 
 PATCHES=(
"${FILESDIR}/${P}-volumepl.patch"



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2024-06-24 Thread Sam James
commit: 7168fe30aa5f283f0afff067611ef3f0f1fc2e9a
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 25 03:56:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 25 03:56:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7168fe30

dev-perl/Audio-Mixer: Stabilize 0.700.0-r5 x86, #934836

Signed-off-by: Sam James  gentoo.org>

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
index d13e204020fb..377cf46de265 100644
--- a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Perl extension for Sound Mixer control"
 # https://rt.cpan.org/Ticket/Display.html?id=132448
 LICENSE="GPL-1"
 SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc x86"
 
 PATCHES=(
"${FILESDIR}/${P}-volumepl.patch"



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2024-05-21 Thread Sam James
commit: e34e25bfa6c627258c0e03c1fbb99504ab6e0694
Author: Sam James  gentoo  org>
AuthorDate: Wed May 22 02:55:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 22 02:55:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e34e25bf

dev-perl/Audio-Mixer: fix VariableOrder

Signed-off-by: Sam James  gentoo.org>

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
index dfb9836ac4e0..d13e204020fb 100644
--- a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
@@ -10,10 +10,10 @@ inherit perl-module
 
 DESCRIPTION="Perl extension for Sound Mixer control"
 
-SLOT="0"
 # License note: Ambiguous
 # https://rt.cpan.org/Ticket/Display.html?id=132448
 LICENSE="GPL-1"
+SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2024-05-21 Thread Sam James
commit: dccb0fa73e044efa3287958817e39dbc64c7f991
Author: Sam James  gentoo  org>
AuthorDate: Wed May 22 02:44:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 22 02:45:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dccb0fa7

dev-perl/Audio-Mixer: EAPI 8, rely on eclass impls

This covers more variables/args, etc.

Signed-off-by: Sam James  gentoo.org>

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild | 52 ++
 1 file changed, 52 insertions(+)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
new file mode 100644
index ..dfb9836ac4e0
--- /dev/null
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=SERGEY
+DIST_VERSION=0.7
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="Perl extension for Sound Mixer control"
+
+SLOT="0"
+# License note: Ambiguous
+# https://rt.cpan.org/Ticket/Display.html?id=132448
+LICENSE="GPL-1"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+PATCHES=(
+   "${FILESDIR}/${P}-volumepl.patch"
+   "${FILESDIR}/${P}-clang.patch"
+   "${FILESDIR}/${P}-testsuite.patch"
+)
+
+src_test() {
+   local MODULES=(
+   "Audio::Mixer ${DIST_VERSION}"
+   )
+   local failed=()
+   for dep in "${MODULES[@]}"; do
+   ebegin "Compile testing ${dep}"
+   perl -Mblib="${S}" -M"${dep} ()" -e1
+   eend $? || failed+=( "$dep" )
+   done
+   if [[ ${failed[@]} ]]; then
+   echo
+   eerror "One or more modules failed compile:";
+   for dep in "${failed[@]}"; do
+   eerror "  ${dep}"
+   done
+   die "Failing due to module compilation errors";
+   fi
+   if [[ "${AUDIO_MIXER_HW_TEST:-0}" == 0 ]]; then
+   ewarn "Comprehensive testing of this module needs hardware 
access to mixing"
+   ewarn "devices. Set AUDIO_MIXER_HW_TEST=1 in your environment 
if you want full"
+   ewarn "coverage"
+   ewarn "For details, see:"
+   ewarn 
"https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}";
+   else
+   perl-module_src_test
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2020-09-28 Thread Kent Fredric
commit: ccd6373c2e7a1076e551e4c6d5d947356d0a75b4
Author: Kent Fredric  gentoo  org>
AuthorDate: Mon Sep 28 14:08:54 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Mon Sep 28 14:11:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd6373c

dev-perl/Audio-Mixer: Cleanup old 0.700.0-r2

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kent Fredric  gentoo.org>

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild | 50 --
 1 file changed, 50 deletions(-)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
deleted file mode 100644
index 3beb5e073d4..000
--- a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=SERGEY
-DIST_VERSION=0.7
-DIST_EXAMPLES=("eg/*")
-inherit perl-module
-
-DESCRIPTION="Perl extension for Sound Mixer control"
-
-SLOT="0"
-KEYWORDS="amd64 ~ia64 ~ppc sparc x86"
-IUSE=""
-
-PATCHES=(
-   "${FILESDIR}/${P}-volumepl.patch"
-   "${FILESDIR}/${P}-clang.patch"
-   "${FILESDIR}/${P}-testsuite.patch"
-)
-
-src_test() {
-   local MODULES=(
-   "Audio::Mixer ${DIST_VERSION}"
-   )
-   local failed=()
-   for dep in "${MODULES[@]}"; do
-   ebegin "Compile testing ${dep}"
-   perl -Mblib="${S}" -M"${dep} ()" -e1
-   eend $? || failed+=( "$dep" )
-   done
-   if [[ ${failed[@]} ]]; then
-   echo
-   eerror "One or more modules failed compile:";
-   for dep in "${failed[@]}"; do
-   eerror "  ${dep}"
-   done
-   die "Failing due to module compilation errors";
-   fi
-   if [[ "${AUDIO_MIXER_HW_TEST:-0}" == 0 ]]; then
-   ewarn "Comprehensive testing of this module needs hardware 
access to mixing"
-   ewarn "devices. Set AUDIO_MIXER_HW_TEST=1 in your environment 
if you want full"
-   ewarn "coverage"
-   ewarn "For details, see:"
-   ewarn 
"https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Audio-Mixer";
-   else
-   perl-module_src_test
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2020-07-02 Thread Kent Fredric
commit: 03027cd2cd920d89d8caa4ea5f2c7b0d36fe7999
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Jul  2 23:38:28 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Jul  2 23:57:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03027cd2

dev-perl/Audio-Mixer: -r bump for CFLAGS love

- Ensure CFLAGS passed to make/compiler

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r4.ebuild | 59 ++
 1 file changed, 59 insertions(+)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r4.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r4.ebuild
new file mode 100644
index 000..6ea27eecd66
--- /dev/null
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=SERGEY
+DIST_VERSION=0.7
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="Perl extension for Sound Mixer control"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+# License note: Ambiguous
+# https://rt.cpan.org/Ticket/Display.html?id=132448
+LICENSE="GPL-1"
+
+PATCHES=(
+   "${FILESDIR}/${P}-volumepl.patch"
+   "${FILESDIR}/${P}-clang.patch"
+   "${FILESDIR}/${P}-testsuite.patch"
+)
+
+src_compile() {
+   mymake=(
+   "OPTIMIZE=${CFLAGS}"
+   )
+   perl-module_src_compile
+}
+
+src_test() {
+   local MODULES=(
+   "Audio::Mixer ${DIST_VERSION}"
+   )
+   local failed=()
+   for dep in "${MODULES[@]}"; do
+   ebegin "Compile testing ${dep}"
+   perl -Mblib="${S}" -M"${dep} ()" -e1
+   eend $? || failed+=( "$dep" )
+   done
+   if [[ ${failed[@]} ]]; then
+   echo
+   eerror "One or more modules failed compile:";
+   for dep in "${failed[@]}"; do
+   eerror "  ${dep}"
+   done
+   die "Failing due to module compilation errors";
+   fi
+   if [[ "${AUDIO_MIXER_HW_TEST:-0}" == 0 ]]; then
+   ewarn "Comprehensive testing of this module needs hardware 
access to mixing"
+   ewarn "devices. Set AUDIO_MIXER_HW_TEST=1 in your environment 
if you want full"
+   ewarn "coverage"
+   ewarn "For details, see:"
+   ewarn 
"https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}";
+   else
+   perl-module_src_test
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2020-04-29 Thread Kent Fredric
commit: b4ab3ff478eda3feb0eccb30715dae922ab32d9e
Author: Kent Fredric  gentoo  org>
AuthorDate: Wed Apr 29 10:57:39 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Wed Apr 29 10:58:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ab3ff4

dev-perl/Audio-Mixer: -r bump for EAPI7

- EAPI7
- Correct license
- Use ${CAT}/${PN} substitution in wiki link
- Remove empty variable assignments

Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r3.ebuild | 52 ++
 1 file changed, 52 insertions(+)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r3.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r3.ebuild
new file mode 100644
index 000..8d500a018fa
--- /dev/null
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=SERGEY
+DIST_VERSION=0.7
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="Perl extension for Sound Mixer control"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+# License note: Ambiguous
+# https://rt.cpan.org/Ticket/Display.html?id=132448
+LICENSE="GPL-1"
+
+PATCHES=(
+   "${FILESDIR}/${P}-volumepl.patch"
+   "${FILESDIR}/${P}-clang.patch"
+   "${FILESDIR}/${P}-testsuite.patch"
+)
+
+src_test() {
+   local MODULES=(
+   "Audio::Mixer ${DIST_VERSION}"
+   )
+   local failed=()
+   for dep in "${MODULES[@]}"; do
+   ebegin "Compile testing ${dep}"
+   perl -Mblib="${S}" -M"${dep} ()" -e1
+   eend $? || failed+=( "$dep" )
+   done
+   if [[ ${failed[@]} ]]; then
+   echo
+   eerror "One or more modules failed compile:";
+   for dep in "${failed[@]}"; do
+   eerror "  ${dep}"
+   done
+   die "Failing due to module compilation errors";
+   fi
+   if [[ "${AUDIO_MIXER_HW_TEST:-0}" == 0 ]]; then
+   ewarn "Comprehensive testing of this module needs hardware 
access to mixing"
+   ewarn "devices. Set AUDIO_MIXER_HW_TEST=1 in your environment 
if you want full"
+   ewarn "coverage"
+   ewarn "For details, see:"
+   ewarn 
"https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}";
+   else
+   perl-module_src_test
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2018-04-07 Thread Sergei Trofimovich
commit: 5ed5a7fb32750c4b03085df92fe5583f11d84b00
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Apr  7 21:14:30 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr  7 21:17:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ed5a7fb

dev-perl/Audio-Mixer: stable 0.700.0-r2 for ia64, bug #652372

Package-Manager: Portage-2.3.28, Repoman-2.3.9
RepoMan-Options: --include-arches="ia64"

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
index 3beb5e073d4..e5123ceb9e5 100644
--- a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="Perl extension for Sound Mixer control"
 
 SLOT="0"
-KEYWORDS="amd64 ~ia64 ~ppc sparc x86"
+KEYWORDS="amd64 ia64 ~ppc sparc x86"
 IUSE=""
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2018-04-04 Thread Sergei Trofimovich
commit: 5bc68fd986e1b32923c0671df2d77d8fe39a0ad8
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Apr  4 17:44:20 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Apr  4 22:25:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bc68fd9

dev-perl/Audio-Mixer: stable 0.700.0-r2 for sparc

Bug: https://bugs.gentoo.org/652372
Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
index 462196e1c1a..715a0cf26f0 100644
--- a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="Perl extension for Sound Mixer control"
 
 SLOT="0"
-KEYWORDS="amd64 ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="amd64 ~ia64 ~ppc sparc ~x86"
 IUSE=""
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/

2018-04-04 Thread Aaron Bauman
commit: 9c91d74dfe1603062f70567201fec3e829be4dd3
Author: Aaron Bauman  gentoo  org>
AuthorDate: Wed Apr  4 14:06:56 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Apr  4 14:24:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c91d74d

dev-perl/Audio-Mixer: amd64 stable

Bug: https://bugs.gentoo.org/652372
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
index 9325b9aecf0..462196e1c1a 100644
--- a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="Perl extension for Sound Mixer control"
 
 SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="amd64 ~ia64 ~ppc ~sparc ~x86"
 IUSE=""
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-Mixer/, dev-perl/Audio-Mixer/files/

2017-10-12 Thread Kent Fredric
commit: 1ff2833374b810c7ed5c50e17208c1033136f243
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct 12 20:13:58 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct 12 21:14:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff28333

dev-perl/Audio-Mixer: Fixup testing and cruft files

- EAPI6
- Don't install volume.pl to @INC
- Add USE=examples
- Add some basic tests without needing the soundcard
- Properly fence and advertise tests
- Replace upstreams tests with better ones that fail when things break.
- Apply clang patch

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild |  50 +
 .../files/Audio-Mixer-0.700.0-clang.patch  |  27 +
 .../files/Audio-Mixer-0.700.0-testsuite.patch  | 124 +
 .../files/Audio-Mixer-0.700.0-volumepl.patch   |  33 ++
 4 files changed, 234 insertions(+)

diff --git a/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild 
b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
new file mode 100644
index 000..9325b9aecf0
--- /dev/null
+++ b/dev-perl/Audio-Mixer/Audio-Mixer-0.700.0-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=SERGEY
+DIST_VERSION=0.7
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="Perl extension for Sound Mixer control"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+PATCHES=(
+   "${FILESDIR}/${P}-volumepl.patch"
+   "${FILESDIR}/${P}-clang.patch"
+   "${FILESDIR}/${P}-testsuite.patch"
+)
+
+src_test() {
+   local MODULES=(
+   "Audio::Mixer ${DIST_VERSION}"
+   )
+   local failed=()
+   for dep in "${MODULES[@]}"; do
+   ebegin "Compile testing ${dep}"
+   perl -Mblib="${S}" -M"${dep} ()" -e1
+   eend $? || failed+=( "$dep" )
+   done
+   if [[ ${failed[@]} ]]; then
+   echo
+   eerror "One or more modules failed compile:";
+   for dep in "${failed[@]}"; do
+   eerror "  ${dep}"
+   done
+   die "Failing due to module compilation errors";
+   fi
+   if [[ "${AUDIO_MIXER_HW_TEST:-0}" == 0 ]]; then
+   ewarn "Comprehensive testing of this module needs hardware 
access to mixing"
+   ewarn "devices. Set AUDIO_MIXER_HW_TEST=1 in your environment 
if you want full"
+   ewarn "coverage"
+   ewarn "For details, see:"
+   ewarn 
"https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Audio-Mixer";
+   else
+   perl-module_src_test
+   fi
+}

diff --git a/dev-perl/Audio-Mixer/files/Audio-Mixer-0.700.0-clang.patch 
b/dev-perl/Audio-Mixer/files/Audio-Mixer-0.700.0-clang.patch
new file mode 100644
index 000..b7beac56f9a
--- /dev/null
+++ b/dev-perl/Audio-Mixer/files/Audio-Mixer-0.700.0-clang.patch
@@ -0,0 +1,27 @@
+From 6390829e5e60019b464d1fe83fb448ea54604170 Mon Sep 17 00:00:00 2001
+From: gregor herrmann 
+Date: Wed, 26 Mar 2014 05:44:25 +1300
+Subject: Fix building with clang
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=94186
+Bug: https://bugs.debian.org/742537
+---
+ Mix.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Mix.c b/Mix.c
+index 108153e..8b4284b 100644
+--- a/Mix.c
 b/Mix.c
+@@ -78,7 +78,7 @@ close_mixer() {
+ #ifdef DEBUG
+   fprintf(stderr, "close_mixer()\n");
+ #endif
+-  if (mixer_fd < 0) return;
++  if (mixer_fd < 0) return(0);
+   close(mixer_fd);
+   init_flag = 0;
+   mixer_fd = -1;
+-- 
+2.14.2
+

diff --git a/dev-perl/Audio-Mixer/files/Audio-Mixer-0.700.0-testsuite.patch 
b/dev-perl/Audio-Mixer/files/Audio-Mixer-0.700.0-testsuite.patch
new file mode 100644
index 000..c984c7190fc
--- /dev/null
+++ b/dev-perl/Audio-Mixer/files/Audio-Mixer-0.700.0-testsuite.patch
@@ -0,0 +1,124 @@
+From a3117d0b6a9e79f11e69362c42205bc548f6c754 Mon Sep 17 00:00:00 2001
+From: Kent Fredric 
+Date: Fri, 13 Oct 2017 09:43:01 +1300
+Subject: Rework test suite to be useful
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=31547
+---
+ MANIFEST  |  2 +-
+ t/basic.t | 23 +++
+ test.pl   | 60 
+ 3 files changed, 24 insertions(+), 61 deletions(-)
+ create mode 100644 t/basic.t
+ delete mode 100644 test.pl
+
+diff --git a/MANIFEST b/MANIFEST
+index d15c4ab..b713e9a 100644
+--- a/MANIFEST
 b/MANIFEST
+@@ -5,6 +5,6 @@ Mix.c
+ Mix.h
+ Mixer.pm
+ Mixer.xs
+-test.pl
++t/basic.t
+ eg/volume.pl
+ README
+diff --git a/t/basic.t b/t/basic.t
+new file mode 100644
+index 000..53448d2
+--- /dev/null
 b/t/basic.t
+@@ -0,0 +1,23 @@
++use strict;
++use warnings;
++
++use Test::More tests => 7;
++
++require_ok("Audio::Mixer");
++
++is( Audio::Mixer::init_mixer(), 0, "Initialize Mixer" );
++