New version is available[1]: Properly reject postings with a comment right after the flag (bug #1753) Make sorting order of lot information deterministic (bug #1747) Fix bug in tag value parsing (bug #1702) Remove the org command, which was always a hack to begin with (bug #1706) Provide Docker information in README Various small documentation improvements [1]: https://github.com/ledger/ledger/releases/tag/v3.1.3
3.2.0 out today https://github.com/ledger/ledger/releases/tag/v3.2.0 Most notably, Python 3 support. We should probably drop all previous Ledger versions in order to complete Python 2.7 removal.
So the version does build with Python 3, but I cannot figure out how to specify Python version. I have Python 3.8 but only the interpreter, so Boost and others doesn't support it. Ledger detects Python 3.8 during build and then fails to find Boost Python support for 3.8.
Created attachment 635966 [details] ledger 3.2.0 with python3 support
ledger sources contain its own cmake modules for finding python, they don't work for some reason. Removing these modules and applying suggestions from #692316 for utfcpp fix the problem.
Created attachment 636674 [details] ledger 3.2.0 ebuild with python3 support
Created attachment 636724 [details] ledger-3.2.0 with python 3 support and bash completion Added bash-completion support, removed "+" before python use flag that was added to previous ebuild by mistake.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4273258658eda38bae5be3258bcf0ff44ac2f96e commit 4273258658eda38bae5be3258bcf0ff44ac2f96e Author: Gleb Nemshilov <gleb@fastmail.com> AuthorDate: 2020-05-07 15:00:02 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-05-24 20:28:14 +0000 app-office/ledger: add 3.2.0 with py3.7, py3.8 support Add Python 3.7 & 3.8 support Use external utf8cpp library Add bash-completion support Remove "emacs" USE flag Closes: https://bugs.gentoo.org/689132 Bug: https://bugs.gentoo.org/721478 Closes: https://bugs.gentoo.org/692316 Signed-off-by: Gleb Nemshilov <gleb@fastmail.com> Package-Manager: Portage-2.3.99, Repoman-2.3.22 Closes: https://github.com/gentoo/gentoo/pull/15680 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-office/ledger/Manifest | 1 + app-office/ledger/ledger-3.2.0.ebuild | 115 ++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+)