Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689132 - app-office/ledger-3.2.0 version bump
Summary: app-office/ledger-3.2.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 692316 py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2019-07-02 05:28 UTC by Gleb
Modified: 2020-05-24 20:28 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ledger 3.2.0 with python3 support (ledger-3.2.0.ebuild,2.58 KB, text/plain)
2020-05-04 09:45 UTC, Gleb
Details
ledger 3.2.0 ebuild with python3 support (ledger-3.2.0.ebuild,2.56 KB, text/plain)
2020-05-07 09:02 UTC, Gleb
Details
ledger-3.2.0 with python 3 support and bash completion (ledger-3.2.0.ebuild,2.62 KB, text/plain)
2020-05-07 12:53 UTC, Gleb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb 2019-07-02 05:28:11 UTC
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
Comment 1 Leho Kraav (:macmaN @lkraav) 2020-05-01 09:28:57 UTC
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.
Comment 2 Gleb 2020-05-04 09:44:47 UTC
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.
Comment 3 Gleb 2020-05-04 09:45:52 UTC
Created attachment 635966 [details]
ledger 3.2.0 with python3 support
Comment 4 Gleb 2020-05-07 09:02:00 UTC
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.
Comment 5 Gleb 2020-05-07 09:02:40 UTC
Created attachment 636674 [details]
ledger 3.2.0 ebuild with python3 support
Comment 6 Gleb 2020-05-07 12:53:48 UTC
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.
Comment 7 Larry the Git Cow gentoo-dev 2020-05-24 20:28:32 UTC
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(+)