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: Sun, 04 Jul 2021 07:39:01
Message-Id: 1625384332.8a5b0d4e3144d937bdf6e8b555a9e7e25a969b2d.mgorny@gentoo
1 commit: 8a5b0d4e3144d937bdf6e8b555a9e7e25a969b2d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 4 07:04:37 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 4 07:38:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5b0d4e
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 | 1 -
13 dev-python/aesara/aesara-2.0.8.ebuild | 65 -----------------------------------
14 2 files changed, 66 deletions(-)
15
16 diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest
17 index 70cfe164551..b30c1b548c0 100644
18 --- a/dev-python/aesara/Manifest
19 +++ b/dev-python/aesara/Manifest
20 @@ -1,3 +1,2 @@
21 DIST aesara-rel-2.0.10.tar.gz 8038338 BLAKE2B 411623fe6299c9f037a733ff44324c747a3ea1bd71f2d3ca8fad747ec4be0d0dd9a3991f0996ee2e723ec9bb44ba9b47606e3a2cf5f9e6beb27bfa39752b1f1f SHA512 c29a352f2fe85cf5f452fcf7b62d2ccefcac37cfec5336a5b14041cfae5a25aa03f3c95e372453d665995576b6c73765c0b0677628f2ed37e63a390f8bfa5121
22 DIST aesara-rel-2.0.12.tar.gz 8154749 BLAKE2B 0e39102e985e9f9ed49f65c76389d76702b5d8fbe8c3e1130c61dce7c43eb70f5c73fd3557ff9aeaa1d186b33bb5803a04a4a5b0ce41076af7e923d05ce3353d SHA512 e68f5ce0c64a678219421a0bfc957d1594dc34c887af6f6373c00888387e5da83dec44b68b9309146ae2fd60c0677039980a87ee87ecc0ad3db2fbc80213cc34
23 -DIST aesara-rel-2.0.8.tar.gz 8043104 BLAKE2B ceb4f34b2017516d8d75855eb17fbce8a28ef35d2dfa22c2221f95e910b69126f6d2070654377bebaa8c149bcb13ed1e37c0fd145cad96ddf6875642a6882b2f SHA512 1bcc149e3c55eeaa4522afd48df63602b32b1702402cd269b30c85ec6abf0d4b446a3593b8247c393c2ad9f74176ebe94e7c86a94ee58b91fbdbef69dbc9acd6
24
25 diff --git a/dev-python/aesara/aesara-2.0.8.ebuild b/dev-python/aesara/aesara-2.0.8.ebuild
26 deleted file mode 100644
27 index c60f566ca35..00000000000
28 --- a/dev-python/aesara/aesara-2.0.8.ebuild
29 +++ /dev/null
30 @@ -1,65 +0,0 @@
31 -# Copyright 2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{7..9} )
37 -inherit distutils-r1 optfeature
38 -
39 -MY_P=aesara-rel-${PV}
40 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
41 -HOMEPAGE="https://github.com/pymc-devs/aesara"
42 -SRC_URI="https://github.com/pymc-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
43 -S="${WORKDIR}/${MY_P}"
44 -
45 -LICENSE="BSD"
46 -SLOT="0"
47 -KEYWORDS="amd64 ~arm ~arm64 x86"
48 -
49 -RDEPEND="
50 - dev-python/filelock[${PYTHON_USEDEP}]
51 - dev-python/numpy[${PYTHON_USEDEP}]
52 - dev-python/six[${PYTHON_USEDEP}]
53 - dev-python/scipy[${PYTHON_USEDEP}]"
54 -BDEPEND="
55 - test? (
56 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
57 - )"
58 -
59 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
60 -distutils_enable_tests pytest
61 -
62 -python_prepare_all() {
63 - sed -i -e "s/tests.\*/tests\*/" setup.py || die
64 -
65 - distutils-r1_python_prepare_all
66 -}
67 -
68 -python_test() {
69 - local exclude=(
70 - # speed tests are unreliable
71 - tests/scan/test_basic.py::test_speed
72 - tests/scan/test_basic.py::test_speed_rnn
73 - tests/scan/test_basic.py::test_speed_batchrnn
74 - tests/link/test_vm.py::test_speed
75 - tests/link/test_vm.py::test_speed_lazy
76 - tests/tensor/test_gc.py::test_merge_opt_runtime
77 - )
78 -
79 - distutils_install_for_testing
80 - # we do not package numba
81 - epytest ${exclude[@]/#/--deselect } \
82 - --ignore tests/link/test_numba.py \
83 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
84 -}
85 -
86 -# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo
87 -python_install() {
88 - rm "${BUILD_DIR}"/lib/bin/__init__.py || die
89 - distutils-r1_python_install
90 -}
91 -
92 -pkg_postinst() {
93 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
94 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
95 -}