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: Fri, 27 May 2022 19:48:26
Message-Id: 1653680856.2762e48a05534be06d6bea4a143fa0189f8f78be.mgorny@gentoo
1 commit: 2762e48a05534be06d6bea4a143fa0189f8f78be
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 27 19:47:36 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 27 19:47:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2762e48a
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 | 4 --
13 dev-python/aesara/aesara-2.5.3.ebuild | 74 ----------------------------
14 dev-python/aesara/aesara-2.6.3.ebuild | 80 ------------------------------
15 dev-python/aesara/aesara-2.6.4.ebuild | 80 ------------------------------
16 dev-python/aesara/aesara-2.6.5.ebuild | 91 -----------------------------------
17 5 files changed, 329 deletions(-)
18
19 diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest
20 index 066089c6944c..172856538f01 100644
21 --- a/dev-python/aesara/Manifest
22 +++ b/dev-python/aesara/Manifest
23 @@ -1,5 +1 @@
24 -DIST aesara-rel-2.5.3.tar.gz 8191431 BLAKE2B 698bc3b6f7e84288be3318796989d13d7de92f72c66abfa83b14c08f6310f974f7381d729e712c2bd5e76f398d74a3c5dc03d7515a22254261312e586e3fd461 SHA512 5c1ad9d6ad1fb58be1477713d863f2b1371544ea8293d8e9e1a690860a0483b83c9558827856a2546498bab26360f141a5ee97d4c7f3f2aad773e84f9766a59b
25 -DIST aesara-rel-2.6.3.tar.gz 7845423 BLAKE2B 66b84a10337efc01e37d82793da56b61b1825829d982e24e0f93ebb67cd3c22e5bb2e37c71ab8bd9648b039efaf4c667dc53df2a9613ba9370c2138eb74ca400 SHA512 e0a804c0c3c1cd24753a237c386df9600d2b01cf4991aeca3d794df4068f584a9ab5341b72fa5695ccb9d06f1e4954f450436e3a7ebe4c2efc1354a5c2e5979d
26 -DIST aesara-rel-2.6.4.tar.gz 7845688 BLAKE2B bfd0222c2a8d8e22abb56b785b73a121032832417562046445b8e0b2f6461326ba760d1839fd1acac2215a1547ed48d613998cb4915a07521f4d976a32a811b9 SHA512 a9f47bb4718fab974a35d7eab1b2a5ab8ea7d911dd9d92a791763a659f96b52b9832532e5e13aad10ac8e2f0927d2cc3e97c09e84046fee125925b3ac2898893
27 -DIST aesara-rel-2.6.5.tar.gz 7849097 BLAKE2B 85bc1579cd22ccc35f727ede3b337d1bdb613924f7568ac403ca1d2da42e442006afdd80e8eaeed14e0c2bd7a550127b9474b9424ffe800426203e1e31e65256 SHA512 cb5ff0f8c5a475ab733000df9d96ea3410c5760f263bb8a8f1de093f47fca3d7428d37253ae114d61d925777e98ab0c8f698f7864615ea32fe20efe6fc5042a4
28 DIST aesara-rel-2.6.6.tar.gz 7847814 BLAKE2B e4edd575d49f548fab0ef971dbab88beeb43859ec7b80612145ed490b31d6e7dc6b6818653396938124a22fa2f54f8d151c5039cc2e9c9070c88cce9cb1c5596 SHA512 028a208fc7e5921ce1df34dd23a42cf90d419e06f0192d9a006ebfb8c5f36e35e347214e53f53e688a1144063c7f4853a8cd44eef6fc205225147116839008de
29
30 diff --git a/dev-python/aesara/aesara-2.5.3.ebuild b/dev-python/aesara/aesara-2.5.3.ebuild
31 deleted file mode 100644
32 index 22962f0d5f3e..000000000000
33 --- a/dev-python/aesara/aesara-2.5.3.ebuild
34 +++ /dev/null
35 @@ -1,74 +0,0 @@
36 -# Copyright 2021-2022 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=8
40 -
41 -DISTUTILS_USE_PEP517=setuptools
42 -PYTHON_COMPAT=( python3_{8..10} )
43 -
44 -inherit distutils-r1 multiprocessing optfeature
45 -
46 -MY_P=aesara-rel-${PV}
47 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
48 -HOMEPAGE="https://github.com/aesara-devs/aesara"
49 -SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
50 -S="${WORKDIR}/${MY_P}"
51 -
52 -LICENSE="BSD"
53 -SLOT="0"
54 -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
55 -
56 -RDEPEND="
57 - dev-python/cons[${PYTHON_USEDEP}]
58 - dev-python/etuples[${PYTHON_USEDEP}]
59 - dev-python/logical-unification[${PYTHON_USEDEP}]
60 - dev-python/minikanren[${PYTHON_USEDEP}]
61 - dev-python/filelock[${PYTHON_USEDEP}]
62 - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
63 - dev-python/six[${PYTHON_USEDEP}]
64 - dev-python/scipy[${PYTHON_USEDEP}]
65 - dev-python/typing-extensions[${PYTHON_USEDEP}]
66 -"
67 -BDEPEND="
68 - test? (
69 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
70 - )
71 -"
72 -
73 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
74 -distutils_enable_tests pytest
75 -
76 -python_test() {
77 - local EPYTEST_DESELECT=(
78 - # speed tests are unreliable
79 - tests/scan/test_basic.py::test_speed
80 - tests/scan/test_basic.py::test_speed_rnn
81 - tests/scan/test_basic.py::test_speed_batchrnn
82 - tests/link/test_vm.py::test_speed
83 - tests/link/test_vm.py::test_speed_lazy
84 - tests/tensor/test_gc.py::test_merge_opt_runtime
85 -
86 - # rounding problem?
87 - # https://github.com/aesara-devs/aesara/issues/477
88 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
89 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
90 - )
91 - local EPYTEST_IGNORE=(
92 - # we do not package numba
93 - tests/link/test_numba.py
94 - tests/link/test_numba_performance.py
95 - )
96 -
97 - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
98 -}
99 -
100 -python_compile() {
101 - esetup.py build_py
102 - distutils-r1_python_compile
103 - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
104 -}
105 -
106 -pkg_postinst() {
107 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
108 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
109 -}
110
111 diff --git a/dev-python/aesara/aesara-2.6.3.ebuild b/dev-python/aesara/aesara-2.6.3.ebuild
112 deleted file mode 100644
113 index 5bcb330fb0af..000000000000
114 --- a/dev-python/aesara/aesara-2.6.3.ebuild
115 +++ /dev/null
116 @@ -1,80 +0,0 @@
117 -# Copyright 2021-2022 Gentoo Authors
118 -# Distributed under the terms of the GNU General Public License v2
119 -
120 -EAPI=8
121 -
122 -DISTUTILS_USE_PEP517=setuptools
123 -PYTHON_COMPAT=( python3_{8..10} )
124 -
125 -inherit distutils-r1 multiprocessing optfeature
126 -
127 -MY_P=aesara-rel-${PV}
128 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
129 -HOMEPAGE="
130 - https://github.com/aesara-devs/aesara/
131 - https://pypi.org/project/aesara/
132 -"
133 -SRC_URI="
134 - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz
135 - -> ${MY_P}.tar.gz
136 -"
137 -S="${WORKDIR}/${MY_P}"
138 -
139 -LICENSE="BSD"
140 -SLOT="0"
141 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
142 -
143 -RDEPEND="
144 - dev-python/cons[${PYTHON_USEDEP}]
145 - dev-python/etuples[${PYTHON_USEDEP}]
146 - dev-python/logical-unification[${PYTHON_USEDEP}]
147 - dev-python/minikanren[${PYTHON_USEDEP}]
148 - dev-python/filelock[${PYTHON_USEDEP}]
149 - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
150 - dev-python/six[${PYTHON_USEDEP}]
151 - dev-python/scipy[${PYTHON_USEDEP}]
152 - dev-python/typing-extensions[${PYTHON_USEDEP}]
153 -"
154 -BDEPEND="
155 - test? (
156 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
157 - )
158 -"
159 -
160 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
161 -distutils_enable_tests pytest
162 -
163 -python_test() {
164 - local EPYTEST_DESELECT=(
165 - # speed tests are unreliable
166 - tests/scan/test_basic.py::test_speed
167 - tests/scan/test_basic.py::test_speed_rnn
168 - tests/scan/test_basic.py::test_speed_batchrnn
169 - tests/link/test_vm.py::test_speed
170 - tests/link/test_vm.py::test_speed_lazy
171 - tests/tensor/test_gc.py::test_merge_opt_runtime
172 -
173 - # rounding problem?
174 - # https://github.com/aesara-devs/aesara/issues/477
175 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
176 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
177 - )
178 - local EPYTEST_IGNORE=(
179 - # we do not package numba
180 - tests/link/test_numba.py
181 - tests/link/test_numba_performance.py
182 - )
183 -
184 - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
185 -}
186 -
187 -python_compile() {
188 - esetup.py build_py
189 - distutils-r1_python_compile
190 - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
191 -}
192 -
193 -pkg_postinst() {
194 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
195 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
196 -}
197
198 diff --git a/dev-python/aesara/aesara-2.6.4.ebuild b/dev-python/aesara/aesara-2.6.4.ebuild
199 deleted file mode 100644
200 index 5bcb330fb0af..000000000000
201 --- a/dev-python/aesara/aesara-2.6.4.ebuild
202 +++ /dev/null
203 @@ -1,80 +0,0 @@
204 -# Copyright 2021-2022 Gentoo Authors
205 -# Distributed under the terms of the GNU General Public License v2
206 -
207 -EAPI=8
208 -
209 -DISTUTILS_USE_PEP517=setuptools
210 -PYTHON_COMPAT=( python3_{8..10} )
211 -
212 -inherit distutils-r1 multiprocessing optfeature
213 -
214 -MY_P=aesara-rel-${PV}
215 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
216 -HOMEPAGE="
217 - https://github.com/aesara-devs/aesara/
218 - https://pypi.org/project/aesara/
219 -"
220 -SRC_URI="
221 - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz
222 - -> ${MY_P}.tar.gz
223 -"
224 -S="${WORKDIR}/${MY_P}"
225 -
226 -LICENSE="BSD"
227 -SLOT="0"
228 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
229 -
230 -RDEPEND="
231 - dev-python/cons[${PYTHON_USEDEP}]
232 - dev-python/etuples[${PYTHON_USEDEP}]
233 - dev-python/logical-unification[${PYTHON_USEDEP}]
234 - dev-python/minikanren[${PYTHON_USEDEP}]
235 - dev-python/filelock[${PYTHON_USEDEP}]
236 - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
237 - dev-python/six[${PYTHON_USEDEP}]
238 - dev-python/scipy[${PYTHON_USEDEP}]
239 - dev-python/typing-extensions[${PYTHON_USEDEP}]
240 -"
241 -BDEPEND="
242 - test? (
243 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
244 - )
245 -"
246 -
247 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
248 -distutils_enable_tests pytest
249 -
250 -python_test() {
251 - local EPYTEST_DESELECT=(
252 - # speed tests are unreliable
253 - tests/scan/test_basic.py::test_speed
254 - tests/scan/test_basic.py::test_speed_rnn
255 - tests/scan/test_basic.py::test_speed_batchrnn
256 - tests/link/test_vm.py::test_speed
257 - tests/link/test_vm.py::test_speed_lazy
258 - tests/tensor/test_gc.py::test_merge_opt_runtime
259 -
260 - # rounding problem?
261 - # https://github.com/aesara-devs/aesara/issues/477
262 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
263 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
264 - )
265 - local EPYTEST_IGNORE=(
266 - # we do not package numba
267 - tests/link/test_numba.py
268 - tests/link/test_numba_performance.py
269 - )
270 -
271 - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
272 -}
273 -
274 -python_compile() {
275 - esetup.py build_py
276 - distutils-r1_python_compile
277 - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
278 -}
279 -
280 -pkg_postinst() {
281 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
282 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
283 -}
284
285 diff --git a/dev-python/aesara/aesara-2.6.5.ebuild b/dev-python/aesara/aesara-2.6.5.ebuild
286 deleted file mode 100644
287 index 5010ebf96928..000000000000
288 --- a/dev-python/aesara/aesara-2.6.5.ebuild
289 +++ /dev/null
290 @@ -1,91 +0,0 @@
291 -# Copyright 2021-2022 Gentoo Authors
292 -# Distributed under the terms of the GNU General Public License v2
293 -
294 -EAPI=8
295 -
296 -DISTUTILS_USE_PEP517=setuptools
297 -PYTHON_COMPAT=( python3_{8..10} )
298 -
299 -inherit distutils-r1 multiprocessing optfeature
300 -
301 -MY_P=aesara-rel-${PV}
302 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
303 -HOMEPAGE="
304 - https://github.com/aesara-devs/aesara/
305 - https://pypi.org/project/aesara/
306 -"
307 -SRC_URI="
308 - https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz
309 - -> ${MY_P}.tar.gz
310 -"
311 -S=${WORKDIR}/${MY_P}
312 -
313 -LICENSE="BSD"
314 -SLOT="0"
315 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
316 -
317 -RDEPEND="
318 - dev-python/cons[${PYTHON_USEDEP}]
319 - dev-python/etuples[${PYTHON_USEDEP}]
320 - dev-python/logical-unification[${PYTHON_USEDEP}]
321 - dev-python/minikanren[${PYTHON_USEDEP}]
322 - dev-python/filelock[${PYTHON_USEDEP}]
323 - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
324 - dev-python/six[${PYTHON_USEDEP}]
325 - dev-python/scipy[${PYTHON_USEDEP}]
326 - dev-python/typing-extensions[${PYTHON_USEDEP}]
327 -"
328 -BDEPEND="
329 - test? (
330 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
331 - )
332 -"
333 -
334 -PATCHES=(
335 - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch
336 -)
337 -
338 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
339 -distutils_enable_tests pytest
340 -
341 -python_test() {
342 - local EPYTEST_DESELECT=(
343 - # speed tests are unreliable
344 - tests/scan/test_basic.py::test_speed
345 - tests/scan/test_basic.py::test_speed_rnn
346 - tests/scan/test_basic.py::test_speed_batchrnn
347 - tests/link/test_vm.py::test_speed
348 - tests/link/test_vm.py::test_speed_lazy
349 - tests/tensor/test_gc.py::test_merge_opt_runtime
350 -
351 - # rounding problem?
352 - # https://github.com/aesara-devs/aesara/issues/477
353 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
354 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
355 - )
356 - local EPYTEST_IGNORE=(
357 - # we do not package numba
358 - tests/link/test_numba.py
359 - tests/link/test_numba_performance.py
360 - )
361 -
362 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
363 - local -x AESARA_FLAGS="cxx=${CXX}"
364 - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\""
365 - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"'
366 -
367 - epytest -p xdist.plugin -n "$(makeopts_jobs)"
368 - # clean up the compiledir, as it can grow pretty large
369 - rm -r "${HOME}"/.aesara || die
370 -}
371 -
372 -python_compile() {
373 - esetup.py build_py
374 - distutils-r1_python_compile
375 - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
376 -}
377 -
378 -pkg_postinst() {
379 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
380 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
381 -}