FreeBSD Bugzilla – Attachment 236247 Details for
Bug 266117
[NEW PORT] graphics/py-colorz: Color scheme generator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
graphics-py-colorz.1.0.3.patch
0002-graphics-py-colorz-new-port.patch (text/plain), 3.81 KB, created by
Jesús Daniel Colmenares Oviedo
on 2022-08-31 04:12:50 UTC
(
hide
)
Description:
graphics-py-colorz.1.0.3.patch
Filename:
MIME Type:
Creator:
Jesús Daniel Colmenares Oviedo
Created:
2022-08-31 04:12:50 UTC
Size:
3.81 KB
patch
obsolete
>From 7a385e20eca1e3505f00def8db247cc6d4089682 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= > <DtxdF@disroot.org> >Date: Tue, 30 Aug 2022 21:59:03 -0400 >Subject: [PATCH] graphics/py-colorz: new port > >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 >--- > graphics/py-colorz/Makefile | 19 +++++++++++++++++++ > graphics/py-colorz/distinfo | 3 +++ > graphics/py-colorz/files/LICENSE | 22 ++++++++++++++++++++++ > graphics/py-colorz/pkg-descr | 7 +++++++ > 4 files changed, 51 insertions(+) > create mode 100644 graphics/py-colorz/Makefile > create mode 100644 graphics/py-colorz/distinfo > create mode 100644 graphics/py-colorz/files/LICENSE > create mode 100644 graphics/py-colorz/pkg-descr > >diff --git a/graphics/py-colorz/Makefile b/graphics/py-colorz/Makefile >new file mode 100644 >index 000000000..9a99fe7c1 >--- /dev/null >+++ b/graphics/py-colorz/Makefile >@@ -0,0 +1,19 @@ >+PORTNAME= colorz >+PORTVERSION= 1.0.3 >+CATEGORIES= graphics python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= DtxdF@disroot.org >+COMMENT= Color scheme generator >+ >+LICENSE= MIT >+LICENSE_FILE= ${FILESDIR}/LICENSE >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} >+ >+USES= python >+USE_PYTHON= autoplist distutils >+ >+.include <bsd.port.mk> >diff --git a/graphics/py-colorz/distinfo b/graphics/py-colorz/distinfo >new file mode 100644 >index 000000000..3bca4211c >--- /dev/null >+++ b/graphics/py-colorz/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1661849528 >+SHA256 (colorz-1.0.3.tar.gz) = c04ff63896281f2ee1327bcdff2e76a339f70559abd8a25d28c0d1fb28480d3e >+SIZE (colorz-1.0.3.tar.gz) = 5109 >diff --git a/graphics/py-colorz/files/LICENSE b/graphics/py-colorz/files/LICENSE >new file mode 100644 >index 000000000..c6c38d079 >--- /dev/null >+++ b/graphics/py-colorz/files/LICENSE >@@ -0,0 +1,22 @@ >+The MIT License (MIT) >+ >+Copyright (c) 2015 Ethan Chan >+ >+Permission is hereby granted, free of charge, to any person obtaining a copy >+of this software and associated documentation files (the "Software"), to deal >+in the Software without restriction, including without limitation the rights >+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell >+copies of the Software, and to permit persons to whom the Software is >+furnished to do so, subject to the following conditions: >+ >+The above copyright notice and this permission notice shall be included in all >+copies or substantial portions of the Software. >+ >+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR >+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, >+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE >+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER >+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, >+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE >+SOFTWARE. >+ >diff --git a/graphics/py-colorz/pkg-descr b/graphics/py-colorz/pkg-descr >new file mode 100644 >index 000000000..6bbd94acf >--- /dev/null >+++ b/graphics/py-colorz/pkg-descr >@@ -0,0 +1,7 @@ >+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 >-- >2.37.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266117
:
236247
|
240444
|
241849
|
241905