From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1257186-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC12313835A for <garchives@archives.gentoo.org>; Wed, 3 Mar 2021 21:00:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2D5EE081A; Wed, 3 Mar 2021 21:00:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC4A0E081A for <gentoo-commits@lists.gentoo.org>; Wed, 3 Mar 2021 21:00:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E428C33BEC2 for <gentoo-commits@lists.gentoo.org>; Wed, 3 Mar 2021 21:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4DDA7573 for <gentoo-commits@lists.gentoo.org>; Wed, 3 Mar 2021 21:00:36 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1614805232.e5875eb89db237a9477f457973ee256a065f840e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/theano/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/theano/theano-1.0.5-r1.ebuild dev-python/theano/theano-1.0.5.ebuild X-VCS-Directories: dev-python/theano/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e5875eb89db237a9477f457973ee256a065f840e X-VCS-Branch: master Date: Wed, 3 Mar 2021 21:00:36 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 44daee68-a2d4-4d16-944b-e11d58a339f3 X-Archives-Hash: 3dd962086c9b5ca3f66759d0bcdae57f commit: e5875eb89db237a9477f457973ee256a065f840e Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Wed Mar 3 20:34:31 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Mar 3 21:00:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5875eb8 dev-python/theano: Remove colliding bin/__init__.py file Bug: https://bugs.gentoo.org/774072 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/19755 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/theano/{theano-1.0.5.ebuild => theano-1.0.5-r1.ebuild} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-python/theano/theano-1.0.5.ebuild b/dev-python/theano/theano-1.0.5-r1.ebuild similarity index 83% rename from dev-python/theano/theano-1.0.5.ebuild rename to dev-python/theano/theano-1.0.5-r1.ebuild index bf10d34c41e..aa340176494 100644 --- a/dev-python/theano/theano-1.0.5.ebuild +++ b/dev-python/theano/theano-1.0.5-r1.ebuild @@ -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