dev-python/orjson: try to fix "EPYTHON is unset"

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-07-02 01:42:59 +02:00
parent b02deb470a
commit 7ab1306553

View File

@@ -81,10 +81,13 @@ BDEPEND="
dev-util/maturin
"
QA_FLAGS_IGNORED="$(python_get_sitedir)/${PN}*.so"
distutils_enable_tests pytest
pkg_setup() {
python_setup
export QA_FLAGS_IGNORED="$(python_get_sitedir)/${PN}*.so"
}
src_compile() {
maturin build --no-sdist --manylinux off --interpreter ${EPYTHON} $(usex debug "" --release) || die
unzip "target/wheels/${P}-*.whl" || die