commit:     5d47523c919d2293682ac4c3b77d1cd76a29fa9f
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 15 01:24:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 13:50:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d47523c

dev-libs/mathjax: avoid inheriting vcs-clean

It does nothing. I am not sure what the point of using it here is --
this is a tarball source and doesn't have a .git/ directory. In 3.x it
does have a .github/ directory, but that isn't copied over even if it is
there.

It's a waste of time, so drop it.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/mathjax/mathjax-2.7.7-r1.ebuild | 3 +--
 dev-libs/mathjax/mathjax-3.2.2-r2.ebuild | 7 +------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild 
b/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild
index 697367e8af8a..9fea30af9a03 100644
--- a/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild
+++ b/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{10..11} pypy3 )
-inherit python-any-r1 vcs-clean
+inherit python-any-r1
 
 DOCS_COMMIT="9d711f40638202b02f2154d7f05ea35088ff9388"
 
@@ -62,7 +62,6 @@ pkg_setup() {
 
 src_prepare() {
        default
-       egit_clean
        sed -e 's/add_stylesheet/add_css_file/' -i "${DOCS_S}"/conf.py || die
 }
 

diff --git a/dev-libs/mathjax/mathjax-3.2.2-r2.ebuild 
b/dev-libs/mathjax/mathjax-3.2.2-r2.ebuild
index 2948110ed70c..ad981a31d0ba 100644
--- a/dev-libs/mathjax/mathjax-3.2.2-r2.ebuild
+++ b/dev-libs/mathjax/mathjax-3.2.2-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} pypy3 )
-inherit python-any-r1 vcs-clean
+inherit python-any-r1
 
 # MathJax-docs doesn't have releases, so this is the commit that was
 # current when mathjax-${PV} was released.
@@ -46,11 +46,6 @@ pkg_setup() {
        fi
 }
 
-src_prepare() {
-       default
-       egit_clean
-}
-
 src_compile() {
        if use doc; then
                build_sphinx "${DOCS_S}"

Reply via email to