From nobody Sat May 06 09:01:45 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QD1ky2JWRz49JdB; Sat, 6 May 2023 09:01:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QD1ky0KjZz3lsy; Sat, 6 May 2023 09:01:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683363706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DePktuW4GgxNSZbxEC4usSqOr+jn5nv6teqX2pjtCwM=; b=lSQjldcDGcLI77HA3bDzcRg2VpZNtOBkEOfvVNCO2z/4IdWWrk45gpfcapKmZda8CdusRP pBTYtR7cCLsOHPfqpJjHaq+NvtewvS+14Egbu8U8syYJ2D6zKeSsmWjrXN/j+40BDR/eVB ySu/tb0JtGNBteUB58yMa3P2ulN5ooSwHJEhiWEUMDM3frihbDn58vq7y4OCHPQ+Nougod 6dNOxB6xwQ21vrMqa/7e9sJrJpc6FYwzRjqZOEuzbjKeWa5biNlDPZznya7SURYl0VobCd NWsDGihMszcFB9micHVkxLmnGAICHmNVYN7+J1wV9ZQ7SfNWEg6zPrRHBu2/PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683363706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DePktuW4GgxNSZbxEC4usSqOr+jn5nv6teqX2pjtCwM=; b=N/U6tI8970SagXrz/YH3C9ePWOj5NRLM8HGaT2GEL3tt1jofNzhWqb5hP7D2MwJqFXjf6P CAPIefFId6MZQ0BR1VCqVW2EEiMZTcwwGx3Z0krYjU8uv1BXb8Kv3dR1eyuVNtrLmcmTcH ZtNNT1dlMuJqK+YbveENHrZgyNxGzxHOZoe0MRy7WLGPAryg/2gi8WlZRso32sXeB63oEy 4dBERA/PVB2jykRDbxp5L7u9Pku2mXXNEDBSmLdq4QVF/GYLDQBCaIzqHM4nDYSr3LoLWO tzHbLFi0rMkg1flI5XmJSLxJ8VY788Lmo0/GUefdIvyPAv5DK95oIk1HnsePKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683363706; a=rsa-sha256; cv=none; b=YivSdBlL8zflAUmnJJQ6TbKop7v13STlH7SaF314XjYLt/Fst1HfV/yrHjJukYNimEFOTQ vLwUUfBKiEarhKDQMTKoiV343MO2IcijR+jNT3XXCt5c9qCEqaf3gsCq9ccc/8crGQcHXg 4Vfh38MwyI1ONhy5w9OfkCwOlMhQj/p8q55Dxpabx55bbTtlLYt2JPlKlnIeqrtZHK/NK6 BkCK/hQjWVkLGnnS3yQjP4o93R3Y2D1DW/ivEzZNXj9mTByBcKgJXWx+HrZ0hwQ0gjirM8 w/n0+87xwmlV+aGNYwiPLsOMNCiCksqIGcURZ0K4ahJmaxVBVw3Bdw/jbO8kDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QD1kx53SWzW2R; Sat, 6 May 2023 09:01:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34691juE059890; Sat, 6 May 2023 09:01:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34691jof059889; Sat, 6 May 2023 09:01:45 GMT (envelope-from git) Date: Sat, 6 May 2023 09:01:45 GMT Message-Id: <202305060901.34691jof059889@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 45c4a99d6feb - main - graphics/py-colorthief: New port: Module for grabbing the color palette from an image List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 45c4a99d6feb9016f74e565749619132e0a84799 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=45c4a99d6feb9016f74e565749619132e0a84799 commit 45c4a99d6feb9016f74e565749619132e0a84799 Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2023-05-01 12:39:09 +0000 Commit: Robert Clausecker CommitDate: 2023-05-06 08:58:37 +0000 graphics/py-colorthief: New port: Module for grabbing the color palette from an image colorthief is a minimalistic python module that can be used without adding overhead or many dependencies to your script for grabbing the dominant color or a representative color palette of an image using Pillow. WWW: https://github.com/fengsp/color-thief-py/ PR: 266118 --- graphics/Makefile | 1 + graphics/py-colorthief/Makefile | 19 +++++++++++++++++++ graphics/py-colorthief/distinfo | 3 +++ graphics/py-colorthief/pkg-descr | 4 ++++ 4 files changed, 27 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 1c9d125b2e1b..c1b9c6a412cc 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -852,6 +852,7 @@ SUBDIR += py-cartopy SUBDIR += py-cogdumper SUBDIR += py-colorcet + SUBDIR += py-colorthief SUBDIR += py-colour SUBDIR += py-descartes SUBDIR += py-django-easy-thumbnails diff --git a/graphics/py-colorthief/Makefile b/graphics/py-colorthief/Makefile new file mode 100644 index 000000000000..e176b4599920 --- /dev/null +++ b/graphics/py-colorthief/Makefile @@ -0,0 +1,19 @@ +PORTNAME= colorthief +DISTVERSION= 0.2.1 +CATEGORIES= graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= DtxdF@disroot.org +COMMENT= Module for grabbing the color palette from an image +WWW= https://github.com/fengsp/color-thief-py/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +.include diff --git a/graphics/py-colorthief/distinfo b/graphics/py-colorthief/distinfo new file mode 100644 index 000000000000..f13bdae8ca38 --- /dev/null +++ b/graphics/py-colorthief/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661850976 +SHA256 (colorthief-0.2.1.tar.gz) = 079cb0c95bdd669c4643e2f7494de13b0b6029d5cdbe2d74d5d3c3386bd57221 +SIZE (colorthief-0.2.1.tar.gz) = 6164 diff --git a/graphics/py-colorthief/pkg-descr b/graphics/py-colorthief/pkg-descr new file mode 100644 index 000000000000..0a7554a56270 --- /dev/null +++ b/graphics/py-colorthief/pkg-descr @@ -0,0 +1,4 @@ +colorthief is a minimalistic python module that can be used without +adding overhead or many dependencies to your script for grabbing +the dominant color or a representative color palette of an image +using Pillow.