dev-python/blurhash - 1.1.5 (guru)

Search

Install

Install this version:

emerge -a =dev-python/blurhash-1.1.5

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/blurhash-1.1.5

Or alternatively:

emerge --autounmask-write -a =dev-python/blurhash-1.1.5

Package Information

Description:
Pure-Python implementation of the blurhash algorithm
Homepage:
https://pypi.org/project/blurhash/ https://github.com/halcy/blurhash-python
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.1.5 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} pypy3_11 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

DESCRIPTION="Pure-Python implementation of the blurhash algorithm"
HOMEPAGE="
	https://pypi.org/project/blurhash/
	https://github.com/halcy/blurhash-python
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
	test? (
		dev-python/pillow[jpeg,${PYTHON_USEDEP}]
		dev-python/numpy[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( )

distutils_enable_tests pytest

src_prepare() {
	distutils-r1_src_prepare
	rm setup.cfg || die
}

Inherited Eclasses

Dependencies

BDEPEND

	test? (
		dev-python/pillow[jpeg,]
		dev-python/numpy[]
	)