summaryrefslogtreecommitdiff
path: root/dev-cpp/xsimd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-26 01:25:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-26 01:25:46 +0100
commit21dea977c89ba487b57c7856a4924950e667f209 (patch)
treeea817bd899b4d1759c030d6439f307b28e51588d /dev-cpp/xsimd
parentc25088d4fc442a7d6dc3a8d0498b43024888318d (diff)
gentoo auto-resync : 26:09:2024 - 01:25:46
Diffstat (limited to 'dev-cpp/xsimd')
-rw-r--r--dev-cpp/xsimd/Manifest2
-rw-r--r--dev-cpp/xsimd/xsimd-13.0.0-r1.ebuild (renamed from dev-cpp/xsimd/xsimd-13.0.0.ebuild)22
2 files changed, 19 insertions, 5 deletions
diff --git a/dev-cpp/xsimd/Manifest b/dev-cpp/xsimd/Manifest
index 02ede58ed931..edc262e1e4a0 100644
--- a/dev-cpp/xsimd/Manifest
+++ b/dev-cpp/xsimd/Manifest
@@ -8,5 +8,5 @@ DIST xsimd-12.1.1.tar.gz 253141 BLAKE2B 29efbb045d8ade8737d702a73f3d0a912111dd4f
DIST xsimd-13.0.0.tar.gz 259967 BLAKE2B 63267c75a7e8ed2e8689a912e79a1d012ff3cf3813969f97a640801e372ec9e66a6e3d3034b6918a30dc3374e8211fd1107f1309156354b6bca6ba17c6f132b4 SHA512 cdc42ddad3353297cf25ea2b6b3f09967f5f388efc26241f2997979fdbbac072819ff771145bc5bfa86cb326cca84b4119e8e6e3f658407961cf203a40603a7f
EBUILD xsimd-11.1.0-r1.ebuild 1034 BLAKE2B fdc6a900c039da14a5091ee7ed4a9ea9e2611610a9bd812fc6be91544e08e2f91d101b0800e70c8df224bab2d08677723e9aece300edbca585d9e31ee9425c4a SHA512 0e00b0d9143cd2c2736be80f35616fbb17789bc9696efb9ee340d13243b2c1c299314549faeeb6e02b3029e96709d8e7c108fe2b58cd5658aa60a8e9ff44c1e1
EBUILD xsimd-12.1.1.ebuild 1045 BLAKE2B 263ebcc57be8996455820190be8d339f4f22ceb17d4da6e8f1438502307b429b091cf721d2ea9e55e7a2a6c66e65d1d824a271af3f5aeec0d66aa519c2e345c7 SHA512 998d903d3841879ce50c7e812b74d04bea52f49eb02222d886d4322f4cd7dd386c6eecf95f39b26668c93d91ac899c2c336ba6a677d3bd354e07c5aff52d8ed3
-EBUILD xsimd-13.0.0.ebuild 1156 BLAKE2B 4d9e98b81e4dddaa290d2b4a7ede0af27929838c32d8056532d01e0670601203447a588c8008dd0181c8fb7892827178dbe70a80241558ba7ee3c61b5e452cbf SHA512 1a0ba1839d8b37dca5194fa0f768db02539154f0f9ebf83bdeb6912bc4d7d63dd7bcdc6a3110dd7b0f304855709a8883c6b0126de0a64b5aff3be277c8475200
+EBUILD xsimd-13.0.0-r1.ebuild 1564 BLAKE2B 2f3eed364ae5a83412d8fee2f640005c365f0f742568deb80511cee41893361551aa982b724c8f83126125441136b3c817cf6e0f51d8705e32428137ae1103b6 SHA512 fdc268954d0aae16030fb9536beacc88b3c6096266afb06c9bdb2dd0d3ef51a63747acf9c6a982539b18ba77c367475174b847d257a9c002935311ddbdddcf42
MISC metadata.xml 385 BLAKE2B e22c7622c338c277eee7dd048463a2d3244fffcd255b1a9dd9652a1295c3c1f0043e67fab28b084b3f10b03b5fd5e36b4f713c040ddc168ac6be9287af14e031 SHA512 5826eb1e62fa79c1e355668ad83a9e4e113b3cf154535537181597062f952ad436c56c8d9dd9f3599815307e33f4e1366b2a9b109d27c53bc112fe0a4c62d885
diff --git a/dev-cpp/xsimd/xsimd-13.0.0.ebuild b/dev-cpp/xsimd/xsimd-13.0.0-r1.ebuild
index f6fa6899c716..167d9662c0cd 100644
--- a/dev-cpp/xsimd/xsimd-13.0.0.ebuild
+++ b/dev-cpp/xsimd/xsimd-13.0.0-r1.ebuild
@@ -3,7 +3,8 @@
EAPI=8
-inherit cmake
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake python-any-r1
DESCRIPTION="C++ wrappers for SIMD intrinsics"
HOMEPAGE="https://github.com/xtensor-stack/xsimd"
@@ -19,9 +20,11 @@ RESTRICT="!test? ( test )"
BDEPEND="
doc? (
app-text/doxygen
- dev-python/breathe
- dev-python/sphinx
- dev-python/sphinx-rtd-theme
+ $(python_gen_any_dep '
+ dev-python/breathe[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+ ')
)
test? ( dev-cpp/doctest )"
@@ -32,6 +35,17 @@ PATCHES=(
"${FILESDIR}"/${PN}-13.0.0-detection-simd-with-mitigations.patch
)
+python_check_deps() {
+ python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" &&
+ python_has_version "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" &&
+ python_has_version "dev-python/breathe[${PYTHON_USEDEP}]"
+
+}
+
+pkg_setup() {
+ use doc && python-any-r1_pkg_setup
+}
+
src_prepare() {
sed -i \
-e '/fPIC/d' \