summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-02-14 20:24:09 -0500
committerSam James <sam@gentoo.org>2024-02-15 13:50:32 +0000
commit5d47523c919d2293682ac4c3b77d1cd76a29fa9f (patch)
treefa2c216f5dd0f1747c227f2108dbf14562d7b7f0 /dev-libs/mathjax
parentdev-libs/mathjax: include USE=docs as part of the package (3.x) (diff)
downloadgentoo-5d47523c919d2293682ac4c3b77d1cd76a29fa9f.tar.gz
gentoo-5d47523c919d2293682ac4c3b77d1cd76a29fa9f.tar.bz2
gentoo-5d47523c919d2293682ac4c3b77d1cd76a29fa9f.zip
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@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/mathjax')
-rw-r--r--dev-libs/mathjax/mathjax-2.7.7-r1.ebuild3
-rw-r--r--dev-libs/mathjax/mathjax-3.2.2-r2.ebuild7
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}"