Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/theano/
Date: Mon, 31 Aug 2020 14:15:09
Message-Id: 1598883216.03ecbdd4a2a1ed7aa5ce6429ed6c4d88005d3685.sam@gentoo
1 commit: 03ecbdd4a2a1ed7aa5ce6429ed6c4d88005d3685
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 31 14:13:36 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 31 14:13:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ecbdd4
7
8 dev-python/theano: cleanup old
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-python/theano/Manifest | 1 -
14 dev-python/theano/theano-1.0.4.ebuild | 51 -----------------------------------
15 2 files changed, 52 deletions(-)
16
17 diff --git a/dev-python/theano/Manifest b/dev-python/theano/Manifest
18 index dfa384a3739..80fe6f51d97 100644
19 --- a/dev-python/theano/Manifest
20 +++ b/dev-python/theano/Manifest
21 @@ -1,2 +1 @@
22 -DIST Theano-1.0.4.tar.gz 2840691 BLAKE2B 7f89caee3dd50d75ff09693fde7926f2b7da0f94758ef932f207feea29d74d38ed56591e6ebe0b46cfa043d5fb46d5b97028171acdfd324a01eb7b904169b4ac SHA512 3cc7f9dbb606c3c997c8651c34dd861721d5a8b99d06ed0887306d5a5ad0d7e402fbe29dcb5ad2f513b3bf75966e41a2854ebdf9a4fb212607345f84f367de8c
23 DIST Theano-1.0.5.tar.gz 2842778 BLAKE2B ee82e9487a5265a1040750ace70465c450134e70eba4e58752cbaa7d487be5fb3cce31b838429cb52f7bc31d32a20379e158ee289dd5732dd8b86a9ee36b6d89 SHA512 6bb27753957d32392ea793e39ea56eff94baafbb55e27488f9c0bbdb387172a6829e64f461f83dae192486d9764b72d815e3b8dc059b2af116b024fc7228a118
24
25 diff --git a/dev-python/theano/theano-1.0.4.ebuild b/dev-python/theano/theano-1.0.4.ebuild
26 deleted file mode 100644
27 index 5652fc9d1c4..00000000000
28 --- a/dev-python/theano/theano-1.0.4.ebuild
29 +++ /dev/null
30 @@ -1,51 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{6,7} )
37 -
38 -inherit distutils-r1 eutils
39 -
40 -DESCRIPTION="Define and optimize multi-dimensional arrays mathematical expressions"
41 -HOMEPAGE="https://github.com/Theano/Theano"
42 -SRC_URI="mirror://pypi/T/${PN^}/${PN^}-${PV}.tar.gz"
43 -
44 -LICENSE="BSD"
45 -SLOT="0"
46 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
47 -IUSE="test"
48 -RESTRICT="!test? ( test )"
49 -
50 -RDEPEND="
51 - dev-python/numpy[${PYTHON_USEDEP}]
52 - dev-python/six[${PYTHON_USEDEP}]
53 - sci-libs/scipy[${PYTHON_USEDEP}]
54 -"
55 -DEPEND="${RDEPEND}
56 - dev-python/setuptools[${PYTHON_USEDEP}]
57 - test? (
58 - dev-python/flake8[${PYTHON_USEDEP}]
59 - dev-python/nose[${PYTHON_USEDEP}]
60 - dev-python/parameterized[${PYTHON_USEDEP}]
61 - dev-python/pyflakes[${PYTHON_USEDEP}]
62 - )"
63 -
64 -S="${WORKDIR}/${PN^}-${PV}"
65 -
66 -python_prepare_all() {
67 - # remove bundled six
68 - find -type f -name "*.py" -exec \
69 - sed -e 's:theano.compat.six:six:g' -i '{}' + || die
70 - distutils-r1_python_prepare_all
71 -}
72 -
73 -python_test() {
74 - distutils_install_for_testing
75 - nosetests --verbosity=3 || die
76 -}
77 -
78 -pkg_postinst() {
79 - optfeature "Make picture of Theano computation graph" dev-python/pydot-ng
80 - optfeature "Required for GPU/CPU code generation" dev-python/pygpu
81 -}