diff options
Diffstat (limited to 'dev-python/theano')
-rw-r--r-- | dev-python/theano/Manifest | 4 | ||||
-rw-r--r-- | dev-python/theano/theano-0.6.0.ebuild | 31 | ||||
-rw-r--r-- | dev-python/theano/theano-1.0.4.ebuild | 51 |
3 files changed, 53 insertions, 33 deletions
diff --git a/dev-python/theano/Manifest b/dev-python/theano/Manifest index 1b12fb77ef36..243aaca71aad 100644 --- a/dev-python/theano/Manifest +++ b/dev-python/theano/Manifest @@ -1,9 +1,9 @@ -DIST Theano-0.6.0.tar.gz 1763756 BLAKE2B d5eddeef1868f4fd6946b2067d0c7264f699650a79f50579eed4e768b59bdd02d81cfbbcd29b6aedac28d7bdd89ec1a6dfabb97b1d203bf8d61d6cac3ce7ae1c SHA512 6333c673df809bed3af952e0759cce4878ed21684367c6eb20e422363c7c5696ea59239ff6a448c6a32771b1069d441b0e3d049f9708ae69d790412303b8ebbd DIST Theano-0.7.0.tar.gz 1985387 BLAKE2B 00d547d5d1f6bb4049a1db71442381ae3803be683975ccca7536b8971e066ac1d09a4fc93a7f70693ae052bbf681e0c59a8b30a326f862f870e10422b438f979 SHA512 6e6bf9afdebf3c281d71f5ceda73792e0a52b403b18776a639665767ac73ac4920b5042e29d656d517b8f023e5f9cd5a27086e0456dc40c42abf6f3569da3f06 DIST Theano-0.8.2.tar.gz 2914631 BLAKE2B d136630d689101e9ae47984cd13289b03943276ed0aa606478169d4334a302448f5a2c31d65b1e6d571648772d6f0760cc004f2eefd86d41d72f2b0270017763 SHA512 d7bad7ed4c9453470b66df2ada4587fbe9effc134c0604d11576630a613568386d41aa7dd4a77f8b7a1eb6d8a2f76a8e809b1ac3ae18c85a0c55ba4a059b865e DIST Theano-0.9.0.tar.gz 3116713 BLAKE2B bf38d3c504909caa7aaf8e704a6afc86ab56810199190a0a6beb86ff5e0f9a75c8681dee1f1411ddcfa40739576e4d725c2423e74a32e796987fbd4b09ffde76 SHA512 e0e59256d2442f929fb120b4b21cab735e0a8ba087c4ea7d7caeabe8fa30cc19a46181fe1b4e268e778344fb3506eb20d8090dfc8d2a499c1bf84b07352686ab -EBUILD theano-0.6.0.ebuild 731 BLAKE2B 9a9f133b2f645a2b7f30fc70745aab5b2cf55deb3168cb46027d0ff5d8f750a06f2182fd9787e976a12cf5e378c876fb839e895128adcfb0217d32027335b7db SHA512 54e3bc7f4dae23ebdd850fb26bf43c8f69a452c3b06bc1a4da1b6f133a95856bb2208f410ed2d3497c943c19165595620c9493b7c11ca928502bed737de0ddb2 +DIST Theano-1.0.4.tar.gz 2840691 BLAKE2B 7f89caee3dd50d75ff09693fde7926f2b7da0f94758ef932f207feea29d74d38ed56591e6ebe0b46cfa043d5fb46d5b97028171acdfd324a01eb7b904169b4ac SHA512 3cc7f9dbb606c3c997c8651c34dd861721d5a8b99d06ed0887306d5a5ad0d7e402fbe29dcb5ad2f513b3bf75966e41a2854ebdf9a4fb212607345f84f367de8c EBUILD theano-0.7.0.ebuild 1005 BLAKE2B 934cfe616a4ecf858ea278fa26c71c39655310d1377e8ec4fd57ce7bb642004b861d75840e238e04e238562cd4c86d4cd5a2f960b6f0fc566bc8e7562f473137 SHA512 5d15c8eb54bc2a6db09e5f2279b54526bcce8c07041808d6a021d41200fce309b3aa430c95702d1e5d6e549102070489c36498bde0ae717d93c301ef868107d0 EBUILD theano-0.8.2.ebuild 1325 BLAKE2B e7b89ee6c43ad06ed7d99e34c5f4594cffd2b03f41983f0c63f210f272b68aa5dc44052428f7d90eb5953a53c8bf562d3adafe60c75652723aec88a9a6cd7f07 SHA512 763f07ed681dea61836b5d3c0a35642fe6bbd8334091d6bac5d9016ed0c2287e60e8235ec2f390dd1856879756b0d7c73b0cdb0c82a01f983415779b539b9836 EBUILD theano-0.9.0.ebuild 1326 BLAKE2B 0c895d7988fd60fbaa48e1e38a93a32eead802bd582d3041f98df50d0e45d565ff9c2bc7c68228727fd0e53301e7d4f408c8f3e0dcbe6e03bb85c0607f693622 SHA512 de28a14628e8127185f26b1b51a050c6c5dfda457cb13752ec9036bc61109f6c831a7a88c606147cf0a118b705c448f50bd2d0c7fc26bf030fa0fc73df3e5f4c +EBUILD theano-1.0.4.ebuild 1287 BLAKE2B d47fde8e8bfff99c4ad24c8da2edbc453b6ecaf6835efc2f0b8b1ecbcff19f44c002fffbb11043b9b2202268768c1997a558ca9f394d668163e5f6cc26446022 SHA512 bc37a94769750591801145ba877b42b6a9b878ca794568aebee386bb9f9a722523f867d6a642b328897599122c598e75344199b566c33cf3581e230f7ff97d59 MISC metadata.xml 632 BLAKE2B 2bee1d4912596b45d3f5cc0528a927078a072091148dfce38892319b91a0635859fa91dea32565b4a7f5ed02726364a50870bab22197c57ff33c88a48ad9d223 SHA512 653fc6d180455ee24967e70f78682ed2a7e61022d6867390b4c4eb994699b3f293bafe45b4fcf1c4ace3f102acba41c5491e8fb39b9f6102f1022a2c51955ef7 diff --git a/dev-python/theano/theano-0.6.0.ebuild b/dev-python/theano/theano-0.6.0.ebuild deleted file mode 100644 index 04aebf32abcd..000000000000 --- a/dev-python/theano/theano-0.6.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 versionator - -MYPN=Theano -MYP=${MYPN}-$(replace_version_separator 3 '') - -DESCRIPTION="Define and optimize multi-dimensional arrays mathematical expressions" -HOMEPAGE="https://github.com/Theano/Theano" -SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" - -SLOT="0" -LICENSE="BSD" -IUSE="test" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND="sci-libs/scipy[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -S="${WORKDIR}/${MYP}" - -python_test() { - nosetests --verbosity=3 || die -} diff --git a/dev-python/theano/theano-1.0.4.ebuild b/dev-python/theano/theano-1.0.4.ebuild new file mode 100644 index 000000000000..645f4a198a38 --- /dev/null +++ b/dev-python/theano/theano-1.0.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Define and optimize multi-dimensional arrays mathematical expressions" +HOMEPAGE="https://github.com/Theano/Theano" +SRC_URI="mirror://pypi/theano/${PN^}/${PN^}-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${PN^}-${PV}" + +python_prepare_all() { + # remove bundled six + find -type f -name "*.py" -exec \ + sed -e 's:theano.compat.six:six:g' -i '{}' + || die + distutils-r1_python_prepare_all +} + +python_test() { + distutils_install_for_testing + nosetests --verbosity=3 || die +} + +pkg_postinst() { + optfeature "Make picture of Theano computation graph" dev-python/pydot-ng + optfeature "Required for GPU/CPU code generation" dev-python/pygpu +} |