commit: 7ab1306553a3ac4f8aca87d5003d0013a8e90331
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jul 1 23:42:59 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Jul 1 23:42:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ab13065
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 <AT> gmail.com>
dev-python/orjson/orjson-3.5.3.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-python/orjson/orjson-3.5.3.ebuild
b/dev-python/orjson/orjson-3.5.3.ebuild
index b5d937af4..64d9ca1cc 100644
--- a/dev-python/orjson/orjson-3.5.3.ebuild
+++ b/dev-python/orjson/orjson-3.5.3.ebuild
@@ -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