diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-20 18:44:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-20 18:44:42 +0000 |
| commit | c4632515efabf2004733dd763b09aee9ad8dae1d (patch) | |
| tree | 9bfdb4e64311c486d4d84ba52e5f9450163314e5 /dev-python/algopy | |
| parent | eac51f085bfa1445119f1fc8007cc57185a763ca (diff) | |
| download | baldeagleos-repo-c4632515efabf2004733dd763b09aee9ad8dae1d.tar.gz baldeagleos-repo-c4632515efabf2004733dd763b09aee9ad8dae1d.tar.xz baldeagleos-repo-c4632515efabf2004733dd763b09aee9ad8dae1d.zip | |
Updating liguros repo
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 | 12 |
4 files changed, 0 insertions, 79 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 c74b9aae0572..000000000000 --- a/dev-python/algopy/metadata.xml +++ /dev/null @@ -1,12 +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> - <origin>gentoo-staging</origin> -</pkgmetadata> |
