aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-26 09:07:48 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-26 09:07:48 +0100
commit33f2b788d6a179aa65e6ab134941f74e52d4e47f (patch)
tree15b96c9da10b29df94985294b358df1d8996c065
parentsys-cluster/swift: add pbr dep (diff)
downloadguru-33f2b788d6a179aa65e6ab134941f74e52d4e47f.tar.gz
guru-33f2b788d6a179aa65e6ab134941f74e52d4e47f.tar.bz2
guru-33f2b788d6a179aa65e6ab134941f74e52d4e47f.zip
dev-util/afdko: prevent pip from installing cmake, ninja
Closes: https://bugs.gentoo.org/836146 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
-rw-r--r--dev-util/afdko/afdko-3.8.1.ebuild5
-rw-r--r--dev-util/afdko/files/afdko-3.8.1-no-cmake-ninja-deps.patch13
2 files changed, 17 insertions, 1 deletions
diff --git a/dev-util/afdko/afdko-3.8.1.ebuild b/dev-util/afdko/afdko-3.8.1.ebuild
index 41dbb34df..99fcfd6e8 100644
--- a/dev-util/afdko/afdko-3.8.1.ebuild
+++ b/dev-util/afdko/afdko-3.8.1.ebuild
@@ -51,7 +51,10 @@ BDEPEND="
DOCS=( {README,NEWS}.md docs )
-PATCHES=( "${FILESDIR}/${PN}-3.6.2-_get_scripts-to-data_files.patch" )
+PATCHES=(
+ "${FILESDIR}/${PN}-3.6.2-_get_scripts-to-data_files.patch"
+ "${FILESDIR}/${P}-no-cmake-ninja-deps.patch"
+)
distutils_enable_tests pytest
diff --git a/dev-util/afdko/files/afdko-3.8.1-no-cmake-ninja-deps.patch b/dev-util/afdko/files/afdko-3.8.1-no-cmake-ninja-deps.patch
new file mode 100644
index 000000000..bd9367d86
--- /dev/null
+++ b/dev-util/afdko/files/afdko-3.8.1-no-cmake-ninja-deps.patch
@@ -0,0 +1,13 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -3,9 +3,7 @@
+ "setuptools",
+ "wheel",
+ "setuptools_scm",
+- "scikit-build",
+- "cmake",
+- "ninja"
++ "scikit-build"
+ ]
+ build-backend = "setuptools.build_meta"
+