aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-31 17:45:25 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-31 17:45:25 +0200
commitdc98465519c81e4b345625b667d556cfad7a95e0 (patch)
tree5a16ab4c22ec26fdcc2705bae207558b8bbe89a9 /dev-python/orjson
parentsys-fs/gdu: add 5.14.0, drop 5.9.0 (diff)
downloadguru-dc98465519c81e4b345625b667d556cfad7a95e0.tar.gz
guru-dc98465519c81e4b345625b667d556cfad7a95e0.tar.bz2
guru-dc98465519c81e4b345625b667d556cfad7a95e0.zip
dev-python/orjson: correctly build with maturin
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-python/orjson')
-rw-r--r--dev-python/orjson/orjson-3.6.8-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/orjson/orjson-3.6.8-r1.ebuild b/dev-python/orjson/orjson-3.6.8-r1.ebuild
index 4e37bcb9a..af80de1fd 100644
--- a/dev-python/orjson/orjson-3.6.8-r1.ebuild
+++ b/dev-python/orjson/orjson-3.6.8-r1.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+CARGO_OPTIONAL=1
CRATES="
ahash-0.7.6
arrayvec-0.7.2
@@ -72,3 +73,7 @@ BDEPEND="
PATCHES=( "${FILESDIR}/${PN}-3.6.7-no-strip.patch" )
distutils_enable_tests pytest
+
+src_unpack() {
+ cargo_src_unpack
+}