Control: tags -1 + patch

On Wed, 8 Jan 2020 at 21:57, Paul Gevers <elb...@debian.org> wrote:
> autopkgtest [07:15:08]: test f2py: [-----------------------
> /tmp/autopkgtest-lxc.jhh9qajz/downtmp/build.odB/src/debian/tests/f2py:
> 24: Syntax error: Unterminated quoted string
> autopkgtest [07:15:08]: test f2py: -----------------------]
>
>
> [...]
>
> autopkgtest [07:16:39]: test capi: [-----------------------
> /tmp/autopkgtest-lxc.jhh9qajz/downtmp/build.odB/src/debian/tests/capi:
> 89: Syntax error: word unexpected (expecting ")")
> autopkgtest [07:16:40]: test capi: -----------------------]

This looks like a typo introduced in a recent commit [1] that dropped
the python3 packages.
The following change works for me:

--- a/debian/tests/capi
+++ b/debian/tests/capi
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -efu

-PYS=$(pyversions -r 2>/dev/null)"
+PYS=$(pyversions -r 2>/dev/null)

 cd "$AUTOPKGTEST_TMP"

--- a/debian/tests/f2py
+++ b/debian/tests/f2py
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -efu

-PYS=$(pyversions -rv 2>/dev/null)"
+PYS=$(pyversions -rv 2>/dev/null)

 cd "$AUTOPKGTEST_TMP"

[1] 
https://salsa.debian.org/python-team/modules/python-numpy/commit/14ff38bbafdf9fe1a9fc508902b2a91c5b109886

Reply via email to