1 |
commit: 54fd9f4e171ad021d992a562cd3ee1437753b9ac |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 6 08:24:23 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 6 08:31:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54fd9f4e |
7 |
|
8 |
media-gfx/asymptote: drop 2.69-r2 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
media-gfx/asymptote/Manifest | 1 - |
13 |
media-gfx/asymptote/asymptote-2.69-r2.ebuild | 236 --------------------------- |
14 |
2 files changed, 237 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest |
17 |
index 6248930645c..36369ef5915 100644 |
18 |
--- a/media-gfx/asymptote/Manifest |
19 |
+++ b/media-gfx/asymptote/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST asymptote-2.69.src.tgz 4673601 BLAKE2B 9734ffec10c9c0b8053598402a4eb81a3ed8a48f8ce8e58d1720442be26e25fe7778d6d47cd2d29dae61183d15aaa456bca430ab98e951844c8210484226e67f SHA512 a1b746600b4e6880350e57adeb3a3228d10b1b0c1db11ee0e750545cf8023716eec92253c0cd0980747f72c16fd0097f25ee688657168f24a0def106260e0791 |
22 |
DIST asymptote-2.70.src.tgz 4674495 BLAKE2B 126b2e99222e6ae438aaef89df00b8eae19118c3ef42d2fab0b0117f343911939e680d22e903b784213186a5d2eeeecb112afba1467562e7127c34de4bc66773 SHA512 24d60af361e3f0309a896ce8163da6fc0a9d6587efe726c5acf874dcb74f4d51b4bad8146a615ff54173ef06dac53117fd1cc09c77940271adc9f64cac6bcfe6 |
23 |
|
24 |
diff --git a/media-gfx/asymptote/asymptote-2.69-r2.ebuild b/media-gfx/asymptote/asymptote-2.69-r2.ebuild |
25 |
deleted file mode 100644 |
26 |
index b603beb6086..00000000000 |
27 |
--- a/media-gfx/asymptote/asymptote-2.69-r2.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,236 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{7..9} ) |
36 |
- |
37 |
-inherit autotools elisp-common latex-package python-r1 |
38 |
- |
39 |
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing" |
40 |
-HOMEPAGE="https://asymptote.sourceforge.io/" |
41 |
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz" |
42 |
- |
43 |
-LICENSE="GPL-3" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
46 |
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X" |
47 |
-RESTRICT="!test? ( test )" |
48 |
- |
49 |
-REQUIRED_USE=" |
50 |
- ${PYTHON_REQUIRED_USE} |
51 |
- offscreen? ( opengl ) |
52 |
- doc? ( boehm-gc )" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- >=sys-libs/ncurses-5.4-r5:0= |
56 |
- >=sys-libs/readline-4.3-r5:0= |
57 |
- net-libs/libtirpc:= |
58 |
- imagemagick? ( media-gfx/imagemagick[png] ) |
59 |
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm ) |
60 |
- offscreen? ( media-libs/mesa[osmesa] ) |
61 |
- svg? ( app-text/dvisvgm ) |
62 |
- sigsegv? ( dev-libs/libsigsegv ) |
63 |
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] ) |
64 |
- fftw? ( >=sci-libs/fftw-3.0.1:= ) |
65 |
- gsl? ( sci-libs/gsl:= ) |
66 |
- python? ( ${PYTHON_DEPS} ) |
67 |
- curl? ( net-misc/curl ) |
68 |
- X? ( |
69 |
- ${PYTHON_DEPS} |
70 |
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg] |
71 |
- dev-python/numpy |
72 |
- dev-python/pycson |
73 |
- >=gnome-base/librsvg-2.40 |
74 |
- ) |
75 |
- latex? ( |
76 |
- virtual/latex-base |
77 |
- >=dev-texlive/texlive-latexextra-2013 |
78 |
- ) |
79 |
- context? ( dev-texlive/texlive-context ) |
80 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
81 |
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" |
82 |
-DEPEND="${RDEPEND} |
83 |
- dev-lang/perl |
84 |
- doc? ( |
85 |
- media-gfx/imagemagick[png] |
86 |
- virtual/texi2dvi |
87 |
- virtual/latex-base |
88 |
- app-text/ghostscript-gpl ) |
89 |
- test? ( app-text/ghostscript-gpl )" |
90 |
- |
91 |
-TEXMF=/usr/share/texmf-site |
92 |
- |
93 |
-PATCHES=( |
94 |
- # Changing pdf, ps, image viewers to xdg-open |
95 |
- "${FILESDIR}/${P}-xdg-utils.patch" |
96 |
- |
97 |
- # Bug #322473 |
98 |
- "${FILESDIR}/${P}-info.patch" |
99 |
-) |
100 |
- |
101 |
-src_prepare() { |
102 |
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \ |
103 |
- -i configure.ac \ |
104 |
- || die "sed configure.ac failed" |
105 |
- |
106 |
- default |
107 |
- eautoreconf |
108 |
-} |
109 |
- |
110 |
-src_configure() { |
111 |
- # for the CPPFLAGS see |
112 |
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349 |
113 |
- econf \ |
114 |
- CPPFLAGS=-DHAVE_SYS_TYPES_H \ |
115 |
- CFLAGS="${CXXFLAGS}" \ |
116 |
- --disable-gc-debug \ |
117 |
- --disable-gc-full-debug \ |
118 |
- --with-latex=/usr/share/texmf-site/tex/latex \ |
119 |
- --with-context=/usr/share/texmf-site/tex/context \ |
120 |
- $(use_enable boehm-gc gc system) \ |
121 |
- $(use_enable curl) \ |
122 |
- $(use_enable fftw) \ |
123 |
- $(use_enable gsl) \ |
124 |
- $(use_enable opengl gl) \ |
125 |
- $(use_enable offscreen) \ |
126 |
- $(use_enable sigsegv) |
127 |
-} |
128 |
- |
129 |
-src_compile() { |
130 |
- default |
131 |
- |
132 |
- cd doc || die |
133 |
- emake asy.1 |
134 |
- einfo "Making info" |
135 |
- cd png || die |
136 |
- emake ${PN}.info |
137 |
- cd .. || die |
138 |
- if use doc; then |
139 |
- cd FAQ || die |
140 |
- emake |
141 |
- cd .. || die |
142 |
- # pdf |
143 |
- einfo "Making pdf docs" |
144 |
- export VARTEXFONTS="${T}"/fonts |
145 |
- # see bug #260606 |
146 |
- emake -j1 asymptote.pdf |
147 |
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf |
148 |
- fi |
149 |
- cd .. || die |
150 |
- |
151 |
- if use emacs; then |
152 |
- einfo "Compiling emacs lisp files" |
153 |
- elisp-compile base/*.el |
154 |
- fi |
155 |
-} |
156 |
- |
157 |
-src_install() { |
158 |
- # the program |
159 |
- dobin asy |
160 |
- |
161 |
- # .asy files |
162 |
- insinto /usr/share/${PN} |
163 |
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl |
164 |
- chmod 755 "${D}"/usr/share/${PN}/shaders/* |
165 |
- |
166 |
- # documentation |
167 |
- dodoc README ReleaseNotes ChangeLog |
168 |
- cd doc || die |
169 |
- doman asy.1 |
170 |
- doinfo png/${PN}.info |
171 |
- if use doc; then |
172 |
- dodoc FAQ/asy-faq.ascii |
173 |
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf |
174 |
- fi |
175 |
- cd .. || die |
176 |
- |
177 |
- # asymptote.py |
178 |
- if use python; then |
179 |
- python_moduleinto ${PN} |
180 |
- python_foreach_impl python_domodule aspy.py |
181 |
- python_foreach_impl python_domodule base/${PN}.py |
182 |
- fi |
183 |
- |
184 |
- # X GUI |
185 |
- if use X; then |
186 |
- cd GUI || die |
187 |
- python_setup |
188 |
- sed -e 1d -i xasy.py |
189 |
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1 |
190 |
- cat xasy1 xasy.py > xasy |
191 |
- rm xasy1 xasy.py |
192 |
- mv xasy xasy.py |
193 |
- cd .. || die |
194 |
- python_domodule GUI |
195 |
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py" |
196 |
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy |
197 |
- doman doc/xasy.1x |
198 |
- fi |
199 |
- |
200 |
- # examples |
201 |
- if use examples; then |
202 |
- docinto examples |
203 |
- dodoc \ |
204 |
- examples/*.asy \ |
205 |
- examples/*.views \ |
206 |
- examples/*.dat \ |
207 |
- examples/*.bib \ |
208 |
- examples/*.png \ |
209 |
- examples/*.pdb1 \ |
210 |
- doc/*.asy \ |
211 |
- doc/*.csv \ |
212 |
- doc/*.dat \ |
213 |
- doc/pixel.pdf \ |
214 |
- doc/extra/*.asy |
215 |
- docinto examples/animations |
216 |
- dodoc examples/animations/*.asy |
217 |
- fi |
218 |
- |
219 |
- # LaTeX style |
220 |
- if use latex; then |
221 |
- cd doc || die |
222 |
- insinto "${TEXMF}"/tex/latex/${PN} |
223 |
- doins *.sty latexmkrc |
224 |
- if use examples; then |
225 |
- docinto examples |
226 |
- dodoc latexusage.tex externalprc.tex |
227 |
- docinto examples/animations |
228 |
- dodoc ../examples/animations/*.tex |
229 |
- fi |
230 |
- cd .. || die |
231 |
- fi |
232 |
- |
233 |
- # ConTeXt |
234 |
- if use context; then |
235 |
- insinto /usr/share/texmf-site/tex/context |
236 |
- doins doc/colo-asy.tex |
237 |
- fi |
238 |
- |
239 |
- # emacs mode |
240 |
- if use emacs; then |
241 |
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el |
242 |
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el |
243 |
- fi |
244 |
- |
245 |
- # vim syntax |
246 |
- if use vim-syntax; then |
247 |
- insinto /usr/share/vim/vimfiles/syntax |
248 |
- doins base/asy.vim |
249 |
- insinto /usr/share/vim/vimfiles/ftdetect |
250 |
- doins base/asy_filetype.vim |
251 |
- fi |
252 |
-} |
253 |
- |
254 |
-pkg_postinst() { |
255 |
- use latex && latex-package_rehash |
256 |
- use emacs && elisp-site-regen |
257 |
- |
258 |
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer' |
259 |
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer' |
260 |
-} |
261 |
- |
262 |
-pkg_postrm() { |
263 |
- use latex && latex-package_rehash |
264 |
- use emacs && elisp-site-regen |
265 |
-} |