Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685374 - dev-python/black: Python code formatter (new package)
Summary: dev-python/black: Python code formatter (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/python/black
Whiteboard:
Keywords: EBUILD, PullRequest
Depends on:
Blocks:
 
Reported: 2019-05-08 18:17 UTC by ron widler
Modified: 2021-06-05 13:05 UTC (History)
4 users (show)

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


Attachments
ebuild for Black (black-19.3_beta0.ebuild,1.08 KB, text/plain)
2019-05-08 18:17 UTC, ron widler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ron widler 2019-05-08 18:17:26 UTC
Created attachment 575542 [details]
ebuild for Black

Black is a python code formatter, https://github.com/python/black

It's supported by the python people themselves and a very handy tool to have when developing python.

Needs python 3.6 or greater, i have successfully built and tested it on both python 3.6 and 3.7.

"test" fails on pypy3 so i removed it from PYTHON_COMPAT.
Comment 2 Michael Egger 2019-08-09 12:53:22 UTC
You might want to add >=dev-python/aiohttp-3.4[${PYTHON_USEDEP}] as optional dependency behind a USE flag.

+1 for this package, I'm happy to maintain this package if I'm eligible to do so.
Comment 3 Michael 'veremitz' Everitt 2019-08-09 21:16:36 UTC
I'd taken a shot at this too.

Anyone wanna raise a Pull-Request? (ncluding yourself as maintainer, and proxy-maintainers as project)
Comment 4 Michael 'veremitz' Everitt 2019-11-02 23:00:51 UTC
Any update on this? @jstein are you still in P-M project?
Comment 5 Arnaud Vallette d'Osia 2020-01-24 20:46:25 UTC
+1 for this package
Comment 6 Arnaud Vallette d'Osia 2020-04-28 10:03:39 UTC
went in guru overlay:
https://github.com/gentoo/gentoo/pull/12753

also attached ebuild should depend on dev-python/wheel
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-06-05 13:05:16 UTC
In ::gentoo for some time already.