summaryrefslogtreecommitdiff
path: root/dev-python/theano-pymc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
commitd7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch)
tree1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /dev-python/theano-pymc
parentabaa75b10f899ada8dd05b23cc03205064394bc6 (diff)
gentoo resync : 29.01.2021
Diffstat (limited to 'dev-python/theano-pymc')
-rw-r--r--dev-python/theano-pymc/Manifest6
-rw-r--r--dev-python/theano-pymc/theano-pymc-1.0.13-r1.ebuild4
-rw-r--r--dev-python/theano-pymc/theano-pymc-1.1.1.ebuild61
-rw-r--r--dev-python/theano-pymc/theano-pymc-1.1.2.ebuild61
4 files changed, 129 insertions, 3 deletions
diff --git a/dev-python/theano-pymc/Manifest b/dev-python/theano-pymc/Manifest
index 6bde6f50dabd..010f5c95377f 100644
--- a/dev-python/theano-pymc/Manifest
+++ b/dev-python/theano-pymc/Manifest
@@ -1,9 +1,13 @@
DIST Theano-PyMC-rel-1.0.15.tar.gz 12978600 BLAKE2B 9038baa6d7c275a20a2e4f4f9e382f651deee958b2f044ad4360ea7d5a0408ab237af03857d5a598464c770ab1935d051d0f84657efd2915f5c80b393b972e04 SHA512 ad544b2749320ac2c3cd27e84e7700ce469e7d840491675378aabc3a75b03b26065c1022760fd1dae06f6cd694b4ec6de95e78280c478884ffdb224e4f0760ad
DIST Theano-PyMC-rel-1.1.0.tar.gz 12482951 BLAKE2B 3c3cf6bcd396ce01d68575d8272a9b110077ef8c2b4a6c8f0e795dafcf75f862e145d4e9d83289950e8d463098fe0ebbcee8f4d5f0867d9e6c673c77d6fe8b90 SHA512 667c0b3662ee41254d1776060d64d46b58980ac4ae4e7b271d29d7e09321089946e4aa864626b6e8ea1bd2eae330688b675d507e18dce2d92a4a8df5a0116bb6
+DIST Theano-PyMC-rel-1.1.1.tar.gz 12481810 BLAKE2B d0c40c9bcb25c65b38ed21092a1824c137f9942c8c2d1ab38b6ce9885a4e7be2bd096ed28fb7dc9397eae1477a47d9284b3e5536b563e033fd86af49d6479644 SHA512 d0462bdf6d7174b9c31a6e63b19ac7556f35787b962a7ec7a74cd53c12b8eb990730a5e155e55dc59f0bca20da26d4270ea50e8e32fe23118bb1c78912f69688
+DIST Theano-PyMC-rel-1.1.2.tar.gz 12482962 BLAKE2B 427afab5b831f625b0825746d24d68d7c7a2ea853f83d0b543f9c16baf7f120bb26446a438fa69279cd55e7788b3f1aaa6c6ac787231415f49a53e34e6b92584 SHA512 f582e23803d392fc469ed4aa13ee8615b7ce367de0a95d57fb71217f578112bd1611df1fa580f19970e1e3681fc5dc7d80d9bb9c2c40e5956d1eb937a9271431
DIST theano-pymc-1.0.13.tar.gz 12975871 BLAKE2B 71528868885084d7c37f1f5cc5156aca5e764d09f0dc57aa46e21240ee2959aafb5882aef8977d9f215b051265d0d9bc3a7097ac0bb6d427cfc076ea6f591905 SHA512 da25e386965695a5630c54a671a7a573d0f0fae2eeeacf4f65130e4e4caf416373852ac14b1eb07ae39c194febe854d71fffe2adc24c348f64a4b73b43564229
DIST theano-pymc-1.0.14.tar.gz 12979426 BLAKE2B e6db87a348d6e7003f8b1ff4e0634335d53d734ea922951edeaab06ec54d51f1d7930a03f6dca14979930abb6212f873d606a9adada46d5b606854c5d8a6c6a5 SHA512 4ddfe5978f33cea96b20763cb01eecf1ec6c0c6b97ac892d647e28b607e61b11862739e5836356ab87e2002e992febe35ce9e1e72d37732074be2dbed64b50b9
-EBUILD theano-pymc-1.0.13-r1.ebuild 1228 BLAKE2B 4c54029fa720820f537d3e0655278167a9308de193afeff044203726b0539a3d41e916d4cc7a7f289a6d02878c851f7701f0b974454c58b4a1ec84986d04fa84 SHA512 ce0851f9e57c6b6c9a458f437f22d47841fa281c10b14b1a641eb24275a88b8091e12a07ec59f706fc6469fc5c989f98ba0055d7a75fdcf9556a236e82036957
+EBUILD theano-pymc-1.0.13-r1.ebuild 1232 BLAKE2B db31152915ddfb090a579eeed68248aada2611fe5ecd5c5bc98a3ad99d9b2055673a2f9d61109c71b307d733aee3b9ad2c76bbc75393b115b725e67e0e594fbd SHA512 059cbfa4d5307640620dc1f35e0be168d147c461d3a9c0000fb320c6f5ed8fd88fc6b6ab63fea3237717c73fbc312b456142fcfb6352657bd270d09ea4db98e6
EBUILD theano-pymc-1.0.14.ebuild 1228 BLAKE2B 4c54029fa720820f537d3e0655278167a9308de193afeff044203726b0539a3d41e916d4cc7a7f289a6d02878c851f7701f0b974454c58b4a1ec84986d04fa84 SHA512 ce0851f9e57c6b6c9a458f437f22d47841fa281c10b14b1a641eb24275a88b8091e12a07ec59f706fc6469fc5c989f98ba0055d7a75fdcf9556a236e82036957
EBUILD theano-pymc-1.0.15.ebuild 1663 BLAKE2B e9505f246576cd07667c33682debe76365f4295379580b36aed175bb8ae317cd49bdd34f27c782baa3f15bd524968fd60e06b2b8a6e91777bd3e1a8e003a1980 SHA512 74ba634f84cad7ced69a541855358353e5c51bce44fabea20ccc2340ddf16dfca041118f8026ca9041c069c00c5a0aaad3635ffc69ed80f95d271bc14268eddb
EBUILD theano-pymc-1.1.0.ebuild 1713 BLAKE2B 1a7de27bbb932b8c447b0f2689295a9c3d5f8370ab98a064ec36629e54535601b1a02479249177f59c273993bd4e7143c2d0a67ddd5fda6b9f14d3203dc10770 SHA512 0cab85931fe676fefaa9db25ea37cba43590e5b80920caebaacee18615eee8480cc862e76dea022baf772d2a26be62fee1c4e5dbb2078483a4868988a082f445
+EBUILD theano-pymc-1.1.1.ebuild 1713 BLAKE2B 1a7de27bbb932b8c447b0f2689295a9c3d5f8370ab98a064ec36629e54535601b1a02479249177f59c273993bd4e7143c2d0a67ddd5fda6b9f14d3203dc10770 SHA512 0cab85931fe676fefaa9db25ea37cba43590e5b80920caebaacee18615eee8480cc862e76dea022baf772d2a26be62fee1c4e5dbb2078483a4868988a082f445
+EBUILD theano-pymc-1.1.2.ebuild 1718 BLAKE2B 85679937700fb93e881054083db2f03ac73e875e6122ca1e61e632248efcfadda5cfed1eb6386e1e44afe43e57317f458c963c4daed3677e32f5d01760f18b9f SHA512 50f72e164a52c1c5e7f896bd741baabfea31553b6ec453977f3ee66c58f3c586daf82140fcb63088875db9cc62c40d5174a8ac7e7c2bf249f74ed1eb83dfb10a
MISC metadata.xml 400 BLAKE2B a9f06ebe35c874d15d1a6608e8398a79480b24cc0ec1b7a45db8c8d18aa24d26817c47a62ad13fba1f32286699749679568b75593c0909dd2ef5785450b379f2 SHA512 530f9e294ab4481624cd9757d67a9e8a67dc2a023002a7f312de619bf05bfd1a06c30ecebd0606f76a1dbe37176697e990867c95de9f411b7631bcc341192e93
diff --git a/dev-python/theano-pymc/theano-pymc-1.0.13-r1.ebuild b/dev-python/theano-pymc/theano-pymc-1.0.13-r1.ebuild
index 695a31afb335..c1f278df8a63 100644
--- a/dev-python/theano-pymc/theano-pymc-1.0.13-r1.ebuild
+++ b/dev-python/theano-pymc/theano-pymc-1.0.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ S="${WORKDIR}"/Theano-PyMC-rel-${PV}
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/dev-python/theano-pymc/theano-pymc-1.1.1.ebuild b/dev-python/theano-pymc/theano-pymc-1.1.1.ebuild
new file mode 100644
index 000000000000..221894445d0d
--- /dev/null
+++ b/dev-python/theano-pymc/theano-pymc-1.1.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2020-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=Theano-PyMC-rel-${PV}
+DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
+HOMEPAGE="https://github.com/pymc-devs/Theano-PyMC"
+SRC_URI="
+ https://github.com/pymc-devs/Theano-PyMC/archive/rel-${PV}.tar.gz
+ -> ${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~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}"
+}
+
+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/theano-pymc/theano-pymc-1.1.2.ebuild b/dev-python/theano-pymc/theano-pymc-1.1.2.ebuild
new file mode 100644
index 000000000000..ca106ea987bc
--- /dev/null
+++ b/dev-python/theano-pymc/theano-pymc-1.1.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2020-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=Theano-PyMC-rel-${PV}
+DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
+HOMEPAGE="https://github.com/pymc-devs/Theano-PyMC"
+SRC_URI="
+ https://github.com/pymc-devs/Theano-PyMC/archive/rel-${PV}.tar.gz
+ -> ${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~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}"
+}
+
+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
+}