From 1798c4aeca70ac8d0a243684d6a798fbc65735f8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:57:42 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/algopy/Manifest | 4 --- dev-python/algopy/algopy-0.5.3.ebuild | 30 ---------------------- .../files/algopy-0.5.3-fix-test-cast-ufunc.patch | 29 --------------------- dev-python/algopy/metadata.xml | 11 -------- 4 files changed, 74 deletions(-) delete mode 100644 dev-python/algopy/Manifest delete mode 100644 dev-python/algopy/algopy-0.5.3.ebuild delete mode 100644 dev-python/algopy/files/algopy-0.5.3-fix-test-cast-ufunc.patch delete mode 100644 dev-python/algopy/metadata.xml (limited to 'dev-python/algopy') diff --git a/dev-python/algopy/Manifest b/dev-python/algopy/Manifest deleted file mode 100644 index 41836e8d7663..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 728 BLAKE2B 12b2818fa2106462ffa9e89f6e2998ed247abbf1e4fd61bfc11bd77bebb086ac37507ecfa7ebd03aa523caa5c9375400f8af12917a52109241e7aeac0b89a7ef SHA512 d29dc1f7e9b22b8e7327f35dbe5f1a65b3b4fc2ee33eca4729947eedd9c52db2c280e940adeebe77172e169d2182b6bd85340b6a615bbd80af9a4f2ed911b7b2 -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 80f43edaa2ca..000000000000 --- a/dev-python/algopy/algopy-0.5.3.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) - -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" - -RDEPEND=" - dev-python/numpy[${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 -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 @@ - - - - - python@gentoo.org - Python - - - algopy - - -- cgit v1.2.3