1
0

dev-python/colorthief: new package, add 0.2.1, 9999

Dependency for Komikku.
The GURU package is unmaintained, so I'll maintain it here for now.
This commit is contained in:
Ryan Fox 2023-12-14 15:38:29 -08:00
parent 7b4e962758
commit 4d9b6ca470
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST colorthief-0.2.1.gh.tar.gz 6260 BLAKE2B 63fd49028fe023e105cafcb9b58e696197e924a59c9fc1a857ddb25967a549f8fa848cd54dc09bb08d0a54093dba4ede6cfd77b8c6606be480e89315123ebbb6 SHA512 406c2eaf5e405ff7878444908161ca47628aef592c8e7c473a606f0eeb87957cf3ba6c146f7ba66a6fcd39cf6cd716ff7544be3832bbe0060b7abe8970b0c2d2

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fengsp/color-thief-py.git"
else
SRC_URI="https://github.com/fengsp/color-thief-py/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
MY_PN="color-thief-py"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64"
fi
DESCRIPTION="A module for grabbing the color palette from an image."
HOMEPAGE="https://lokeshdhakar.com/projects/color-thief/"
LICENSE="BSD"
SLOT="0"
RESTRICT="test"
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]
"
BDEPEND=""

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fengsp/color-thief-py.git"
else
SRC_URI="https://github.com/fengsp/color-thief-py/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
MY_PN="color-thief-py"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64"
fi
DESCRIPTION="A module for grabbing the color palette from an image."
HOMEPAGE="https://lokeshdhakar.com/projects/color-thief/"
LICENSE="BSD"
SLOT="0"
RESTRICT="test"
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]
"
BDEPEND=""

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="pypi">colorthief</remote-id>
<remote-id type="github">fengsp/color-thief-py</remote-id>
</upstream>
</pkgmetadata>