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: Thu, 26 Aug 2021 08:36:00
Message-Id: 1629966786.d2210823f04771a361b3e83f43ab01f9bc7b413f.mgorny@gentoo
1 commit: d2210823f04771a361b3e83f43ab01f9bc7b413f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 26 08:33:06 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 26 08:33:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2210823
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 | 3 --
13 dev-python/aesara/aesara-2.0.12.ebuild | 70 ----------------------------------
14 dev-python/aesara/aesara-2.1.2.ebuild | 70 ----------------------------------
15 dev-python/aesara/aesara-2.2.0.ebuild | 70 ----------------------------------
16 4 files changed, 213 deletions(-)
17
18 diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest
19 index ebb0b6ca28a..2b77f643a0e 100644
20 --- a/dev-python/aesara/Manifest
21 +++ b/dev-python/aesara/Manifest
22 @@ -1,5 +1,2 @@
23 -DIST aesara-rel-2.0.12.tar.gz 8154749 BLAKE2B 0e39102e985e9f9ed49f65c76389d76702b5d8fbe8c3e1130c61dce7c43eb70f5c73fd3557ff9aeaa1d186b33bb5803a04a4a5b0ce41076af7e923d05ce3353d SHA512 e68f5ce0c64a678219421a0bfc957d1594dc34c887af6f6373c00888387e5da83dec44b68b9309146ae2fd60c0677039980a87ee87ecc0ad3db2fbc80213cc34
24 -DIST aesara-rel-2.1.2.tar.gz 8167162 BLAKE2B 727bdf6fb9765c8b60da585595ed7203071490c1dfc0895428ae3efe4a1e74a14bbdf2a76128a6840dedeabdfc997fd297dec23ff517247452433cbdc9449b9a SHA512 22ebd1290a0727f2cf1e106770c872d5f1d785c6946b8e4debcc29a34fddceccb11f0ec81850fd93dbff556aa300bf2ec1bd6eef1297d93e194ff832b442c453
25 DIST aesara-rel-2.1.3.tar.gz 8170822 BLAKE2B dbbc4a453c5d7f9cd4ab2c925dd9293e835db23100686a8d7ab2c47182b1bc05f883eeb60d6f47f8f34e4187f3ac07b632cde43fe82a99e2145a2f699a2b3582 SHA512 52d1724eb7b3c9bae4bdbf1735db9ef96cdfa94f3e2281b255201d0baba260fe31f78c00719a53ce3c59ea9c66ff218d8acd7bc012b386942f29806c07ffc466
26 -DIST aesara-rel-2.2.0.tar.gz 8164714 BLAKE2B 766f1adee8ae036782ec4fab4dd96bf7d99a6e6b45ed0fd6e55ed2e8c257fb6796bc1789a5a6760131a7098ea4dfa70e68a0a096cae1bd0d544d73c2fb10c7f7 SHA512 0683c80dc786e92f5d5077f658d1acf3c57317aac402517e87aa2c08762361685cfb76c21869af10bd58c4c79fc6b1551f50edead0d72717b04396f33faf5535
27 DIST aesara-rel-2.2.1.tar.gz 8166022 BLAKE2B af3c17029dacb3d365bf49eb01d4d03b5a4f770f66d3e5eba2c4576ef156056bc1aca3571442c1cb7352c358978b47faa7af70ca0da2a2168d8c9bfd47b17138 SHA512 f7bab8ca80e8d13ef7698c1efa56ff37c561786330bf756c7a00c54ae1f131810d68bfd6e328b0705d45788759bd984d42306d2c545d2de6b9a3592b5c021ad8
28
29 diff --git a/dev-python/aesara/aesara-2.0.12.ebuild b/dev-python/aesara/aesara-2.0.12.ebuild
30 deleted file mode 100644
31 index 8e43a3eafa6..00000000000
32 --- a/dev-python/aesara/aesara-2.0.12.ebuild
33 +++ /dev/null
34 @@ -1,70 +0,0 @@
35 -# Copyright 2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=( python3_{8..9} )
41 -inherit distutils-r1 optfeature
42 -
43 -MY_P=aesara-rel-${PV}
44 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
45 -HOMEPAGE="https://github.com/aesara-devs/aesara"
46 -SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
47 -S="${WORKDIR}/${MY_P}"
48 -
49 -LICENSE="BSD"
50 -SLOT="0"
51 -KEYWORDS="amd64 ~arm ~arm64 x86"
52 -
53 -RDEPEND="
54 - dev-python/filelock[${PYTHON_USEDEP}]
55 - dev-python/numpy[${PYTHON_USEDEP}]
56 - dev-python/six[${PYTHON_USEDEP}]
57 - dev-python/scipy[${PYTHON_USEDEP}]"
58 -BDEPEND="
59 - test? (
60 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
61 - )"
62 -
63 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
64 -distutils_enable_tests pytest
65 -
66 -python_prepare_all() {
67 - sed -i -e "s/tests.\*/tests\*/" setup.py || die
68 -
69 - distutils-r1_python_prepare_all
70 -}
71 -
72 -python_test() {
73 - local exclude=(
74 - # speed tests are unreliable
75 - tests/scan/test_basic.py::test_speed
76 - tests/scan/test_basic.py::test_speed_rnn
77 - tests/scan/test_basic.py::test_speed_batchrnn
78 - tests/link/test_vm.py::test_speed
79 - tests/link/test_vm.py::test_speed_lazy
80 - tests/tensor/test_gc.py::test_merge_opt_runtime
81 -
82 - # rounding problem?
83 - # https://github.com/aesara-devs/aesara/issues/477
84 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
85 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
86 - )
87 -
88 - distutils_install_for_testing
89 - # we do not package numba
90 - epytest ${exclude[@]/#/--deselect } \
91 - --ignore tests/link/test_numba.py \
92 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
93 -}
94 -
95 -# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo
96 -python_install() {
97 - rm "${BUILD_DIR}"/lib/bin/__init__.py || die
98 - distutils-r1_python_install
99 -}
100 -
101 -pkg_postinst() {
102 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
103 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
104 -}
105
106 diff --git a/dev-python/aesara/aesara-2.1.2.ebuild b/dev-python/aesara/aesara-2.1.2.ebuild
107 deleted file mode 100644
108 index efa88e842a9..00000000000
109 --- a/dev-python/aesara/aesara-2.1.2.ebuild
110 +++ /dev/null
111 @@ -1,70 +0,0 @@
112 -# Copyright 2021 Gentoo Authors
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=7
116 -
117 -PYTHON_COMPAT=( python3_{8..10} )
118 -inherit distutils-r1 optfeature
119 -
120 -MY_P=aesara-rel-${PV}
121 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
122 -HOMEPAGE="https://github.com/aesara-devs/aesara"
123 -SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
124 -S="${WORKDIR}/${MY_P}"
125 -
126 -LICENSE="BSD"
127 -SLOT="0"
128 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
129 -
130 -RDEPEND="
131 - dev-python/filelock[${PYTHON_USEDEP}]
132 - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
133 - dev-python/six[${PYTHON_USEDEP}]
134 - dev-python/scipy[${PYTHON_USEDEP}]"
135 -BDEPEND="
136 - test? (
137 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
138 - )"
139 -
140 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
141 -distutils_enable_tests pytest
142 -
143 -python_prepare_all() {
144 - sed -i -e "s/tests.\*/tests\*/" setup.py || die
145 -
146 - distutils-r1_python_prepare_all
147 -}
148 -
149 -python_test() {
150 - local exclude=(
151 - # speed tests are unreliable
152 - tests/scan/test_basic.py::test_speed
153 - tests/scan/test_basic.py::test_speed_rnn
154 - tests/scan/test_basic.py::test_speed_batchrnn
155 - tests/link/test_vm.py::test_speed
156 - tests/link/test_vm.py::test_speed_lazy
157 - tests/tensor/test_gc.py::test_merge_opt_runtime
158 -
159 - # rounding problem?
160 - # https://github.com/aesara-devs/aesara/issues/477
161 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
162 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
163 - )
164 -
165 - distutils_install_for_testing
166 - # we do not package numba
167 - epytest ${exclude[@]/#/--deselect } \
168 - --ignore tests/link/test_numba.py \
169 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
170 -}
171 -
172 -# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo
173 -python_install() {
174 - rm "${BUILD_DIR}"/lib/bin/__init__.py || die
175 - distutils-r1_python_install
176 -}
177 -
178 -pkg_postinst() {
179 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
180 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
181 -}
182
183 diff --git a/dev-python/aesara/aesara-2.2.0.ebuild b/dev-python/aesara/aesara-2.2.0.ebuild
184 deleted file mode 100644
185 index 3148f85f3cf..00000000000
186 --- a/dev-python/aesara/aesara-2.2.0.ebuild
187 +++ /dev/null
188 @@ -1,70 +0,0 @@
189 -# Copyright 2021 Gentoo Authors
190 -# Distributed under the terms of the GNU General Public License v2
191 -
192 -EAPI=8
193 -
194 -PYTHON_COMPAT=( python3_{8..10} )
195 -inherit distutils-r1 optfeature
196 -
197 -MY_P=aesara-rel-${PV}
198 -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
199 -HOMEPAGE="https://github.com/aesara-devs/aesara"
200 -SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
201 -S="${WORKDIR}/${MY_P}"
202 -
203 -LICENSE="BSD"
204 -SLOT="0"
205 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
206 -
207 -RDEPEND="
208 - dev-python/filelock[${PYTHON_USEDEP}]
209 - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
210 - dev-python/six[${PYTHON_USEDEP}]
211 - dev-python/scipy[${PYTHON_USEDEP}]"
212 -BDEPEND="
213 - test? (
214 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
215 - )"
216 -
217 -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
218 -distutils_enable_tests pytest
219 -
220 -python_prepare_all() {
221 - sed -i -e "s/tests.\*/tests\*/" setup.py || die
222 -
223 - distutils-r1_python_prepare_all
224 -}
225 -
226 -python_test() {
227 - local exclude=(
228 - # speed tests are unreliable
229 - tests/scan/test_basic.py::test_speed
230 - tests/scan/test_basic.py::test_speed_rnn
231 - tests/scan/test_basic.py::test_speed_batchrnn
232 - tests/link/test_vm.py::test_speed
233 - tests/link/test_vm.py::test_speed_lazy
234 - tests/tensor/test_gc.py::test_merge_opt_runtime
235 -
236 - # rounding problem?
237 - # https://github.com/aesara-devs/aesara/issues/477
238 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
239 - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
240 - )
241 -
242 - distutils_install_for_testing
243 - # we do not package numba
244 - epytest ${exclude[@]/#/--deselect } \
245 - --ignore tests/link/test_numba.py \
246 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
247 -}
248 -
249 -# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo
250 -python_install() {
251 - rm "${BUILD_DIR}"/lib/bin/__init__.py || die
252 - distutils-r1_python_install
253 -}
254 -
255 -pkg_postinst() {
256 - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
257 - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
258 -}