diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/theano/theano-0.8.2.ebuild | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/theano/theano-0.8.2.ebuild')
-rw-r--r-- | dev-python/theano/theano-0.8.2.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-python/theano/theano-0.8.2.ebuild b/dev-python/theano/theano-0.8.2.ebuild deleted file mode 100644 index f7a4e534a576..000000000000 --- a/dev-python/theano/theano-0.8.2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5} ) - -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="doc test" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -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/nose-parameterized[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - )" -S="${WORKDIR}/${MYP}" - -python_prepare_all() { - # remove bundled six - find -type f -name "*.py" -exec \ - sed -e 's:theano.compat.six:six:g' -i '{}' + || die - rm ${PN}/compat/six.py || die - distutils-r1_python_prepare_all -} - -python_test() { - 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 -} |