1 |
commit: d248c3332bea2f81b849495b4a4c08c7817f7786 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 27 20:04:45 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 27 20:04:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d248c333 |
7 |
|
8 |
dev-libs/mathjax: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-libs/mathjax/Manifest | 2 -- |
13 |
dev-libs/mathjax/mathjax-2.7.0.ebuild | 57 ----------------------------------- |
14 |
dev-libs/mathjax/mathjax-2.7.4.ebuild | 57 ----------------------------------- |
15 |
3 files changed, 116 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/mathjax/Manifest b/dev-libs/mathjax/Manifest |
18 |
index ce20ad49d1e2..ebad0abcc862 100644 |
19 |
--- a/dev-libs/mathjax/Manifest |
20 |
+++ b/dev-libs/mathjax/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST mathjax-2.7.0.tar.gz 24594403 BLAKE2B 7cadfe7565a7ebba3569fb298a097f07081926b843a06c3c32447757eb0a5d463d654f20c42821010c81c59819bb14fdc5e84a39e87106bb6808bd6c9ca52bb7 SHA512 2a7c2b4a4991485c18f78dda4115da05a31c1a2d952c403726e99d22fd26f166298199238ad482e53b63b5414be687f325b586f5ebe4e2d552447c929415b350 |
23 |
-DIST mathjax-2.7.4.tar.gz 25355532 BLAKE2B 0bed5224356757c64989de8b9355f5c2505f1fa951456c52caf1cc0a9b5a864633ce5299cc9b67b1e5c743e39bcb6aee787a76d6871fc998b614d62e12499f6f SHA512 cddc4c64c188620307f0ede3b0bc7ba071f78702ba6315426d8c83129543a6b81a3a9a115f88017e23b5094b7aefd934c39aeec9688419830e33f9fd0fb1de7e |
24 |
DIST mathjax-2.7.7.tar.gz 25347766 BLAKE2B c1f11bc854c95888d7f04ee627094a2e297e7554b0380dab30c08e2c4405495df611b440da0efd1e6456150513e07fa4ef90808d2332f9fb83785c118228de18 SHA512 471bd22475827a13d79de7d335f3e51ace06dfc04f575e8829b4505f428949f1dbe58798635cb434ed02ae0cd3fd8d1d577196b4961365fbcb399cc075d3284f |
25 |
|
26 |
diff --git a/dev-libs/mathjax/mathjax-2.7.0.ebuild b/dev-libs/mathjax/mathjax-2.7.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index b61ec426b028..000000000000 |
29 |
--- a/dev-libs/mathjax/mathjax-2.7.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,57 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
- |
37 |
-inherit vcs-clean |
38 |
- |
39 |
-DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath" |
40 |
-HOMEPAGE="https://www.mathjax.org/" |
41 |
-SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
-S="${WORKDIR}"/MathJax-${PV} |
43 |
- |
44 |
-LICENSE="Apache-2.0" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" |
47 |
-IUSE="doc examples" |
48 |
- |
49 |
-RESTRICT="binchecks strip" |
50 |
- |
51 |
-make_webconf() { |
52 |
- # web server config file - should we really do this? |
53 |
- cat > $1 <<-EOF |
54 |
- Alias /MathJax/ ${EPREFIX}${webinstalldir}/ |
55 |
- Alias /mathjax/ ${EPREFIX}${webinstalldir}/ |
56 |
- |
57 |
- <Directory ${EPREFIX}${webinstalldir}> |
58 |
- Options None |
59 |
- AllowOverride None |
60 |
- Order allow,deny |
61 |
- Allow from all |
62 |
- </Directory> |
63 |
- EOF |
64 |
-} |
65 |
- |
66 |
-src_prepare() { |
67 |
- default |
68 |
- egit_clean |
69 |
-} |
70 |
- |
71 |
-src_install() { |
72 |
- local DOCS=( README* ) |
73 |
- use doc && local HTML_DOCS=( docs/html/* ) |
74 |
- default |
75 |
- if use examples; then |
76 |
- insinto /usr/share/${PN}/examples |
77 |
- doins -r test/* |
78 |
- fi |
79 |
- rm -r test docs LICENSE README* || die |
80 |
- |
81 |
- webinstalldir=/usr/share/${PN} |
82 |
- insinto ${webinstalldir} |
83 |
- doins -r * |
84 |
- |
85 |
- make_webconf MathJax.conf |
86 |
- insinto /etc/httpd/conf.d |
87 |
- doins MathJax.conf |
88 |
-} |
89 |
|
90 |
diff --git a/dev-libs/mathjax/mathjax-2.7.4.ebuild b/dev-libs/mathjax/mathjax-2.7.4.ebuild |
91 |
deleted file mode 100644 |
92 |
index f27ee1117965..000000000000 |
93 |
--- a/dev-libs/mathjax/mathjax-2.7.4.ebuild |
94 |
+++ /dev/null |
95 |
@@ -1,57 +0,0 @@ |
96 |
-# Copyright 1999-2021 Gentoo Authors |
97 |
-# Distributed under the terms of the GNU General Public License v2 |
98 |
- |
99 |
-EAPI=6 |
100 |
- |
101 |
-inherit vcs-clean |
102 |
- |
103 |
-DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath" |
104 |
-HOMEPAGE="https://www.mathjax.org/" |
105 |
-SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz" |
106 |
-S="${WORKDIR}"/MathJax-${PV} |
107 |
- |
108 |
-LICENSE="Apache-2.0" |
109 |
-SLOT="0" |
110 |
-KEYWORDS="amd64 arm ~arm64 hppa ppc ~ppc64 x86 ~amd64-linux ~x86-linux" |
111 |
-IUSE="doc examples" |
112 |
- |
113 |
-RESTRICT="binchecks strip" |
114 |
- |
115 |
-make_webconf() { |
116 |
- # web server config file - should we really do this? |
117 |
- cat > $1 <<-EOF |
118 |
- Alias /MathJax/ ${EPREFIX}${webinstalldir}/ |
119 |
- Alias /mathjax/ ${EPREFIX}${webinstalldir}/ |
120 |
- |
121 |
- <Directory ${EPREFIX}${webinstalldir}> |
122 |
- Options None |
123 |
- AllowOverride None |
124 |
- Order allow,deny |
125 |
- Allow from all |
126 |
- </Directory> |
127 |
- EOF |
128 |
-} |
129 |
- |
130 |
-src_prepare() { |
131 |
- default |
132 |
- egit_clean |
133 |
-} |
134 |
- |
135 |
-src_install() { |
136 |
- local DOCS=( README* ) |
137 |
- use doc && local HTML_DOCS=( docs/html/* ) |
138 |
- default |
139 |
- if use examples; then |
140 |
- insinto /usr/share/${PN}/examples |
141 |
- doins -r test/* |
142 |
- fi |
143 |
- rm -r test docs LICENSE README* || die |
144 |
- |
145 |
- webinstalldir=/usr/share/${PN} |
146 |
- insinto ${webinstalldir} |
147 |
- doins -r * |
148 |
- |
149 |
- make_webconf MathJax.conf |
150 |
- insinto /etc/httpd/conf.d |
151 |
- doins MathJax.conf |
152 |
-} |