dev-python/rawpy - 0.27.1 (guru)

Search

Install

Install this version:

emerge -a =dev-python/rawpy-0.27.1

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

autounmask =dev-python/rawpy-0.27.1

Or alternatively:

emerge --autounmask-write -a =dev-python/rawpy-0.27.1

Package Information

Description:
Python wrapper for LibRaw, RAW image processing
Homepage:
https://github.com/letmaik/rawpy https://pypi.org/project/rawpy/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.27.1 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_{12..15} )

inherit distutils-r1

DESCRIPTION="Python wrapper for LibRaw, RAW image processing"
HOMEPAGE="https://github.com/letmaik/rawpy https://pypi.org/project/rawpy/"
SRC_URI="https://github.com/letmaik/rawpy/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

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

DEPEND=">=media-libs/libraw-0.21:="
RDEPEND="${DEPEND}
	dev-python/numpy[${PYTHON_USEDEP}]"
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	virtual/pkgconfig
	test? (
		dev-python/imageio[${PYTHON_USEDEP}]
		dev-python/scikit-image[${PYTHON_USEDEP}]
	)"

EPYTEST_PLUGINS=()
EPYTEST_IGNORE=(
	test_mypy.py
	test_stubtest.py
)
distutils_enable_tests pytest

python_configure_all() {
	export RAWPY_USE_SYSTEM_LIBRAW=1
}

python_test() {
	cd test || die
	epytest
}

Inherited Eclasses

Dependencies

DEPEND

>=media-libs/libraw-0.21:=

RDEPEND

>=media-libs/libraw-0.21:=
	dev-python/numpy[]

BDEPEND

dev-python/cython[]
	dev-python/numpy[]
	virtual/pkgconfig
	test? (
		dev-python/imageio[]
		dev-python/scikit-image[]
	)

Manifest for 0.27.1

Type File Size Source URLs
DIST rawpy-0.27.1.gh.tar.gz 76018988 bytes https://github.com/letmaik/rawpy/archive/refs/tags/v0.27.1.tar.gz