Bug 266117 - [NEW PORT] graphics/py-colorz: Color scheme generator
Summary: [NEW PORT] graphics/py-colorz: Color scheme generator
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL: https://github.com/metakirby5/colorz
Keywords:
Depends on:
Blocks: 266121 271153
  Show dependency treegraph
 
Reported: 2022-08-31 04:12 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2023-05-11 23:29 UTC (History)
1 user (show)

See Also:


Attachments
graphics-py-colorz.1.0.3.patch (3.81 KB, patch)
2022-08-31 04:12 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
py-colorz-1.0.3.patch (3.83 KB, patch)
2023-02-27 13:01 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
py-colorz-1.0.3.patch (3.83 KB, patch)
2023-04-29 13:00 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff
py-colorz-1.0.3.patch (2.40 KB, patch)
2023-05-01 12:49 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2022-08-31 04:12:50 UTC
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.
Comment 1 Jesús Daniel Colmenares Oviedo 2023-02-27 13:01:54 UTC
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)
Comment 2 Jesús Daniel Colmenares Oviedo 2023-04-29 13:00:13 UTC
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)
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-05-01 11:15:01 UTC
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.
Comment 4 Jesús Daniel Colmenares Oviedo 2023-05-01 12:49:54 UTC
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)
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2023-05-05 11:59:10 UTC
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.
Comment 6 Jesús Daniel Colmenares Oviedo 2023-05-05 12:19:30 UTC
(In reply to Robert Clausecker from comment #5)

Don't problem, I will wait. Thanks!
Comment 7 Robert Clausecker freebsd_committer freebsd_triage 2023-05-11 22:20:21 UTC
science/py-scipy now builds, will commit with my next batch.
Comment 8 commit-hook freebsd_committer freebsd_triage 2023-05-11 23:27:10 UTC
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(+)
Comment 9 Robert Clausecker freebsd_committer freebsd_triage 2023-05-11 23:29:29 UTC
Thank you for your contribution.