diff options
Diffstat (limited to 'dev-python/theano-pymc')
-rw-r--r-- | dev-python/theano-pymc/Manifest | 2 | ||||
-rw-r--r-- | dev-python/theano-pymc/theano-pymc-1.1.2-r1.ebuild (renamed from dev-python/theano-pymc/theano-pymc-1.1.2.ebuild) | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-python/theano-pymc/Manifest b/dev-python/theano-pymc/Manifest index 3a88a71a34fc..cf908449ff82 100644 --- a/dev-python/theano-pymc/Manifest +++ b/dev-python/theano-pymc/Manifest @@ -1,5 +1,5 @@ DIST Theano-PyMC-rel-1.1.0.tar.gz 12482951 BLAKE2B 3c3cf6bcd396ce01d68575d8272a9b110077ef8c2b4a6c8f0e795dafcf75f862e145d4e9d83289950e8d463098fe0ebbcee8f4d5f0867d9e6c673c77d6fe8b90 SHA512 667c0b3662ee41254d1776060d64d46b58980ac4ae4e7b271d29d7e09321089946e4aa864626b6e8ea1bd2eae330688b675d507e18dce2d92a4a8df5a0116bb6 DIST Theano-PyMC-rel-1.1.2.tar.gz 12482962 BLAKE2B 427afab5b831f625b0825746d24d68d7c7a2ea853f83d0b543f9c16baf7f120bb26446a438fa69279cd55e7788b3f1aaa6c6ac787231415f49a53e34e6b92584 SHA512 f582e23803d392fc469ed4aa13ee8615b7ce367de0a95d57fb71217f578112bd1611df1fa580f19970e1e3681fc5dc7d80d9bb9c2c40e5956d1eb937a9271431 EBUILD theano-pymc-1.1.0.ebuild 1712 BLAKE2B 2a34d16d3e5f058c28ec775a7c0c216aca942ff9653f6766762d451971008f322149c44baa240e88e8bfc9e6a4a6074e41fa3f0d3a557c7bbf5cda9855baddab SHA512 c21327fcf0a210c7ba2ac6923360991b9156d24943f9ecd11d7b5a45ec3f1a57e5f3b4a2cb57f83310a1d98197d5500dc5048f373bff0813963891609395caa9 -EBUILD theano-pymc-1.1.2.ebuild 1725 BLAKE2B 76758a0ae576b15401618d7f836c955dcb1595d4e5a2dd51c309e4bf0ecbfabf0bfe2e883d74ece67fe950f6df570cba6f6b8d4b7a4908ed17279e4867e5073a SHA512 3c4197587819fc90830b62b254bf45e5e43f8b75a8292d90c95e187def7e757e375d20e9135ef7bbaaf7a7a7aa9adf82c70d652b22d728692c33cd2307032251 +EBUILD theano-pymc-1.1.2-r1.ebuild 1963 BLAKE2B 5fe652240981f2101f7dad22adde944760d90f42049875b39162deded72dd7b624a6ee1e7f364591c8a69cb56befc8dc2332655809513be4ebfacd00135cb7af SHA512 cb9285ddc9d24c225adb8cac8a4890f4445cb07522661a779a8949644cda8c46cf33ea568a6d9eeac56dcaa38bb03fff38fc5adf86b3ca43a1d7fe85502a7756 MISC metadata.xml 400 BLAKE2B a9f06ebe35c874d15d1a6608e8398a79480b24cc0ec1b7a45db8c8d18aa24d26817c47a62ad13fba1f32286699749679568b75593c0909dd2ef5785450b379f2 SHA512 530f9e294ab4481624cd9757d67a9e8a67dc2a023002a7f312de619bf05bfd1a06c30ecebd0606f76a1dbe37176697e990867c95de9f411b7631bcc341192e93 diff --git a/dev-python/theano-pymc/theano-pymc-1.1.2.ebuild b/dev-python/theano-pymc/theano-pymc-1.1.2-r1.ebuild index 993d261ea618..4d6177238299 100644 --- a/dev-python/theano-pymc/theano-pymc-1.1.2.ebuild +++ b/dev-python/theano-pymc/theano-pymc-1.1.2-r1.ebuild @@ -17,13 +17,14 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +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}]" + dev-python/scipy[${PYTHON_USEDEP}] + !dev-python/theano[${PYTHON_USEDEP}]" BDEPEND=" test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] @@ -55,6 +56,12 @@ python_test() { 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 |