# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{12..14} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi DESCRIPTION="library for structural biology" HOMEPAGE="https://project-gemmi.github.io/" LICENSE="MPL-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" virtual/zlib dev-python/numpy[${PYTHON_USEDEP}] " DEPEND="${RDEPEND}" BDEPEND=" dev-python/pybind11[${PYTHON_USEDEP}] " src_prepare() { sed -i -e "s:USE_SYSTEM_ZLIB = False:USE_SYSTEM_ZLIB = True:" "${S}"/setup.py || die default }