Files
gentoo/dev-python/wand/wand-0.7.2.ebuild
Michał Górny b3835ad85f dev-python/wand: Enable py3.15
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2026-07-06 13:35:36 +02:00

40 lines
782 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_PN=${PN^}
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 pypi
DESCRIPTION="Ctypes-based simple ImageMagick binding for Python"
HOMEPAGE="
https://docs.wand-py.org/
https://github.com/emcconville/wand/
https://pypi.org/project/Wand/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
RDEPEND="
media-gfx/imagemagick
"
BDEPEND="
test? (
media-gfx/imagemagick[fftw,jpeg,png,truetype,xml]
)
"
distutils_enable_sphinx docs
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
# PDF support is blocked by the default ImageMagick security policy
epytest --skip-pdf
}