Created attachment 236247 [details] graphics-py-colorz.1.0.3.patch A color scheme generator. Takes an image (local or online) and grabs the most dominant colors using kmeans. Also creates bold colors by adding value to the dominant colors. Finally, outputs the colors to stdout (one normal and one bold per line, space delimited) and generates an HTML preview of the color scheme. WWW: https://github.com/metakirby5/colorz portlint: looks fine. poudriere: testport is ok.
Created attachment 240444 [details] py-colorz-1.0.3.patch Description: * Move WWW from pkg-descr to Makefile * Change MASTER_SITES from CHEESESHOP to PYPI * pet portclippy/portfmt QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 13.1-RELEASE, amd64)
Created attachment 241849 [details] py-colorz-1.0.3.patch Description: * Change PORTVERSION to DISTVERSION QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 13.1-RELEASE, amd64)
Having a license file in FILESDIR is unusual. If upstream does not ship a license file but the license is known, just set LICENSE but omit LICENSE_FILE. Port looks okay otherwise.
Created attachment 241905 [details] py-colorz-1.0.3.patch Description: * Remove LICENSE_FILE QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 13.1-RELEASE, amd64)
I cannot commit this patch because the dependency science/py-scipy currently does not build and I hence cannot test it. Will give it another try next week.
(In reply to Robert Clausecker from comment #5) Don't problem, I will wait. Thanks!
science/py-scipy now builds, will commit with my next batch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee97dc413dcb97db56099af13ba5ce9e74b1d3c3 commit ee97dc413dcb97db56099af13ba5ce9e74b1d3c3 Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2023-05-01 12:46:28 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-05-11 23:23:32 +0000 graphics/py-colorz: New port: Color scheme generator A color scheme generator. Takes an image (local or online) and grabs the most dominant colors using kmeans. Also creates bold colors by adding value to the dominant colors. Finally, outputs the colors to stdout (one normal and one bold per line, space delimited) and generates an HTML preview of the color scheme. WWW: https://github.com/metakirby5/colorz/ PR: 266117 graphics/Makefile | 1 + graphics/py-colorz/Makefile (new) | 21 +++++++++++++++++++++ graphics/py-colorz/distinfo (new) | 3 +++ graphics/py-colorz/pkg-descr (new) | 5 +++++ 4 files changed, 30 insertions(+)
Thank you for your contribution.