From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- dev-python/aesara/Manifest | 4 ++ dev-python/aesara/aesara-2.3.2.ebuild | 75 +++++++++++++++++++++++++++++++++++ dev-python/aesara/aesara-2.3.3.ebuild | 75 +++++++++++++++++++++++++++++++++++ 3 files changed, 154 insertions(+) create mode 100644 dev-python/aesara/aesara-2.3.2.ebuild create mode 100644 dev-python/aesara/aesara-2.3.3.ebuild (limited to 'dev-python/aesara') diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 5c585c6c2e5e..260d8d6b8a8e 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,7 +1,11 @@ DIST aesara-rel-2.2.6.tar.gz 8180674 BLAKE2B 6d2c237a748aeee524e4182c47b17a9f7e7325d94410f8c9d7e3dea1d22306dbaa32be1b6f3c471baffad30527451772c08eaaed4494bcceba1759e9f7e9c837 SHA512 360f280fb997b33fbcef08a278816e51b26e8ba4f6d9b0681984394f293d342b498d4633d5efc1b92d64b056b4cd63b918ea7dd46d00aa78519e00919586f842 DIST aesara-rel-2.3.0.tar.gz 8181754 BLAKE2B 7fd60e6ce1243e585a4256f807615a4d120833ed3da2f1b16dbcade99950cc470c0b9df2b3a0e481b1694b9fa17b8de5ce30eeeb53e19b0a3244cc44c199e152 SHA512 1198e6a827210e17febc073d60d84e6e2fb044767a573c1569bacbc2bc3181e5d0820349ca90eafdfd83818b97cda9d3d91c42734c6fb9f8452ce5d24d130543 DIST aesara-rel-2.3.1.tar.gz 8181777 BLAKE2B 5807cb7c0e263d2fb3559050a9712f8a8827d7ea7e167ca05d8be91abd2cf99db34f050f663002b11bb0d9c70969b257b6f91e1cc436006550ffe02959b8097d SHA512 8a8445c520006b7822968c882117b9286759fdfcde80605d77232e3d1e71987c852ed92c26d7791999a704add8ace5fa4044cf57cba0e0a509ebba356a010710 +DIST aesara-rel-2.3.2.tar.gz 8185666 BLAKE2B e65bdc0e00ed35b333c1b8d580553d5dc39ef65c696807f5b22a998681e563ca93d25f0eb6d79dc3a3b4df3b05907c1d4b00ec7592e842879db91aba4eab53ed SHA512 be56b61c53f870cf76e87793c95c0c2b3e7a9098aaa9179a7643adbeb627dea5055465824ad9c31f65d3b13b664f19f8fc447c2931cb201a0ae3c5c32dda049a +DIST aesara-rel-2.3.3.tar.gz 8179684 BLAKE2B ef738190e4169d43bb2323ee9425a1fc6d96a808d439940ead30b487b99fddaff073e3e05a720bcdb1eaed6fa903179be5df975747ac92e2b81256dbca886bea SHA512 f725cd84a598ea94f9cb22de768d004e96a0236fc4b93a9882a57494ce006fa657b1668b52b60d465816bb78c106a8d08a2a30eef2f5f9a55c437e28c94ee458 EBUILD aesara-2.2.6.ebuild 2134 BLAKE2B 2a461e5bae638090c81305001f5809dd3898fd3ef54d0138f592831cc54146c7a333a6f936c76d4ed643bdf04caa6c10291fffa4bf0159e8601ac3f370c1150e SHA512 c30b0f8af229f8950d0c321a0da295a5399f2a4b740e61773f1b3c26c454961972734661680a65b1915cf9f0d7bfc14607014d0c41962d17f019530beece8e57 EBUILD aesara-2.3.0.ebuild 2136 BLAKE2B ef0af10ed3fd4357de5283d28711a68fbf8da2c578bc4edc105d9d9447a2c4adbee44e7409be332981f215eccd9cef9d02829aefa62fd974ecec4ce1e9d74d4a SHA512 98ac0c4ac87021b9418b0140a975af84c3d329be81d108568b76824795dda8fa86e44ef6dd3a9243876a2700351e28aa021a512052040ac30bbafb1436e68328 EBUILD aesara-2.3.1.ebuild 2136 BLAKE2B ef0af10ed3fd4357de5283d28711a68fbf8da2c578bc4edc105d9d9447a2c4adbee44e7409be332981f215eccd9cef9d02829aefa62fd974ecec4ce1e9d74d4a SHA512 98ac0c4ac87021b9418b0140a975af84c3d329be81d108568b76824795dda8fa86e44ef6dd3a9243876a2700351e28aa021a512052040ac30bbafb1436e68328 +EBUILD aesara-2.3.2.ebuild 2294 BLAKE2B 5ee41485d05ab86ea5eb61eeef767db690a053178d413fee59b3c6c6004cca74b6d30b1efff75599fba97d92ed070d942b822ba453c28df68f8c8e771d5799a9 SHA512 19311ab3911bb7d853fa0a2edf812f8b20aa40162108f29db8fa6ec2cb12ef8dc33bd931959f7d9a9fd94e996a858af5b6dcc08e4f568933bdba96aaa78af2a3 +EBUILD aesara-2.3.3.ebuild 2294 BLAKE2B 5ee41485d05ab86ea5eb61eeef767db690a053178d413fee59b3c6c6004cca74b6d30b1efff75599fba97d92ed070d942b822ba453c28df68f8c8e771d5799a9 SHA512 19311ab3911bb7d853fa0a2edf812f8b20aa40162108f29db8fa6ec2cb12ef8dc33bd931959f7d9a9fd94e996a858af5b6dcc08e4f568933bdba96aaa78af2a3 MISC metadata.xml 506 BLAKE2B be65b6be62282fa47152985d79892fd04105a47e00a427ee8341d27aeff21b144bee7e7d0f16b2f4b617c941bdf5ebd9de37a42c39d117cdfd579c3035d35a74 SHA512 a207ec3db85a8e6f03feabd14da588f0b9ca9a88ab2495ade0f40b516b3bbd20fe78b14698d28da7ceed238737a9f4d63f587156ef609e846b485132d598c6bb diff --git a/dev-python/aesara/aesara-2.3.2.ebuild b/dev-python/aesara/aesara-2.3.2.ebuild new file mode 100644 index 000000000000..4cbcd19e72fb --- /dev/null +++ b/dev-python/aesara/aesara-2.3.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 multiprocessing optfeature + +MY_P=aesara-rel-${PV} +DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" +HOMEPAGE="https://github.com/aesara-devs/aesara" +SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/cons[${PYTHON_USEDEP}] + dev-python/etuples[${PYTHON_USEDEP}] + dev-python/logical-unification[${PYTHON_USEDEP}] + dev-python/minikanren[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${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 EPYTEST_DESELECT=( + # 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 + + # rounding problem? + # https://github.com/aesara-devs/aesara/issues/477 + tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good + tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good + ) + local EPYTEST_IGNORE=( + # we do not package numba + tests/link/test_numba.py + ) + + distutils_install_for_testing + epytest -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.3.3.ebuild b/dev-python/aesara/aesara-2.3.3.ebuild new file mode 100644 index 000000000000..4cbcd19e72fb --- /dev/null +++ b/dev-python/aesara/aesara-2.3.3.ebuild @@ -0,0 +1,75 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 multiprocessing optfeature + +MY_P=aesara-rel-${PV} +DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" +HOMEPAGE="https://github.com/aesara-devs/aesara" +SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/cons[${PYTHON_USEDEP}] + dev-python/etuples[${PYTHON_USEDEP}] + dev-python/logical-unification[${PYTHON_USEDEP}] + dev-python/minikanren[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${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 EPYTEST_DESELECT=( + # 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 + + # rounding problem? + # https://github.com/aesara-devs/aesara/issues/477 + tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good + tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good + ) + local EPYTEST_IGNORE=( + # we do not package numba + tests/link/test_numba.py + ) + + distutils_install_for_testing + epytest -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