On 04.02.2021 03:00, Marco Atzeri wrote:
On 04.02.2021 00:30, Yaakov Selkowitz via Cygwin-apps wrote:
On Wed, 2021-02-03 at 16:49 -0500, Ken Brown via Cygwin-apps wrote:
dblatex (still shown as maintained by Yaakov) is currently broken because it
was built for python2 but its shebang points to python.

I could do a quick non-maintainer upload to fix the shebang, but maybe
someone wants to adopt it and rebuild it for python3.

Please note that the version currently in Cygwin is not Py3 compatible; the
latest upstream version should be though.


let me try to build upstream version

Regards
Marco

question:
as dblatex3-0.3.12 does not produce anything in
/usr/bin

but I assume we need one as current

/usr/bin/dblatex
-------------------------------
#!/usr/bin/env python
import sys
import os

package_base = r"/usr/share/dblatex"

from dbtexmf.dblatex import dblatex
dblatex.main(base=package_base)
--------------------------------

Fedora 3.11 seems to have one and Debian has

----------------------------------
#! /usr/bin/python3

# Register the Debian error analyser
from dbtexmf.core import error
from dbtexmf.contrib.debian.errorhandler import DebianHandler
error.set_errhandler(DebianHandler())

from dbtexmf.dblatex import dblatex
dblatex.main('/usr/share/dblatex')
------------------------------------

that seems a simplified version after removing the
error handler

Regards
Marco


Reply via email to