From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E1215138350 for ; Fri, 10 Jan 2020 08:45:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30F51E08BF; Fri, 10 Jan 2020 08:45:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0AF62E08AE for ; Fri, 10 Jan 2020 08:45:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 860EB34DF27 for ; Fri, 10 Jan 2020 08:45:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6C3E98 for ; Fri, 10 Jan 2020 08:45:28 +0000 (UTC) From: "Mark Wright" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mark Wright" Message-ID: <1578645796.c6e861e430f795dd862fe05fed3f93ef2ca298a9.gienah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mathjax/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/mathjax/Manifest dev-libs/mathjax/mathjax-2.7.7.ebuild X-VCS-Directories: dev-libs/mathjax/ X-VCS-Committer: gienah X-VCS-Committer-Name: Mark Wright X-VCS-Revision: c6e861e430f795dd862fe05fed3f93ef2ca298a9 X-VCS-Branch: master Date: Fri, 10 Jan 2020 08:45:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2b778569-ab55-499d-8a50-9d49d998cad9 X-Archives-Hash: 42986d9b89657ed79950a26e9f6b8f9a commit: c6e861e430f795dd862fe05fed3f93ef2ca298a9 Author: Mark Wright gentoo org> AuthorDate: Fri Jan 10 03:12:28 2020 +0000 Commit: Mark Wright gentoo org> CommitDate: Fri Jan 10 08:43:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e861e4 dev-libs/mathjax: Bump to 2.7.7, fix USE=doc Thanks to Arfrever Frehtes Taifersar Arahesis for reporting. Closes: https://bugs.gentoo.org/show_bug.cgi?id=526128 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mark Wright gentoo.org> dev-libs/mathjax/Manifest | 1 + dev-libs/mathjax/mathjax-2.7.7.ebuild | 64 +++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-libs/mathjax/Manifest b/dev-libs/mathjax/Manifest index 60e9420aa42..ce20ad49d1e 100644 --- a/dev-libs/mathjax/Manifest +++ b/dev-libs/mathjax/Manifest @@ -1,2 +1,3 @@ DIST mathjax-2.7.0.tar.gz 24594403 BLAKE2B 7cadfe7565a7ebba3569fb298a097f07081926b843a06c3c32447757eb0a5d463d654f20c42821010c81c59819bb14fdc5e84a39e87106bb6808bd6c9ca52bb7 SHA512 2a7c2b4a4991485c18f78dda4115da05a31c1a2d952c403726e99d22fd26f166298199238ad482e53b63b5414be687f325b586f5ebe4e2d552447c929415b350 DIST mathjax-2.7.4.tar.gz 25355532 BLAKE2B 0bed5224356757c64989de8b9355f5c2505f1fa951456c52caf1cc0a9b5a864633ce5299cc9b67b1e5c743e39bcb6aee787a76d6871fc998b614d62e12499f6f SHA512 cddc4c64c188620307f0ede3b0bc7ba071f78702ba6315426d8c83129543a6b81a3a9a115f88017e23b5094b7aefd934c39aeec9688419830e33f9fd0fb1de7e +DIST mathjax-2.7.7.tar.gz 25347766 BLAKE2B c1f11bc854c95888d7f04ee627094a2e297e7554b0380dab30c08e2c4405495df611b440da0efd1e6456150513e07fa4ef90808d2332f9fb83785c118228de18 SHA512 471bd22475827a13d79de7d335f3e51ace06dfc04f575e8829b4505f428949f1dbe58798635cb434ed02ae0cd3fd8d1d577196b4961365fbcb399cc075d3284f diff --git a/dev-libs/mathjax/mathjax-2.7.7.ebuild b/dev-libs/mathjax/mathjax-2.7.7.ebuild new file mode 100644 index 00000000000..85f1f957063 --- /dev/null +++ b/dev-libs/mathjax/mathjax-2.7.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 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="http://www.mathjax.org/" +SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RDEPEND="doc? ( app-doc/mathjax-docs:${SLOT} )" + +RESTRICT="binchecks strip" + +S=${WORKDIR}/MathJax-${PV} + +make_webconf() { + # web server config file - should we really do this? + cat > $1 <<-EOF + Alias /MathJax/ ${EPREFIX}${webinstalldir}/ + Alias /mathjax/ ${EPREFIX}${webinstalldir}/ + + + Options None + AllowOverride None + Order allow,deny + Allow from all + + 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 +}