From 95461df035e3867364495f065e5e805bf629b2d7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 26 Oct 2021 00:10:07 +0100 Subject: gentoo resync : 25.10.2021 --- dev-python/aesara/Manifest | 6 +-- dev-python/aesara/aesara-2.2.1.ebuild | 70 ----------------------------------- dev-python/aesara/aesara-2.2.2.ebuild | 2 +- dev-python/aesara/aesara-2.2.3.ebuild | 70 +++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+), 74 deletions(-) delete mode 100644 dev-python/aesara/aesara-2.2.1.ebuild create mode 100644 dev-python/aesara/aesara-2.2.3.ebuild (limited to 'dev-python/aesara') diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 54f93a71be49..5b7eee093aa2 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,5 +1,5 @@ -DIST aesara-rel-2.2.1.tar.gz 8166022 BLAKE2B af3c17029dacb3d365bf49eb01d4d03b5a4f770f66d3e5eba2c4576ef156056bc1aca3571442c1cb7352c358978b47faa7af70ca0da2a2168d8c9bfd47b17138 SHA512 f7bab8ca80e8d13ef7698c1efa56ff37c561786330bf756c7a00c54ae1f131810d68bfd6e328b0705d45788759bd984d42306d2c545d2de6b9a3592b5c021ad8 DIST aesara-rel-2.2.2.tar.gz 8174668 BLAKE2B c95347e8b74f6600c3570177f86b7ebd7511899ed0ceb24a2d79a03a44ee498a8062b92fb79867f59b609f66315704ee92e28e12a5ab600d54d0d35ef799b66b SHA512 d5f62e42c36100b2fd25eba492590eb306b1394aa01bf2e90d43e84ac67701e5b756be6bc08d0e6b82fb1f37689dbbba1d7ef67c8525555a700a634d742056bb -EBUILD aesara-2.2.1.ebuild 2127 BLAKE2B 4da0582395b1de9bf9db5731b799b71a39eca5ea9b770f9a71d9835e0da1d2db4ad763d07fe9c7db4c503eeaf45002a69cb120a1a4d519cb06f63d8501bf0b3a SHA512 6aa5f0807a576eb4ac60097b3ac878ff991c4632d01104f209e3d66464de481241c3c7b64e2db49819711c15bdf05d720cfdcff338156070e94325c21248044c -EBUILD aesara-2.2.2.ebuild 2129 BLAKE2B adcfc9b383b59507aec8e5620147b75dad1b4809db96e5ee1ea2f0fc4af542c5f97d9af1328995cf2a1f26db9d9cad195f0835aaed51bbcda471e71b6bf7edc8 SHA512 0ba992285cdce523bcf6fdb3a63e1904c29b6d69c3905b5e06715ad777f0e5a69afdc6f8518358da742ed92cc7594e7d277fb8574322b0ac0d15ca954cbd1d4a +DIST aesara-rel-2.2.3.tar.gz 8179701 BLAKE2B 53ef58d6f0ab33e7efe3d0eaa2b55153a2ab29c958b48f52f814fecf7f5fa65424465470cde0ebb8d2ef1ced6968fd01217d9f7bd61acc8843cde1a9c0a94cbe SHA512 21414230c0be2c31e08fd371ee69c3bb7098b2134a5aec006abeca00a333e025fcbfd10ebdcbf54d243e1bc8c45f301a2c3443531ba5eaf0fe3a1ac5645ae4f5 +EBUILD aesara-2.2.2.ebuild 2127 BLAKE2B 4da0582395b1de9bf9db5731b799b71a39eca5ea9b770f9a71d9835e0da1d2db4ad763d07fe9c7db4c503eeaf45002a69cb120a1a4d519cb06f63d8501bf0b3a SHA512 6aa5f0807a576eb4ac60097b3ac878ff991c4632d01104f209e3d66464de481241c3c7b64e2db49819711c15bdf05d720cfdcff338156070e94325c21248044c +EBUILD aesara-2.2.3.ebuild 2129 BLAKE2B adcfc9b383b59507aec8e5620147b75dad1b4809db96e5ee1ea2f0fc4af542c5f97d9af1328995cf2a1f26db9d9cad195f0835aaed51bbcda471e71b6bf7edc8 SHA512 0ba992285cdce523bcf6fdb3a63e1904c29b6d69c3905b5e06715ad777f0e5a69afdc6f8518358da742ed92cc7594e7d277fb8574322b0ac0d15ca954cbd1d4a MISC metadata.xml 506 BLAKE2B be65b6be62282fa47152985d79892fd04105a47e00a427ee8341d27aeff21b144bee7e7d0f16b2f4b617c941bdf5ebd9de37a42c39d117cdfd579c3035d35a74 SHA512 a207ec3db85a8e6f03feabd14da588f0b9ca9a88ab2495ade0f40b516b3bbd20fe78b14698d28da7ceed238737a9f4d63f587156ef609e846b485132d598c6bb diff --git a/dev-python/aesara/aesara-2.2.1.ebuild b/dev-python/aesara/aesara-2.2.1.ebuild deleted file mode 100644 index 3618da94f435..000000000000 --- a/dev-python/aesara/aesara-2.2.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# 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 x86" - -RDEPEND=" - 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 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 - - # 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 - ) - - 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.2.2.ebuild b/dev-python/aesara/aesara-2.2.2.ebuild index 86721797fe0f..3618da94f435 100644 --- a/dev-python/aesara/aesara-2.2.2.ebuild +++ b/dev-python/aesara/aesara-2.2.2.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" dev-python/filelock[${PYTHON_USEDEP}] diff --git a/dev-python/aesara/aesara-2.2.3.ebuild b/dev-python/aesara/aesara-2.2.3.ebuild new file mode 100644 index 000000000000..86721797fe0f --- /dev/null +++ b/dev-python/aesara/aesara-2.2.3.ebuild @@ -0,0 +1,70 @@ +# 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 ~x86" + +RDEPEND=" + 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 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 + + # 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 + ) + + 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