app-doc/doxygen: restrict to <sys-devel/clang-10
authorMatthias Maier <tamiko@gentoo.org>
Wed, 11 Mar 2020 14:07:35 +0000 (09:07 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Wed, 11 Mar 2020 14:42:35 +0000 (09:42 -0500)
Closes: https://bugs.gentoo.org/711650
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-doc/doxygen/doxygen-1.8.15.ebuild
app-doc/doxygen/doxygen-1.8.16-r1.ebuild
app-doc/doxygen/doxygen-1.8.17.ebuild

index 494edad1726e25543d06205b52d75ffbdf9c0b3e..f9f0496eaf8ae4632f5a4bbaaa9c70517feefd21 100644 (file)
@@ -6,7 +6,7 @@ PYTHON_COMPAT=( python3_6 )
 
 CMAKE_MAKEFILE_GENERATOR="emake"
 
-inherit cmake-utils eutils python-any-r1
+inherit cmake-utils eutils llvm python-any-r1
 if [[ ${PV} = *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/doxygen/doxygen.git"
@@ -27,7 +27,7 @@ RDEPEND="app-text/ghostscript-gpl
        dev-lang/perl
        media-libs/libpng:0=
        virtual/libiconv
-       clang? ( >=sys-devel/clang-4.0.0:= )
+       clang? ( <sys-devel/clang-10:= )
        dot? (
                media-gfx/graphviz
                media-libs/freetype
@@ -67,7 +67,10 @@ PATCHES=(
 
 DOCS=( LANGUAGE.HOWTO README.md )
 
+LLVM_MAX_SLOT=9
+
 pkg_setup() {
+       use clang && llvm_pkg_setup
        use doc && python-any-r1_pkg_setup
 }
 
index e3fc34ade516dad571ca902b57e6d9c6f76715b7..c3de40c09aec262b7cb66b25745ddd6f97dd6877 100644 (file)
@@ -6,7 +6,7 @@ PYTHON_COMPAT=( python3_6 )
 
 CMAKE_MAKEFILE_GENERATOR="emake"
 
-inherit cmake-utils eutils python-any-r1
+inherit cmake-utils eutils llvm python-any-r1
 if [[ ${PV} = *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/doxygen/doxygen.git"
@@ -28,7 +28,7 @@ RDEPEND="app-text/ghostscript-gpl
        dev-lang/perl
        media-libs/libpng:0=
        virtual/libiconv
-       clang? ( >=sys-devel/clang-4.0.0:= )
+       clang? ( <sys-devel/clang-10:= )
        dot? (
                media-gfx/graphviz
                media-libs/freetype
@@ -68,8 +68,10 @@ PATCHES=(
 )
 
 DOCS=( LANGUAGE.HOWTO README.md )
+LLVM_MAX_SLOT=9
 
 pkg_setup() {
+       use clang && llvm_pkg_setup
        use doc && python-any-r1_pkg_setup
 }
 
index f850b147329eb1dd34bfe087d9d5837a83033b71..da2248eb1e4ddedd1a37b7d94827e547e2d45cf4 100644 (file)
@@ -6,7 +6,7 @@ PYTHON_COMPAT=( python3_{6,7,8} )
 
 CMAKE_MAKEFILE_GENERATOR="emake"
 
-inherit cmake-utils eutils python-any-r1
+inherit cmake-utils eutils llvm python-any-r1
 if [[ ${PV} = *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/doxygen/doxygen.git"
@@ -28,7 +28,7 @@ RDEPEND="app-text/ghostscript-gpl
        dev-lang/perl
        media-libs/libpng:0=
        virtual/libiconv
-       clang? ( >=sys-devel/clang-4.0.0:= )
+       clang? ( <sys-devel/clang-10:= )
        dot? (
                media-gfx/graphviz
                media-libs/freetype
@@ -66,7 +66,10 @@ PATCHES=(
 
 DOCS=( LANGUAGE.HOWTO README.md )
 
+LLVM_MAX_SLOT=9
+
 pkg_setup() {
+       use clang && llvm_pkg_setup
        use doc && python-any-r1_pkg_setup
 }