summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2022-08-05 19:56:46 +0200
committerSam James <sam@gentoo.org>2022-08-16 00:10:07 +0100
commit012a436299678a705b33579e21b800f3a18e5360 (patch)
tree35c50bab3813dc490785bb73498bc431b2d5f1bf /dev-libs/capstone
parentdev-python/filebytes: add .gh suffix to tagged distfiles (live) (diff)
downloadgentoo-012a436299678a705b33579e21b800f3a18e5360.tar.gz
gentoo-012a436299678a705b33579e21b800f3a18e5360.tar.bz2
gentoo-012a436299678a705b33579e21b800f3a18e5360.zip
dev-libs/capstone: disable pkg-config QA checks for release candidates only
see https://github.com/gentoo/gentoo/pull/26511#issuecomment-1206157400 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/capstone')
-rw-r--r--dev-libs/capstone/capstone-5.0_rc2-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild
index 174d710dac2a..e0bb01977da0 100644
--- a/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild
+++ b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild
@@ -31,8 +31,10 @@ PATCHES=(
"${FILESDIR}"/${P}-pkgconfig.patch
)
-# Upstream doesn't flag release candidates (bug 858350)
-QA_PKGCONFIG_VERSION=""
+if [[ ${PV} == *_rc* ]]; then
+ # Upstream doesn't flag release candidates (bug 858350)
+ QA_PKGCONFIG_VERSION=""
+fi
wrap_python() {
local phase=$1