# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{11..14} ) inherit cmake python-single-r1 MY_P="${PN}-v${PV}" DESCRIPTION="Simulate and fit X-ray/neutron reflectometry and grazing-incidence scattering" HOMEPAGE="https://bornagainproject.org/ https://jugit.fz-juelich.de/mlz/bornagain" SRC_URI="https://jugit.fz-juelich.de/mlz/bornagain/-/archive/v${PV}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64" IUSE="+python +tiff" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DEPEND=" >=dev-libs/boost-1.74:= sci-libs/fftw:3.0= sci-libs/gsl:= sci-libs/libcerf:= >=sci-libs/libformfactor-0.4 =sci-libs/libheinz-4.0