# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=standalone PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 _WHL="firecrawl_anydoc-${PV}-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" DESCRIPTION="Document-to-Markdown extraction bindings used by hermes-agent" HOMEPAGE="https://pypi.org/project/firecrawl-anydoc/" SRC_URI="https://files.pythonhosted.org/packages/fc/16/feeca9705bfdb237f1cb69ede0b373b144c0d51df4297e595a74b815557e/${_WHL}" S="${WORKDIR}" LICENSE="MIT" SLOT="0" KEYWORDS="-* ~amd64" RESTRICT="mirror strip test" # abi3 wheel (cp310+) shipping a native _anydoc.abi3.so; installed directly # following the magika/ast-grep-cli wheel-bin pattern. The wheel installs the # top-level "anydoc" module; the dist-info keeps the firecrawl-anydoc name. src_unpack() { : } src_compile() { : } python_install() { distutils_wheel_install "${ED}" "${DISTDIR}/${_WHL}" }