summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-09-26 06:56:10 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-09-26 06:56:10 +0000
commit166293de47f11f9712801fc90100bf29ade431ff (patch)
treee1f8ee3dca823e05a4f3d41b8bb274f6a759167e /dev-cpp
parent7b128f48c4e4a72a709b0b6774f82083deb96a6e (diff)
downloadbaldeagleos-repo-166293de47f11f9712801fc90100bf29ade431ff.tar.gz
baldeagleos-repo-166293de47f11f9712801fc90100bf29ade431ff.tar.xz
baldeagleos-repo-166293de47f11f9712801fc90100bf29ade431ff.zip
Adding metadata
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/xsimd/xsimd-13.0.0-r1.ebuild (renamed from dev-cpp/xsimd/xsimd-13.0.0.ebuild)22
1 files changed, 18 insertions, 4 deletions
diff --git a/dev-cpp/xsimd/xsimd-13.0.0.ebuild b/dev-cpp/xsimd/xsimd-13.0.0-r1.ebuild
index f6fa6899c716..fdc7f76d9100 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_{8,9,10,11,12} )
+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' \