commit:     a61d3add654f2d0f58bfab069739a47b3e9bd1d4
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 20 15:40:38 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 15:45:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61d3add

dev-libs/mathjax: drop old (pre-revbump)

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-libs/mathjax/mathjax-2.7.7.ebuild    | 63 --------------------------------
 dev-libs/mathjax/mathjax-3.2.2-r1.ebuild | 47 ------------------------
 2 files changed, 110 deletions(-)

diff --git a/dev-libs/mathjax/mathjax-2.7.7.ebuild 
b/dev-libs/mathjax/mathjax-2.7.7.ebuild
deleted file mode 100644
index 0232c759f19b..000000000000
--- a/dev-libs/mathjax/mathjax-2.7.7.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit vcs-clean
-
-DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath"
-HOMEPAGE="https://www.mathjax.org/";
-SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}"/MathJax-${PV}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="doc examples"
-
-RDEPEND="doc? ( app-doc/mathjax-docs:${SLOT} )"
-
-RESTRICT="binchecks strip"
-
-make_webconf() {
-       # web server config file - should we really do this?
-       cat > $1 <<-EOF
-               Alias /MathJax/ ${EPREFIX}${webinstalldir}/
-               Alias /mathjax/ ${EPREFIX}${webinstalldir}/
-
-               <Directory ${EPREFIX}${webinstalldir}>
-                       Options None
-                       AllowOverride None
-                       Order allow,deny
-                       Allow from all
-               </Directory>
-       EOF
-}
-
-src_prepare() {
-       default
-       egit_clean
-}
-
-src_install() {
-       local DOCS=( README.md )
-       if use doc; then
-               dodir /usr/share/doc/${P}
-               dosym ../${PN}-docs-${SLOT}/html /usr/share/doc/${P}/html
-       fi
-
-       default
-       if use examples; then
-               insinto /usr/share/${PN}/examples
-               doins -r test/*
-       fi
-       rm -r test docs LICENSE README.md || die
-
-       webinstalldir=/usr/share/${PN}
-       insinto ${webinstalldir}
-       doins -r *
-
-       make_webconf MathJax.conf
-       insinto /etc/httpd/conf.d
-       doins MathJax.conf
-}

diff --git a/dev-libs/mathjax/mathjax-3.2.2-r1.ebuild 
b/dev-libs/mathjax/mathjax-3.2.2-r1.ebuild
deleted file mode 100644
index 33154f783bc5..000000000000
--- a/dev-libs/mathjax/mathjax-3.2.2-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit vcs-clean
-
-DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath"
-HOMEPAGE="https://www.mathjax.org/";
-SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/MathJax-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="doc"
-
-RDEPEND="doc? ( ~app-doc/mathjax-docs-${PV} )"
-
-src_prepare() {
-       default
-       egit_clean
-}
-
-src_install() {
-       local DOCS=( CONTRIBUTING.md README.md )
-       default
-
-       if use doc; then
-               # We need best_version to determine the right revision for
-               # app-doc/mathjax-docs.
-               local docsPF=$(best_version app-doc/mathjax-docs)
-
-               # Strip the (known) category from the best_version output.
-               docsPF=${docsPF#app-doc/}
-
-               dosym "../${docsPF}/html" "/usr/share/doc/${PF}/html"
-       fi
-
-       insinto "/usr/share/${PN}"
-
-       # Start the install beneath the "es5" directory for compatibility with
-       # Arch, Solus, and Void Linux, but leave a fake "es5" symlink for
-       # packages (like doxygen) that expect it.
-       doins -r es5/*
-       dosym -r "/usr/share/${PN}" "/usr/share/${PN}/es5"
-}

Reply via email to