summaryrefslogtreecommitdiff
path: root/dev-python/algopy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/algopy')
-rw-r--r--dev-python/algopy/Manifest4
-rw-r--r--dev-python/algopy/algopy-0.5.3.ebuild37
-rw-r--r--dev-python/algopy/files/algopy-0.5.3-fix-test-cast-ufunc.patch29
-rw-r--r--dev-python/algopy/metadata.xml11
4 files changed, 0 insertions, 81 deletions
diff --git a/dev-python/algopy/Manifest b/dev-python/algopy/Manifest
deleted file mode 100644
index 6976675359b1..000000000000
--- a/dev-python/algopy/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX algopy-0.5.3-fix-test-cast-ufunc.patch 1216 BLAKE2B 400a6f13fc9e9d426e35af04c1e57c812916ce73973f5f474c27b62a212e3e5fefdbba628d5280c1b9bc8af45667c1b42186ac0ecccd32f49deab2ee11d6f8f4 SHA512 760f2d9ccba579079992b59a8334a1606ac8481c7164637640916418d7ffa1fb989b81dcf1445c205b832f476ef883f1f0f18cb540909526e8b1a05e6c897442
-DIST algopy-0.5.3.tar.gz 149560 BLAKE2B 8fdb5e5c00aa161bbc2a03c584d644e36d2843bbd3d1e090b0a89ef52db9a122561f050aa7676f9fecdf78485963fa3712b3f2698e52fed90d9077ab4395838e SHA512 43b3cd4f17fa821fc61898534f595202097cd56d57133a1d13e23743c794166a0f8877947cc6eae6d2ac2fd7400e2a6527ee8229ec1b26ea660ac9c01cd22912
-EBUILD algopy-0.5.3.ebuild 844 BLAKE2B 3d46456cb576bbd741010f2f79dab6cbaf56efbd374f494d77313e1846e42c8b5625ea9c284bf3c4ee0962c4f21ea9b59a485e415662153bcda1da2c0ad7b137 SHA512 c94b4992c227e4e5f4939d1bb596dd009183feddad5dafa1e16b3540aaad9a278f4d7d93646cb5c37a91e5406ae057850e666e5102907c287d387f497acabf17
-MISC metadata.xml 319 BLAKE2B 467b55a1297cc848051e0e3d9a6d8fd6a4df43c639f3b79fbd3ce31247fe3082c208282256dc070b0ffb0e0721ec868c97bf56c43c8910a554eb29506820b1bb SHA512 032311a0f7e860ef5e890c30458a03beaebb7911d412642208e1bf60f26088e981ef99bce52a637048512eacb3460e740a7d969d5c83ad42e64cb0c584151477
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>