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
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.27.1 | 8 | ~amd64 | 0 |
# 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
}
>=media-libs/libraw-0.21:=
>=media-libs/libraw-0.21:= dev-python/numpy[]
dev-python/cython[] dev-python/numpy[] virtual/pkgconfig test? ( dev-python/imageio[] dev-python/scikit-image[] )
| 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 |