Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aesara/
Date: Tue, 30 Aug 2022 04:30:49
Message-Id: 1661833780.c9394ee59993cdb8a399172912f40240f8b0f943.mgorny@gentoo
1 commit: c9394ee59993cdb8a399172912f40240f8b0f943
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 29 17:00:52 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 30 04:29:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9394ee5
7
8 dev-python/aesara: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/aesara/Manifest | 5 --
13 dev-python/aesara/aesara-2.7.3.ebuild | 92 ---------------------------------
14 dev-python/aesara/aesara-2.7.5.ebuild | 92 ---------------------------------
15 dev-python/aesara/aesara-2.7.6.ebuild | 92 ---------------------------------
16 dev-python/aesara/aesara-2.7.7.ebuild | 95 ----------------------------------
17 dev-python/aesara/aesara-2.7.8.ebuild | 96 -----------------------------------
18 6 files changed, 472 deletions(-)
19
20 diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest
21 index 56890b3af396..9971305aed89 100644
22 --- a/dev-python/aesara/Manifest
23 +++ b/dev-python/aesara/Manifest
24 @@ -1,6 +1 @@
25 -DIST aesara-rel-2.7.3.gh.tar.gz 7918433 BLAKE2B 5f0eaa5cb241db3fb59bfd5fda0566811cb72e5dc902e15aaa269aa5fea35be1c5c51ef7515a386aa9cb20f769ad793a005e85e9b14d10b8be046788842ee496 SHA512 ffd1a830b69196537c62b21d6307f6d0f0a93f0a23fb0bacbf17934d2e5a454a93d72d33d0e28eec6b49e917770df5fc43134453e0bf1bd8433ee52ce22935be
26 -DIST aesara-rel-2.7.5.gh.tar.gz 7920343 BLAKE2B 04f7c1cf587799b915a54067a98608cee49de8ab8a50c6d8434aa7ad6bd27b547f9e4a4f71d459d8fca9805f97232a9ba4a1beb5240a8e89dd19f807da2b2957 SHA512 c68dc6e2893d2749d6ec3a74b850979f0766ac65c34bf07af3c0f1a16874e44f5102e1d036a88a7a43f51a44d3fffd65babf67373982362b034a2410124d4aad
27 -DIST aesara-rel-2.7.6.gh.tar.gz 7917317 BLAKE2B 21f801bebfe207586482b7eddb2fb1a2d812cb7c9bb28f2a7bc96543dabbe7ea7aa16781636d9e52d8abd389c8c148b3ae16696214d2914b702bb9dce114f149 SHA512 719d6ded6a058b739b3f2dcd734ef785b05eb07dec152c523d2ace7c5e9dd05d1550113f10e114b63b72d3a697900763c6f1e753db9c8d01a6c877fc5d3c2732
28 -DIST aesara-rel-2.7.7.gh.tar.gz 7918070 BLAKE2B 70a48fdeac8be6c070850294101aa379652f26c2ff7c9723232d6aea31b3aa52675299c2f85fb6e1b5a4c5dfc020f12d72bf1e8b5ddc1d487e750c2ad7583d8c SHA512 2a1e4488aab1dbef71537871cc9a2060d4e760a1b4dfc74ed1d4d2b2acf6a030c4ee27c9f464934219630eaffde4431571a4424bf27f6ee53a80b7bfc1fdfa2b
29 -DIST aesara-rel-2.7.8.gh.tar.gz 7918625 BLAKE2B 89f600e6b053526b8a214246746138066e2937633e132e68eef52e5dffa33509d4eee48f513077128e865f265a4e4b0ebe727dce5ed699c3f445b6850966c3c5 SHA512 33d57a5679480176cd814f6f5a36dc83ab0fe5f704a60ced2beceb10a4684bba7464f0d9473adc65541b755d3a5850af61d5ac8d8303f31d9c6718109ee331e1
30 DIST aesara-rel-2.7.9.gh.tar.gz 7919763 BLAKE2B f877edcc824f3d790a56422a0fa660e8e3f653fff7e3d87ef4a95fa76369b1bb5df351a571ea039d66d79c0f564512437672df76c3b82e7d660c865cf908dea3 SHA512 061f7e39343eb081b28dd20b1eb7ffc226b7e4b96695d5beb9e28eb3f5ec9480c02c7889c932290248baa908dc0047c19e4cef3c220eccc4cc617b2050a9614e
31
32 diff --git a/dev-python/aesara/aesara-2.7.3.ebuild b/dev-python/aesara/aesara-2.7.3.ebuild
33 deleted file mode 100644
34 index 1dfecd243cd1..000000000000
35 --- a/dev-python/aesara/aesara-2.7.3.ebuild
36 +++ /dev/null
37 @@ -1,92 +0,0 @@
38 -# Copyright 2021-2022 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=8
42 -
43 -DISTUTILS_USE_PEP517=setuptools
44 -PYTHON_COMPAT=( python3_{8..10} )
45 -
46 -inherit distutils-r1 multiprocessing optfeature
47 -
48 -MY_P=aesara-rel-${PV}
49 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
50 -HOMEPAGE="
51 - https://github.com/aesara-devs/aesara/
52 - https://pypi.org/project/aesara/
53 -"
54 -SRC_URI="
55 - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz
56 - -> ${MY_P}.gh.tar.gz
57 -"
58 -S=${WORKDIR}/${MY_P}
59 -
60 -LICENSE="BSD"
61 -SLOT="0"
62 -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
63 -
64 -RDEPEND="
65 - dev-python/cons[${PYTHON_USEDEP}]
66 - dev-python/etuples[${PYTHON_USEDEP}]
67 - dev-python/logical-unification[${PYTHON_USEDEP}]
68 - dev-python/minikanren[${PYTHON_USEDEP}]
69 - dev-python/filelock[${PYTHON_USEDEP}]
70 - <dev-python/numpy-1.23[${PYTHON_USEDEP}]
71 - dev-python/six[${PYTHON_USEDEP}]
72 - dev-python/scipy[${PYTHON_USEDEP}]
73 - dev-python/typing-extensions[${PYTHON_USEDEP}]
74 -"
75 -BDEPEND="
76 - test? (
77 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
78 - )
79 -"
80 -
81 -PATCHES=(
82 - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch
83 -)
84 -
85 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
86 -distutils_enable_tests pytest
87 -
88 -python_test() {
89 - local EPYTEST_DESELECT=(
90 - # speed tests are unreliable
91 - tests/scan/test_basic.py::test_speed
92 - tests/scan/test_basic.py::test_speed_rnn
93 - tests/scan/test_basic.py::test_speed_batchrnn
94 - tests/link/test_vm.py::test_speed
95 - tests/link/test_vm.py::test_speed_lazy
96 - tests/tensor/test_gc.py::test_merge_opt_runtime
97 -
98 - # rounding problem?
99 - # https://github.com/aesara-devs/aesara/issues/477
100 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
101 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
102 - )
103 - local EPYTEST_IGNORE=(
104 - # we do not package numba
105 - tests/link/test_numba.py
106 - tests/link/test_numba_performance.py
107 - # ..or jax
108 - tests/link/test_jax.py
109 - )
110 -
111 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
112 - local -x AESARA_FLAGS="cxx=${CXX}"
113 - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\""
114 - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"'
115 -
116 - epytest -p xdist.plugin -n "$(makeopts_jobs)"
117 - # clean up the compiledir, as it can grow pretty large
118 - rm -r "${HOME}"/.aesara || die
119 -}
120 -
121 -python_compile() {
122 - distutils-r1_python_compile
123 - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
124 -}
125 -
126 -pkg_postinst() {
127 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
128 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
129 -}
130
131 diff --git a/dev-python/aesara/aesara-2.7.5.ebuild b/dev-python/aesara/aesara-2.7.5.ebuild
132 deleted file mode 100644
133 index 5dfa54ec6053..000000000000
134 --- a/dev-python/aesara/aesara-2.7.5.ebuild
135 +++ /dev/null
136 @@ -1,92 +0,0 @@
137 -# Copyright 2021-2022 Gentoo Authors
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI=8
141 -
142 -DISTUTILS_USE_PEP517=setuptools
143 -PYTHON_COMPAT=( python3_{8..10} )
144 -
145 -inherit distutils-r1 multiprocessing optfeature
146 -
147 -MY_P=aesara-rel-${PV}
148 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
149 -HOMEPAGE="
150 - https://github.com/aesara-devs/aesara/
151 - https://pypi.org/project/aesara/
152 -"
153 -SRC_URI="
154 - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz
155 - -> ${MY_P}.gh.tar.gz
156 -"
157 -S=${WORKDIR}/${MY_P}
158 -
159 -LICENSE="BSD"
160 -SLOT="0"
161 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
162 -
163 -RDEPEND="
164 - dev-python/cons[${PYTHON_USEDEP}]
165 - dev-python/etuples[${PYTHON_USEDEP}]
166 - dev-python/logical-unification[${PYTHON_USEDEP}]
167 - dev-python/minikanren[${PYTHON_USEDEP}]
168 - dev-python/filelock[${PYTHON_USEDEP}]
169 - <dev-python/numpy-1.23[${PYTHON_USEDEP}]
170 - dev-python/six[${PYTHON_USEDEP}]
171 - dev-python/scipy[${PYTHON_USEDEP}]
172 - dev-python/typing-extensions[${PYTHON_USEDEP}]
173 -"
174 -BDEPEND="
175 - test? (
176 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
177 - )
178 -"
179 -
180 -PATCHES=(
181 - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch
182 -)
183 -
184 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
185 -distutils_enable_tests pytest
186 -
187 -python_test() {
188 - local EPYTEST_DESELECT=(
189 - # speed tests are unreliable
190 - tests/scan/test_basic.py::test_speed
191 - tests/scan/test_basic.py::test_speed_rnn
192 - tests/scan/test_basic.py::test_speed_batchrnn
193 - tests/link/test_vm.py::test_speed
194 - tests/link/test_vm.py::test_speed_lazy
195 - tests/tensor/test_gc.py::test_merge_opt_runtime
196 -
197 - # rounding problem?
198 - # https://github.com/aesara-devs/aesara/issues/477
199 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
200 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
201 - )
202 - local EPYTEST_IGNORE=(
203 - # we do not package numba
204 - tests/link/test_numba.py
205 - tests/link/test_numba_performance.py
206 - # ..or jax
207 - tests/link/test_jax.py
208 - )
209 -
210 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
211 - local -x AESARA_FLAGS="cxx=${CXX}"
212 - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\""
213 - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"'
214 -
215 - epytest -p xdist.plugin -n "$(makeopts_jobs)"
216 - # clean up the compiledir, as it can grow pretty large
217 - rm -r "${HOME}"/.aesara || die
218 -}
219 -
220 -python_compile() {
221 - distutils-r1_python_compile
222 - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
223 -}
224 -
225 -pkg_postinst() {
226 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
227 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
228 -}
229
230 diff --git a/dev-python/aesara/aesara-2.7.6.ebuild b/dev-python/aesara/aesara-2.7.6.ebuild
231 deleted file mode 100644
232 index 5dfa54ec6053..000000000000
233 --- a/dev-python/aesara/aesara-2.7.6.ebuild
234 +++ /dev/null
235 @@ -1,92 +0,0 @@
236 -# Copyright 2021-2022 Gentoo Authors
237 -# Distributed under the terms of the GNU General Public License v2
238 -
239 -EAPI=8
240 -
241 -DISTUTILS_USE_PEP517=setuptools
242 -PYTHON_COMPAT=( python3_{8..10} )
243 -
244 -inherit distutils-r1 multiprocessing optfeature
245 -
246 -MY_P=aesara-rel-${PV}
247 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
248 -HOMEPAGE="
249 - https://github.com/aesara-devs/aesara/
250 - https://pypi.org/project/aesara/
251 -"
252 -SRC_URI="
253 - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz
254 - -> ${MY_P}.gh.tar.gz
255 -"
256 -S=${WORKDIR}/${MY_P}
257 -
258 -LICENSE="BSD"
259 -SLOT="0"
260 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
261 -
262 -RDEPEND="
263 - dev-python/cons[${PYTHON_USEDEP}]
264 - dev-python/etuples[${PYTHON_USEDEP}]
265 - dev-python/logical-unification[${PYTHON_USEDEP}]
266 - dev-python/minikanren[${PYTHON_USEDEP}]
267 - dev-python/filelock[${PYTHON_USEDEP}]
268 - <dev-python/numpy-1.23[${PYTHON_USEDEP}]
269 - dev-python/six[${PYTHON_USEDEP}]
270 - dev-python/scipy[${PYTHON_USEDEP}]
271 - dev-python/typing-extensions[${PYTHON_USEDEP}]
272 -"
273 -BDEPEND="
274 - test? (
275 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
276 - )
277 -"
278 -
279 -PATCHES=(
280 - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch
281 -)
282 -
283 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
284 -distutils_enable_tests pytest
285 -
286 -python_test() {
287 - local EPYTEST_DESELECT=(
288 - # speed tests are unreliable
289 - tests/scan/test_basic.py::test_speed
290 - tests/scan/test_basic.py::test_speed_rnn
291 - tests/scan/test_basic.py::test_speed_batchrnn
292 - tests/link/test_vm.py::test_speed
293 - tests/link/test_vm.py::test_speed_lazy
294 - tests/tensor/test_gc.py::test_merge_opt_runtime
295 -
296 - # rounding problem?
297 - # https://github.com/aesara-devs/aesara/issues/477
298 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
299 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
300 - )
301 - local EPYTEST_IGNORE=(
302 - # we do not package numba
303 - tests/link/test_numba.py
304 - tests/link/test_numba_performance.py
305 - # ..or jax
306 - tests/link/test_jax.py
307 - )
308 -
309 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
310 - local -x AESARA_FLAGS="cxx=${CXX}"
311 - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\""
312 - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"'
313 -
314 - epytest -p xdist.plugin -n "$(makeopts_jobs)"
315 - # clean up the compiledir, as it can grow pretty large
316 - rm -r "${HOME}"/.aesara || die
317 -}
318 -
319 -python_compile() {
320 - distutils-r1_python_compile
321 - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
322 -}
323 -
324 -pkg_postinst() {
325 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
326 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
327 -}
328
329 diff --git a/dev-python/aesara/aesara-2.7.7.ebuild b/dev-python/aesara/aesara-2.7.7.ebuild
330 deleted file mode 100644
331 index 140561cc6d20..000000000000
332 --- a/dev-python/aesara/aesara-2.7.7.ebuild
333 +++ /dev/null
334 @@ -1,95 +0,0 @@
335 -# Copyright 2021-2022 Gentoo Authors
336 -# Distributed under the terms of the GNU General Public License v2
337 -
338 -EAPI=8
339 -
340 -DISTUTILS_USE_PEP517=setuptools
341 -PYTHON_COMPAT=( python3_{8..10} )
342 -
343 -inherit distutils-r1 multiprocessing optfeature
344 -
345 -MY_P=aesara-rel-${PV}
346 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
347 -HOMEPAGE="
348 - https://github.com/aesara-devs/aesara/
349 - https://pypi.org/project/aesara/
350 -"
351 -SRC_URI="
352 - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz
353 - -> ${MY_P}.gh.tar.gz
354 -"
355 -S=${WORKDIR}/${MY_P}
356 -
357 -LICENSE="BSD"
358 -SLOT="0"
359 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
360 -
361 -RDEPEND="
362 - dev-python/cons[${PYTHON_USEDEP}]
363 - dev-python/etuples[${PYTHON_USEDEP}]
364 - dev-python/logical-unification[${PYTHON_USEDEP}]
365 - dev-python/minikanren[${PYTHON_USEDEP}]
366 - dev-python/filelock[${PYTHON_USEDEP}]
367 - <dev-python/numpy-1.23[${PYTHON_USEDEP}]
368 - dev-python/six[${PYTHON_USEDEP}]
369 - dev-python/scipy[${PYTHON_USEDEP}]
370 - dev-python/typing-extensions[${PYTHON_USEDEP}]
371 -"
372 -BDEPEND="
373 - test? (
374 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
375 - )
376 -"
377 -
378 -PATCHES=(
379 - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch
380 -)
381 -
382 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
383 -distutils_enable_tests pytest
384 -
385 -python_test() {
386 - local EPYTEST_DESELECT=(
387 - # speed tests are unreliable
388 - tests/scan/test_basic.py::test_speed
389 - tests/scan/test_basic.py::test_speed_rnn
390 - tests/scan/test_basic.py::test_speed_batchrnn
391 - tests/link/test_vm.py::test_speed
392 - tests/link/test_vm.py::test_speed_lazy
393 - tests/tensor/test_gc.py::test_merge_opt_runtime
394 -
395 - # rounding problem?
396 - # https://github.com/aesara-devs/aesara/issues/477
397 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
398 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
399 -
400 - # dunno
401 - 'tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak[False]'
402 - )
403 - local EPYTEST_IGNORE=(
404 - # we do not package numba
405 - tests/link/test_numba.py
406 - tests/link/test_numba_performance.py
407 - # ..or jax
408 - tests/link/test_jax.py
409 - )
410 -
411 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
412 - local -x AESARA_FLAGS="cxx=${CXX}"
413 - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\""
414 - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"'
415 -
416 - epytest -p xdist.plugin -n "$(makeopts_jobs)"
417 - # clean up the compiledir, as it can grow pretty large
418 - rm -r "${HOME}"/.aesara || die
419 -}
420 -
421 -python_compile() {
422 - distutils-r1_python_compile
423 - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
424 -}
425 -
426 -pkg_postinst() {
427 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
428 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
429 -}
430
431 diff --git a/dev-python/aesara/aesara-2.7.8.ebuild b/dev-python/aesara/aesara-2.7.8.ebuild
432 deleted file mode 100644
433 index 88ef6a3516d2..000000000000
434 --- a/dev-python/aesara/aesara-2.7.8.ebuild
435 +++ /dev/null
436 @@ -1,96 +0,0 @@
437 -# Copyright 2021-2022 Gentoo Authors
438 -# Distributed under the terms of the GNU General Public License v2
439 -
440 -EAPI=8
441 -
442 -DISTUTILS_USE_PEP517=setuptools
443 -PYTHON_COMPAT=( python3_{8..10} )
444 -
445 -inherit distutils-r1 multiprocessing optfeature
446 -
447 -MY_P=aesara-rel-${PV}
448 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
449 -HOMEPAGE="
450 - https://github.com/aesara-devs/aesara/
451 - https://pypi.org/project/aesara/
452 -"
453 -SRC_URI="
454 - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz
455 - -> ${MY_P}.gh.tar.gz
456 -"
457 -S=${WORKDIR}/${MY_P}
458 -
459 -LICENSE="BSD"
460 -SLOT="0"
461 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
462 -
463 -RDEPEND="
464 - dev-python/cons[${PYTHON_USEDEP}]
465 - dev-python/etuples[${PYTHON_USEDEP}]
466 - dev-python/logical-unification[${PYTHON_USEDEP}]
467 - dev-python/minikanren[${PYTHON_USEDEP}]
468 - dev-python/filelock[${PYTHON_USEDEP}]
469 - <dev-python/numpy-1.23[${PYTHON_USEDEP}]
470 - dev-python/six[${PYTHON_USEDEP}]
471 - dev-python/scipy[${PYTHON_USEDEP}]
472 - >=dev-python/setuptools-45[${PYTHON_USEDEP}]
473 - dev-python/typing-extensions[${PYTHON_USEDEP}]
474 -"
475 -BDEPEND="
476 - test? (
477 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
478 - )
479 -"
480 -
481 -PATCHES=(
482 - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch
483 -)
484 -
485 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
486 -distutils_enable_tests pytest
487 -
488 -python_test() {
489 - local EPYTEST_DESELECT=(
490 - # speed tests are unreliable
491 - tests/scan/test_basic.py::test_speed
492 - tests/scan/test_basic.py::test_speed_rnn
493 - tests/scan/test_basic.py::test_speed_batchrnn
494 - tests/link/test_vm.py::test_speed
495 - tests/link/test_vm.py::test_speed_lazy
496 - tests/tensor/test_gc.py::test_merge_opt_runtime
497 -
498 - # rounding problem?
499 - # https://github.com/aesara-devs/aesara/issues/477
500 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
501 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
502 -
503 - # dunno
504 - 'tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak[False]'
505 - )
506 - local EPYTEST_IGNORE=(
507 - # we do not package numba
508 - tests/link/test_numba.py
509 - tests/link/test_numba_performance.py
510 - # ..or jax
511 - tests/link/test_jax.py
512 - )
513 -
514 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
515 - local -x AESARA_FLAGS="cxx=${CXX}"
516 - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\""
517 - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"'
518 -
519 - epytest -p xdist.plugin -n "$(makeopts_jobs)"
520 - # clean up the compiledir, as it can grow pretty large
521 - rm -r "${HOME}"/.aesara || die
522 -}
523 -
524 -python_compile() {
525 - distutils-r1_python_compile
526 - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
527 -}
528 -
529 -pkg_postinst() {
530 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
531 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
532 -}