Hi,
the patch is actually not good as buildd will ignore the alternatives.
This should be better : 

- libluajit-5.1-dev,
+ libluajit-5.1-dev [!s390x !alpha !hppa !ia64 !m68k !powerpcspe !sh4 !sparc64] 
| liblua5.1-0-dev

based on the current support of luajit.

F.

On Wed, 14 Mar 2018 11:45:05 +0100, Frédéric Bonnard <fre...@debian.org> wrote:
> Package: src:python-lupa
> Version: 1.6+dfsg-1
> Tags: patch pending
> 
> --
> 
> Dear maintainer,
> 
> I see that python-lupa misses libluajit build dependency on several
> architectures, and that it's supposed to be compatible with lua, so
> wouldn't it make sense to rely on liblua in case the build dependency
> libluajit is not available ?
> Also on ppc64el, the future of the luajit port is unsure (there also a
> FTBFS on ppc64el for python-lupa).. so at some point if ppc64* support
> is dropped from libluajit, we would still have a python-lupa (but working
> this time).
> I tried a simple patch and it builds and run tests fine on ppc64el.
> 
> Regards.
> F.
> diff -Nru python-lupa-1.6+dfsg/debian/control 
> python-lupa-1.6+dfsg/debian/control
> --- python-lupa-1.6+dfsg/debian/control       2018-01-08 21:00:01.000000000 
> +0000
> +++ python-lupa-1.6+dfsg/debian/control       2018-01-08 21:00:01.000000000 
> +0000
> @@ -8,7 +8,7 @@
>   cython3,
>   debhelper (>= 11),
>   dh-python,
> - libluajit-5.1-dev,
> + libluajit-5.1-dev | liblua5.1-0-dev,
>   pkg-config,
>   python3-all,
>   python3-all-dev,
> @@ -26,7 +26,7 @@
>   ${misc:Depends},
>   ${python3:Depends},
>   ${shlibs:Depends},
> -Description: Python wrapper around LuaJIT (Python3 version)
> +Description: Python wrapper around LuaJIT or Lua (Python3 version)
>   Lupa integrates the runtimes of Lua or LuaJIT2 into CPython. It is a partial
>   rewrite of LunaticPython in Cython with some additional features such as 
> proper
>   coroutine support.

Attachment: pgprJaEzT8T78.pgp
Description: PGP signature

Attachment: pgpEShKVF5dDd.pgp
Description: PGP signature

Reply via email to