Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Device-SerialPort/
Date: Sat, 02 Jul 2022 23:08:49
Message-Id: 1656803317.fda4e5bae2e106ffc3ce06fb482fb61a2dbc28aa.sam@gentoo
1 commit: fda4e5bae2e106ffc3ce06fb482fb61a2dbc28aa
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 23:08:37 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 23:08:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fda4e5ba
7
8 dev-perl/Device-SerialPort: fix DIST_TEST (cosmetic)
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild | 6 ++++--
13 1 file changed, 4 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild b/dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild
16 index b877493dcfb5..4e58fdbd37a3 100644
17 --- a/dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild
18 +++ b/dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=7
25 @@ -17,19 +17,21 @@ KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc sparc x86"
26 #From the module:
27 # If you run 'make test', you must make sure that nothing is plugged
28 # into '/dev/ttyS1'!
29 -# Doesn't sound wise to enable SRC_TEST="do" - mcummings
30 +# Doesn't sound wise to enable DIST_TEST="do" - mcummings
31
32 src_configure() {
33 myconf=()
34 [[ -n "${DEVICE_SERIALPORT_PORT}" ]] && myconf+=( "TESTPORT=${DEVICE_SERIALPORT_PORT}" )
35 perl-module_src_configure
36 }
37 +
38 src_compile() {
39 mymake=(
40 "OPTIMIZE=${CFLAGS}"
41 )
42 perl-module_src_compile
43 }
44 +
45 src_test() {
46 local MODULES=(
47 "Device::SerialPort ${DIST_VERSION}"