dev-python/theano: Remove colliding bin/__init__.py file

Bug: https://bugs.gentoo.org/774072
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/19755
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Jakov Smolic 2021-03-03 21:34:31 +01:00 committed by Michał Górny
parent 8eab089338
commit e5875eb89d
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -42,6 +42,12 @@ python_test() {
nosetests --verbosity=3 -e test_format_flake8 || die
}
# 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 "Make picture of Theano computation graph" dev-python/pydot-ng
optfeature "Required for GPU/CPU code generation" dev-python/pygpu