[MacPorts] #61530: dblatex @0.3.11₁ can be built with Python 3
MacPorts
noreply at macports.org
Tue Nov 17 16:45:51 UTC 2020
#61530: dblatex @0.3.11₁ can be built with Python 3
-----------------------+---------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: bigsur | Port: dblatex
-----------------------+---------------------
Because I would like to live in Big Sur (and outside) without an extra
version of Python 2.7 I translated the `dblatex` Python 2 files to Python
3 files – mostly by means of `2to3`. One exception is
`lib/dbtexmf/core/dbtex.py` which uses quite often the `file()` function
which I had to translate manually to `open()`. Since I am not a Python
programmer I presume that the internet is right here.
By means of a cumulative patch file of diffs from 2to3 it worked to build
with Python 3.8. Since I do not know how to 'make test' in Python I am
leaving this to others. And I also have to leave actual test of this
Python 3.8 variant dblatex to others since I have no use case for it. And
also do not know how to create one or better two.
--
Ticket URL: <https://trac.macports.org/ticket/61530>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list