dev-python/modern-colorthief: new package, add 0.1.7

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2025-06-05 23:38:23 +09:00
parent c651935c83
commit 2c8137eecf
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST modern-colorthief-0.1.7-crates.tar.xz 7660864 BLAKE2B e9c3970386e3d689d7def0582250e875f6fdd9601be9da2d479af7dea2c12e7879f35787092a8f38e3872961ff6391be9a2a59da86f2e9b394f92249282061af SHA512 9b2b4861e11c31a288fabdfc4c1d069b18fd5782fd19f65f09ff53ae2c7ad83a1f4cd034c3d241c78dbd14c50a2517ad4a6c932f6d5d887ebd9f4d3fd4a837ee
DIST modern_colorthief-0.1.7.tar.gz 472437 BLAKE2B f6e742ed18a09a1830170c8f41534172b18a70f26e52e3406132aa16d06dd2641a5a5d91818eaede094028231fcab794a8365d765cadae17733abcd47c83630d SHA512 6350edbf336632932afc3e054ce5041faa609814c76c3c692e85fed1cbcd551d54913eaec9252fd4ea8d4ab51b87fa3280ec7ae016b9e300dc857cdc1b343bbc

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>pastalian46@gmail.com</email>
<name>Takuya Wakazono</name>
</maintainer>
<upstream>
<remote-id type="github">baseplate-admin/modern_colorthief</remote-id>
<remote-id type="pypi">modern-colorthief</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,38 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=maturin
PYTHON_COMPAT=( python3_{11..13} )
inherit cargo distutils-r1 pypi
DESCRIPTION="Colorthief but with modern codes"
HOMEPAGE="
https://github.com/baseplate-admin/modern_colorthief
https://pypi.org/project/modern-colorthief/
"
if [[ ${PKGBUMPING} != ${PVR} ]]; then
SRC_URI+="
https://github.com/pastalian/distfiles/releases/download/${P}/${P}-crates.tar.xz
"
fi
LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
Apache-2.0-with-LLVM-exceptions BSD-2 BSD MIT Unicode-DFS-2016
|| ( Apache-2.0 CC0-1.0 )
"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/modern_colorthief/modern_colorthief.*.so"
distutils_enable_tests pytest
EPYTEST_IGNORE=(
examples/test_time.py
)