From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 34E25139085 for ; Wed, 4 Jan 2017 06:03:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80BA321C039; Wed, 4 Jan 2017 06:03:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53C5E21C039 for ; Wed, 4 Jan 2017 06:03:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62D6D34102B for ; Wed, 4 Jan 2017 06:02:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F19B2622 for ; Wed, 4 Jan 2017 06:02:54 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1483509726.ed61d295f7fc1cce7551a29847d54645748edaef.bicatali@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/theano/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/theano/Manifest dev-python/theano/theano-0.8.2.ebuild X-VCS-Directories: dev-python/theano/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: ed61d295f7fc1cce7551a29847d54645748edaef X-VCS-Branch: master Date: Wed, 4 Jan 2017 06:02:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 13f1b1a6-a74f-4824-94f6-10e38e9e3929 X-Archives-Hash: 07d751cb4fb721380b01834a15ad7a2a commit: ed61d295f7fc1cce7551a29847d54645748edaef Author: Sébastien Fabbro gentoo org> AuthorDate: Wed Jan 4 06:01:03 2017 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Wed Jan 4 06:02:06 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed61d295 dev-python/theano: version bump experimental gpu support Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/theano/Manifest | 1 + dev-python/theano/theano-0.8.2.ebuild | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/theano/Manifest b/dev-python/theano/Manifest index eb5e9e1..3358581 100644 --- a/dev-python/theano/Manifest +++ b/dev-python/theano/Manifest @@ -1,2 +1,3 @@ DIST Theano-0.6.0.tar.gz 1763756 SHA256 aaa75f9a9b7bf50f09ddcc01fb993cf47513179d0a7bee3d96bfeebd66e76083 SHA512 6333c673df809bed3af952e0759cce4878ed21684367c6eb20e422363c7c5696ea59239ff6a448c6a32771b1069d441b0e3d049f9708ae69d790412303b8ebbd WHIRLPOOL 946fcacb87b7745e72282f5f7e6b67db5fd0e365f55b2c97a8e9e506e30986d90da7c3789636892ca316da33f4f064f99d31fc3771678457dd609fd0c43d9010 DIST Theano-0.7.0.tar.gz 1985387 SHA256 05b0f6d2467735abea13bdc5c2c1ce3c53f1b89f9ebc5a43abdf71f88cf818b3 SHA512 6e6bf9afdebf3c281d71f5ceda73792e0a52b403b18776a639665767ac73ac4920b5042e29d656d517b8f023e5f9cd5a27086e0456dc40c42abf6f3569da3f06 WHIRLPOOL b79906e39eb8f7cad26160148465b4719d1011e1a4626c98fdb55cd273ff289b0c01278d51fdc8271b71434be0fd036f8259a315b07639e9ad83d1e3bf313687 +DIST Theano-0.8.2.tar.gz 2914631 SHA256 7463c8f7ed1a787bf881f36d38a38607150186697e7ce7e78bfb94b7c6af8930 SHA512 d7bad7ed4c9453470b66df2ada4587fbe9effc134c0604d11576630a613568386d41aa7dd4a77f8b7a1eb6d8a2f76a8e809b1ac3ae18c85a0c55ba4a059b865e WHIRLPOOL 05ae7308054e74fcbcb9057aca5a0e8ed7db7980e4a258bf5143f2a1ae9cfb430808a48467d6a185cdb4215ce33163a1e6e1961284e593c90cc9be6f0c9a5cbb diff --git a/dev-python/theano/theano-0.8.2.ebuild b/dev-python/theano/theano-0.8.2.ebuild new file mode 100644 index 00000000..c48464f --- /dev/null +++ b/dev-python/theano/theano-0.8.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 \ + "Required for GPU/CPU code generation" dev-python/pygpu +}