From e748ba9741f6540f4675c23e3e37b73e822c13a4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 May 2021 20:59:14 +0100 Subject: gentoo resync : 31.05.2021 --- dev-python/aesara/Manifest | 6 ++-- dev-python/aesara/aesara-2.0.10.ebuild | 65 ++++++++++++++++++++++++++++++++++ dev-python/aesara/aesara-2.0.6.ebuild | 65 ---------------------------------- dev-python/aesara/aesara-2.0.9.ebuild | 65 ++++++++++++++++++++++++++++++++++ 4 files changed, 134 insertions(+), 67 deletions(-) create mode 100644 dev-python/aesara/aesara-2.0.10.ebuild delete mode 100644 dev-python/aesara/aesara-2.0.6.ebuild create mode 100644 dev-python/aesara/aesara-2.0.9.ebuild (limited to 'dev-python/aesara') diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index a1c7b30d363f..c4402fd720d5 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,7 +1,9 @@ -DIST aesara-rel-2.0.6.tar.gz 8020607 BLAKE2B 0a51936fe089061038e9dd60e210d7a0820438a03508fb1aa7f843c9c3dbba86295a7e0471f97084e7ba87e2a771bb640a6f87ce974b219767d2344e2a94b190 SHA512 1370cb4408b694d5b97610229951cfa9e74f42c10347eff375d5aba0aaa60a7c88f5db2a7c101ec6916a40d6cf12b5646e7422dd5e9617f414619d79c55f02fb +DIST aesara-rel-2.0.10.tar.gz 8038338 BLAKE2B 411623fe6299c9f037a733ff44324c747a3ea1bd71f2d3ca8fad747ec4be0d0dd9a3991f0996ee2e723ec9bb44ba9b47606e3a2cf5f9e6beb27bfa39752b1f1f SHA512 c29a352f2fe85cf5f452fcf7b62d2ccefcac37cfec5336a5b14041cfae5a25aa03f3c95e372453d665995576b6c73765c0b0677628f2ed37e63a390f8bfa5121 DIST aesara-rel-2.0.7.tar.gz 8020485 BLAKE2B 91c02c5d6826694b08bf3276f9c08e98f5a68a34b7d4a4f4813b44794f625cb0b67677fc8eff8496f19f84b462b30d740645b19b3031640a550b8b07288980ef SHA512 63f636d7293127b21196072fd05edf25f2d03702d5568308ddb35c2d425100aa4087eb282f30a123124e43bedbc82d84209293c2d2de6f598c7b3b6704fc38aa DIST aesara-rel-2.0.8.tar.gz 8043104 BLAKE2B ceb4f34b2017516d8d75855eb17fbce8a28ef35d2dfa22c2221f95e910b69126f6d2070654377bebaa8c149bcb13ed1e37c0fd145cad96ddf6875642a6882b2f SHA512 1bcc149e3c55eeaa4522afd48df63602b32b1702402cd269b30c85ec6abf0d4b446a3593b8247c393c2ad9f74176ebe94e7c86a94ee58b91fbdbef69dbc9acd6 -EBUILD aesara-2.0.6.ebuild 1904 BLAKE2B 5826aa94aa158fde2fa8690f9a28ae1f676fc081d92bcf4134e566678292eddc6d40fa6694cff63be219dc7476be67b20cf42d2f483e561b5ca39b8342de7067 SHA512 9885c85d1756870c19c22e88ff0c1628c7e6773561bedeef2aa2fcce42055e7d5a8031bb7b2fd455fdc4352a6d1663526caab324f63a3a7b9d505790b60c0971 +DIST aesara-rel-2.0.9.tar.gz 8045090 BLAKE2B 02f8480cd3c1f843d5878a968514ba9adbf5eefa4f36e4ae201d79e8483dc9d04dd890fa30443aebd3a1520e16eab6eca2478b88bbd6acbbef14b61958a2c8b9 SHA512 bbb300bbbc74fed4e95613efe8eb5b29b932fc201900d340be7ef425c11b56f4e627d9e8c45e290c42a122db45af6639c40ce5bf2bc01895d56c43416a8c3415 +EBUILD aesara-2.0.10.ebuild 1884 BLAKE2B 7c686fdcf57e7a261037c52acf864b43f5fac125a508f338cd7a2f8fbc58023219951391259b347ae842b6f9091da8e5279975f1ee2008fc5004bbb7030fc687 SHA512 70ac7c0eb1daec9dcc02c679e33ab9bac92d7a65750f6996f4357a6553f853898ead2fc7b2e6923fccdf61c6e377e163f8c4fc808f909bf513666ee80dbfcb83 EBUILD aesara-2.0.7.ebuild 1861 BLAKE2B 5ed93e3b26eedd7756e2003f58269272e8a27856b0e15da6559fe9691ae91032bb6b83236d826180423ef2a3608781c83b490109cf0a06e450a62460be353501 SHA512 6af662894aa6a79a5a553e0b28cd43aa6c6f64fac89f88d87e15a3f9e3db6fcf7d6dffd729616e89b26183198b2d29bcb6df0b17181617119991d67661100abe EBUILD aesara-2.0.8.ebuild 1884 BLAKE2B 7c686fdcf57e7a261037c52acf864b43f5fac125a508f338cd7a2f8fbc58023219951391259b347ae842b6f9091da8e5279975f1ee2008fc5004bbb7030fc687 SHA512 70ac7c0eb1daec9dcc02c679e33ab9bac92d7a65750f6996f4357a6553f853898ead2fc7b2e6923fccdf61c6e377e163f8c4fc808f909bf513666ee80dbfcb83 +EBUILD aesara-2.0.9.ebuild 1884 BLAKE2B 7c686fdcf57e7a261037c52acf864b43f5fac125a508f338cd7a2f8fbc58023219951391259b347ae842b6f9091da8e5279975f1ee2008fc5004bbb7030fc687 SHA512 70ac7c0eb1daec9dcc02c679e33ab9bac92d7a65750f6996f4357a6553f853898ead2fc7b2e6923fccdf61c6e377e163f8c4fc808f909bf513666ee80dbfcb83 MISC metadata.xml 402 BLAKE2B a82c76dff3cfcbf83936f2815e15d051d4ab26a739a970848573f5856610e763d9f346e2d265b2d38e53460df6bcba879ce50d6e60bffea77af6052d03d8dc5d SHA512 f3c86b74cbaaadb63bb98ffc2a3e6e1d121c141b33edd574cfdee3652a43e9f8b05e3276050bd407f00ddbec1d6fb6eda87983520075ad368ab8792e0ae17143 diff --git a/dev-python/aesara/aesara-2.0.10.ebuild b/dev-python/aesara/aesara-2.0.10.ebuild new file mode 100644 index 000000000000..a930578b0362 --- /dev/null +++ b/dev-python/aesara/aesara-2.0.10.ebuild @@ -0,0 +1,65 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 optfeature + +MY_P=aesara-rel-${PV} +DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" +HOMEPAGE="https://github.com/pymc-devs/aesara" +SRC_URI="https://github.com/pymc-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme' +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e "s/tests.\*/tests\*/" setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local exclude=( + # speed tests are unreliable + tests/scan/test_basic.py::test_speed + tests/scan/test_basic.py::test_speed_rnn + tests/scan/test_basic.py::test_speed_batchrnn + tests/link/test_vm.py::test_speed + tests/link/test_vm.py::test_speed_lazy + tests/tensor/test_gc.py::test_merge_opt_runtime + ) + + distutils_install_for_testing + # we do not package numba + epytest ${exclude[@]/#/--deselect } \ + --ignore tests/link/test_numba.py \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo +python_install() { + rm "${BUILD_DIR}"/lib/bin/__init__.py || die + distutils-r1_python_install +} + +pkg_postinst() { + optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk + optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda +} diff --git a/dev-python/aesara/aesara-2.0.6.ebuild b/dev-python/aesara/aesara-2.0.6.ebuild deleted file mode 100644 index e637143ab45e..000000000000 --- a/dev-python/aesara/aesara-2.0.6.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..9} ) -inherit distutils-r1 optfeature - -MY_P=aesara-rel-${PV} -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" -HOMEPAGE="https://github.com/pymc-devs/aesara" -SRC_URI="https://github.com/pymc-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - )" - -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme' -distutils_enable_tests pytest - -python_prepare_all() { - sed -i -e "s/tests.\*/tests\*/" setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local exclude=( - # speed tests are unreliable - tests/scan/test_basic.py::test_speed - tests/scan/test_basic.py::test_speed_rnn - tests/scan/test_basic.py::test_speed_batchrnn - tests/link/test_vm.py::test_speed - tests/link/test_vm.py::test_speed_lazy - tests/tensor/test_gc.py::test_merge_opt_runtime - ) - - distutils_install_for_testing --via-root - pytest -vv ${exclude[@]/#/--deselect } \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo -python_install() { - rm "${BUILD_DIR}"/lib/bin/__init__.py || die - distutils-r1_python_install -} - -pkg_postinst() { - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda -} diff --git a/dev-python/aesara/aesara-2.0.9.ebuild b/dev-python/aesara/aesara-2.0.9.ebuild new file mode 100644 index 000000000000..a930578b0362 --- /dev/null +++ b/dev-python/aesara/aesara-2.0.9.ebuild @@ -0,0 +1,65 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 optfeature + +MY_P=aesara-rel-${PV} +DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" +HOMEPAGE="https://github.com/pymc-devs/aesara" +SRC_URI="https://github.com/pymc-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme' +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e "s/tests.\*/tests\*/" setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local exclude=( + # speed tests are unreliable + tests/scan/test_basic.py::test_speed + tests/scan/test_basic.py::test_speed_rnn + tests/scan/test_basic.py::test_speed_batchrnn + tests/link/test_vm.py::test_speed + tests/link/test_vm.py::test_speed_lazy + tests/tensor/test_gc.py::test_merge_opt_runtime + ) + + distutils_install_for_testing + # we do not package numba + epytest ${exclude[@]/#/--deselect } \ + --ignore tests/link/test_numba.py \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo +python_install() { + rm "${BUILD_DIR}"/lib/bin/__init__.py || die + distutils-r1_python_install +} + +pkg_postinst() { + optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk + optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda +} -- cgit v1.2.3