diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-08-20 14:46:32 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-08-20 14:46:32 +0200 |
commit | 8fb6a431b3537745847b030f92ff18cc7e314555 (patch) | |
tree | 0d79cb3433bc20d7d1fb1b3c0fe4b26074f9f924 /dev-python/algopy | |
parent | dev-python/eventlet: Unset PYTHONPATH to fix tests (diff) | |
download | gentoo-8fb6a431b3537745847b030f92ff18cc7e314555.tar.gz gentoo-8fb6a431b3537745847b030f92ff18cc7e314555.tar.bz2 gentoo-8fb6a431b3537745847b030f92ff18cc7e314555.zip |
dev-python/algopy: Remove last-rited pkg
Closes: https://bugs.gentoo.org/730760
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/algopy')
-rw-r--r-- | dev-python/algopy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/algopy/algopy-0.5.3.ebuild | 37 | ||||
-rw-r--r-- | dev-python/algopy/files/algopy-0.5.3-fix-test-cast-ufunc.patch | 29 | ||||
-rw-r--r-- | dev-python/algopy/metadata.xml | 11 |
4 files changed, 0 insertions, 78 deletions
diff --git a/dev-python/algopy/Manifest b/dev-python/algopy/Manifest deleted file mode 100644 index 288dac3ec1a6..000000000000 --- a/dev-python/algopy/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST algopy-0.5.3.tar.gz 149560 BLAKE2B 8fdb5e5c00aa161bbc2a03c584d644e36d2843bbd3d1e090b0a89ef52db9a122561f050aa7676f9fecdf78485963fa3712b3f2698e52fed90d9077ab4395838e SHA512 43b3cd4f17fa821fc61898534f595202097cd56d57133a1d13e23743c794166a0f8877947cc6eae6d2ac2fd7400e2a6527ee8229ec1b26ea660ac9c01cd22912 diff --git a/dev-python/algopy/algopy-0.5.3.ebuild b/dev-python/algopy/algopy-0.5.3.ebuild deleted file mode 100644 index 4deca4ef6ad9..000000000000 --- a/dev-python/algopy/algopy-0.5.3.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Taylor Arithmetic Computation and Algorithmic Differentiation" -HOMEPAGE="https://pypi.org/project/algopy/ https://pythonhosted.org/algopy/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - || ( - dev-python/numpy-python2[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) - || ( - sci-libs/scipy-python2[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - ) -" -DEPEND="${RDEPEND} - test? ( dev-python/nose[${PYTHON_USEDEP}] ) -" -PATCHES=( "${FILESDIR}/${P}-fix-test-cast-ufunc.patch" ) - -python_test() { - ${EPYTHON} run_tests.py || die -} diff --git a/dev-python/algopy/files/algopy-0.5.3-fix-test-cast-ufunc.patch b/dev-python/algopy/files/algopy-0.5.3-fix-test-cast-ufunc.patch deleted file mode 100644 index 0b8a0eda5080..000000000000 --- a/dev-python/algopy/files/algopy-0.5.3-fix-test-cast-ufunc.patch +++ /dev/null @@ -1,29 +0,0 @@ -From f563d86e72b32caa296ac77b0836ce0e36a5f6ab Mon Sep 17 00:00:00 2001 -From: Sebastian Walter <sebastian.walter@iwr.uni-heidelberg.de> -Date: Thu, 30 Jun 2016 15:11:19 +0200 -Subject: [PATCH] Problem: numpy raised TypeError: Cannot cast ufunc add output - from dtype('complex128') to dtype('float64') with casting rule 'same_kind' - Solution: use numpy.add(x,y,out=x, casting='unsafe') to cast from complex to - float if necessary - ---- - algopy/utpm/algorithms.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/algopy/utpm/algorithms.py b/algopy/utpm/algorithms.py -index ccf7ca4..5f2651e 100644 ---- a/algopy/utpm/algorithms.py -+++ b/algopy/utpm/algorithms.py -@@ -1190,9 +1190,9 @@ def _dot(cls, x_data, y_data, out = None): - for d in range(D): - for p in range(P): - for c in range(d+1): -- z_data[d,p,...] += numpy.dot( -- x_data[c,p,...], -- y_data[d-c,p,...]) -+ tmp = numpy.dot(x_data[c,p,...], -+ y_data[d-c,p,...]) -+ numpy.add(z_data[d,p,...], tmp, out=z_data[d,p, ...], casting='unsafe') - - return out - diff --git a/dev-python/algopy/metadata.xml b/dev-python/algopy/metadata.xml deleted file mode 100644 index d57568e5a1b7..000000000000 --- a/dev-python/algopy/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="pypi">algopy</remote-id> - </upstream> -</pkgmetadata> |