Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 752075

Summary: dev-python/rich - "Library for rich text formatting in the terminal" (New package)
Product: Gentoo Linux Reporter: Nick <nickAristocrates>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, nickAristocrates
Priority: Normal Keywords: EBUILD, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18100
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 717088    

Description Nick 2020-11-01 06:05:49 UTC
https://github.com/willmcgugan/rich

"Rich is a Python library for rich text and beautiful formatting in the terminal."

Required to bump app-admin/ansible-lint to 4.3.6 (https://bugs.gentoo.org/717088)

I have an ebuild working for me in my local overlay, tests passing with +test, the following code:

    from rich import print

    print("Hello, [bold magenta]World[/bold magenta]!", ":vampire:", locals())

gives me the expected output as per https://pypi.org/project/rich/. I plan to submit a PR to add this + bump ansible-lint shortly.

Reproducible: Always
Comment 1 Nick 2020-11-01 06:08:44 UTC
Note that nest overlay has an ebuild for an older version https://github.com/gentoo-mirror/nest/blob/master/dev-python/rich/rich-6.0.0.ebuild
Comment 2 Jonas Stein gentoo-dev 2020-11-01 14:56:34 UTC
see also https://repology.org/project/python:rich/versions