dev-python/imagehash - 4.3.2 (slonko)

Search

Install

Install this version:

emerge -a =dev-python/imagehash-4.3.2

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

autounmask =dev-python/imagehash-4.3.2

Or alternatively:

emerge --autounmask-write -a =dev-python/imagehash-4.3.2

Package Information

Description:
Image hashing library computing perceptual hashes
Homepage:
https://github.com/JohannesBuchner/imagehash
License:
BSD

Ebuild Details

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

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )

inherit distutils-r1

DESCRIPTION="Image hashing library computing perceptual hashes"
HOMEPAGE="https://github.com/JohannesBuchner/imagehash"
# PyPI sdist omits tests/__init__.py and tests/utils.py; use the git archive
SRC_URI="https://github.com/JohannesBuchner/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

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

RDEPEND="
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/pillow[${PYTHON_USEDEP}]
	dev-python/pywavelets[${PYTHON_USEDEP}]
	dev-python/scipy[${PYTHON_USEDEP}]
"

DOCS=( README.rst )

BDEPEND="
	test? (
		dev-python/packaging[${PYTHON_USEDEP}]
		dev-python/six[${PYTHON_USEDEP}]
	)
"

distutils_enable_tests pytest

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/numpy[]
	dev-python/pillow[]
	dev-python/pywavelets[]
	dev-python/scipy[]

BDEPEND

	test? (
		dev-python/packaging[]
		dev-python/six[]
	)

Manifest for 4.3.2

Type File Size Source URLs
DIST imagehash-4.3.2.gh.tar.gz 812254 bytes https://github.com/JohannesBuchner/imagehash/archive/v4.3.2.tar.gz