app-text/sigil: Switch to cmake.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 11 Jan 2020 23:49:20 +0000 (00:49 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 11 Jan 2020 23:51:42 +0000 (00:51 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-text/sigil/sigil-0.9.16.ebuild
app-text/sigil/sigil-0.9.18.ebuild
app-text/sigil/sigil-1.0.0.ebuild

index a06e4addd82ef0282e37ccd4d356e1c0368ecece..a712ce00178e15dbdacc6558d1542e68459afd22 100644 (file)
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6,7} )
 PYTHON_REQ_USE="tk"
 
-inherit cmake-utils python-single-r1 readme.gentoo-r1 xdg-utils
+inherit cmake python-single-r1 readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format"
 HOMEPAGE="https://sigil-ebook.com/"
@@ -72,7 +72,7 @@ for best performance with Sigil."
 src_prepare() {
        # bundled is a exact copy of the package, and upstream plan to switch soon
        rm -r src/Resource_Files/plugin_launchers/python/css_parser/ || die
-       cmake-utils_src_prepare
+       cmake_src_prepare
 }
 
 src_configure() {
@@ -87,11 +87,11 @@ src_configure() {
        )
        use system-mathjax && mycmakeargs+=( -DMATHJAX_DIR="${EPREFIX}"/usr/share/mathjax )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
        python_fix_shebang "${ED}"/usr/share/sigil/
        python_optimize "${ED}"/usr/share/sigil/
        DISABLE_AUTOFORMATTING=true readme.gentoo_create_doc
index 119ad45230c6b8f7c570d3c095285421e34f1452..ee2155ae5c351e9a754e7c0dd2185915e964fd81 100644 (file)
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6,7} )
 PYTHON_REQ_USE="tk"
 
-inherit cmake-utils python-single-r1 readme.gentoo-r1 xdg-utils
+inherit cmake python-single-r1 readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format"
 HOMEPAGE="https://sigil-ebook.com/ https://github.com/Sigil-Ebook/Sigil"
@@ -80,11 +80,11 @@ src_configure() {
        )
        use system-mathjax && mycmakeargs+=( -DMATHJAX_DIR="${EPREFIX}"/usr/share/mathjax )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
        python_fix_shebang "${ED}"/usr/share/sigil/
        python_optimize "${ED}"/usr/share/sigil/
        DISABLE_AUTOFORMATTING=true readme.gentoo_create_doc
index dc09ca8c6b51814246993c0eacc7a764f0717406..0d5c548e64409ecbbc7d9afadc0d8bfbca1762dc 100644 (file)
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6,7} )
 PYTHON_REQ_USE="tk"
 
-inherit cmake-utils python-single-r1 xdg-utils
+inherit cmake python-single-r1 xdg-utils
 
 DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format"
 HOMEPAGE="https://sigil-ebook.com/ https://github.com/Sigil-Ebook/Sigil"
@@ -65,11 +65,11 @@ src_configure() {
        )
        use system-mathjax && mycmakeargs+=( -DMATHJAX_DIR="${EPREFIX}"/usr/share/mathjax )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
        python_fix_shebang "${ED}"/usr/share/sigil/
        python_optimize "${ED}"/usr/share/sigil/
 }