p3-ir-camera-9999voyageur
download
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 git-r3
MY_PN="p3-ir-camera"
DESCRIPTION="Python driver and viewer for P3-series USB thermal cameras"
HOMEPAGE="https://github.com/jvdillon/p3-ir-camera"
EGIT_REPO_URI="https://github.com/jvdillon/${MY_PN}.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
DEPEND="
>=dev-python/numpy-1.24:=
media-libs/opencv:=[python,${PYTHON_USEDEP}]
>=dev-python/pyusb-1.2
>=dev-python/pyserial-3.0
>=dev-python/matplotlib-3.5
"
RDEPEND="${DEPEND}"
DOCS=( LOCK-IN.md P3_PROTOCOL.md README.md )
src_prepare() {
# Missing file
sed -e '/include/s/\[/["lockin.py",/' -i pyproject.toml || die
default
}