summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-07-24 18:10:05 +0200
committerThomas Sachau <tommy@gentoo.org>2009-07-24 18:10:05 +0200
commitfe4f1c09ab10040cabcf36d0b9566ed076cd3bbd (patch)
tree0dc8dfb47b7e203a6cac77ea2dd678d1ca9f1c50 /dev-python
parentDrop dev-python/libgnome-python (diff)
downloadmultilib-portage-fe4f1c09ab10040cabcf36d0b9566ed076cd3bbd.tar.gz
multilib-portage-fe4f1c09ab10040cabcf36d0b9566ed076cd3bbd.tar.bz2
multilib-portage-fe4f1c09ab10040cabcf36d0b9566ed076cd3bbd.zip
Drop dev-python/numeric
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/numeric/ChangeLog228
-rw-r--r--dev-python/numeric/Manifest16
-rw-r--r--dev-python/numeric/files/numeric-23.7.patch50
-rw-r--r--dev-python/numeric/files/numeric-24.2-arrayobject.patch14
-rw-r--r--dev-python/numeric/files/numeric-24.2-dotblas.patch98
-rw-r--r--dev-python/numeric/files/numeric-24.2-eigen.patch11
-rw-r--r--dev-python/numeric/files/numeric-24.2-lapack.patch30
-rw-r--r--dev-python/numeric/files/numeric-24.2-python25.patch198
-rw-r--r--dev-python/numeric/files/numeric-24.2-test.patch12
-rw-r--r--dev-python/numeric/files/numeric-24.2-umath.patch14
-rw-r--r--dev-python/numeric/metadata.xml13
-rw-r--r--dev-python/numeric/numeric-23.7.ebuild35
-rw-r--r--dev-python/numeric/numeric-24.2-r5.ebuild60
-rw-r--r--dev-python/numeric/numeric-24.2-r6.ebuild95
14 files changed, 0 insertions, 874 deletions
diff --git a/dev-python/numeric/ChangeLog b/dev-python/numeric/ChangeLog
deleted file mode 100644
index 084d6b9b2..000000000
--- a/dev-python/numeric/ChangeLog
+++ /dev/null
@@ -1,228 +0,0 @@
-# ChangeLog for dev-python/numeric
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numeric/ChangeLog,v 1.46 2009/04/13 11:38:12 armin76 Exp $
-
- 13 Apr 2009; Raúl Porcel <armin76@gentoo.org> numeric-24.2-r6.ebuild:
- Add ~arm/~sh
-
- 04 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org> -numeric-23.8.ebuild,
- -numeric-24.2.ebuild:
- Removed obsolete versions
-
- 17 Nov 2007; Samuli Suominen <drac@gentoo.org> numeric-24.2-r6.ebuild:
- amd64 stable wrt #182392
-
- 16 Nov 2007; nixnut <nixnut@gentoo.org> numeric-24.2-r6.ebuild:
- Stable on ppc wrt bug 182392
-
- 29 Oct 2007; Raúl Porcel <armin76@gentoo.org> numeric-24.2-r6.ebuild:
- alpha/ia64 stable wrt #182392
-
- 28 Oct 2007; Markus Rothe <corsair@gentoo.org> numeric-24.2-r6.ebuild:
- Stable on ppc64; bug #182392
-
- 22 Oct 2007; Markus Meier <maekke@gentoo.org> numeric-24.2-r6.ebuild:
- x86 stable, bug #182392
-
- 22 Oct 2007; Jeroen Roovers <jer@gentoo.org> numeric-24.2-r6.ebuild:
- Stable for HPPA (bug #182392).
-
- 22 Oct 2007; Ferris McCormick <fmccor@gentoo.org> numeric-24.2-r6.ebuild:
- Sparc stable --- Bug #182392
-
- 15 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
- numeric-24.2-r5.ebuild, numeric-24.2-r6.ebuild:
- Use the new virtual/cblas. Cleaning latest version ebuilds.
-
- 04 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org>
- files/numeric-24.2-lapack.patch, numeric-24.2-r6.ebuild:
- fixed fortran libs
-
- 03 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org>
- files/numeric-24.2-lapack.patch, numeric-24.2-r6.ebuild:
- fixed lapack libs when threaded, cleaned-up lapack/fortran stuff
-
- 02 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org>
- files/numeric-24.2-python25.patch:
- fixed patch for python-2.5
-
- 02 Sep 2007; Markus Dittrich <markusle@gentoo.org>
- files/numeric-24.2-arrayobject.patch, files/numeric-24.2-dotblas.patch,
- numeric-24.2-r6.ebuild:
- Fixed bugs in patches and disabled linking against libg2c for
- atlas as well (fixes bug #191022).
-
-*numeric-24.2-r5 (01 Sep 2007)
-
- 01 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org>
- files/numeric-24.2-arrayobject.patch, +files/numeric-24.2-dotblas.patch,
- files/numeric-24.2-lapack.patch, files/numeric-24.2-python25.patch,
- -numeric-24.2-r3.ebuild, -numeric-24.2-r4.ebuild,
- +numeric-24.2-r5.ebuild, +numeric-24.2-r6.ebuild,
- Fixed various patches.
- Added fix for python-2.5 on amd64 thanks to dsd, cleaned ebuild, remove
- buggy revisions. Closing bug #176914.
-
- 25 May 2007; Sébastien Fabbro <bicatali@gentoo.org>
- numeric-24.2-r4.ebuild:
- fixed syntax error in sedding customize.py
-
- 24 Feb 2007; Sébastien Fabbro <bicatali@gentoo.org>
- numeric-24.2-r4.ebuild:
- fixed minimum cblas dependencies supporting eselect-cblas.
-
-*numeric-24.2-r4 (23 Feb 2007)
-*numeric-24.2-r3 (23 Feb 2007)
-
- 23 Feb 2007; Sébastien Fabbro <bicatali@gentoo.org>
- files/numeric-24.2-arrayobject.patch, files/numeric-24.2-lapack.patch,
- +files/numeric-24.2-python25.patch, +files/numeric-24.2-test.patch,
- metadata.xml, -numeric-24.2-r1.ebuild, -numeric-24.2-r2.ebuild,
- +numeric-24.2-r3.ebuild, +numeric-24.2-r4.ebuild:
- Added sci herd in metadata.xml, removed buggy
- numeric-24.2-r{1,2}.ebuild, better cblas/lapack treatments, more patches.
- Use numeric-24.2-r4 with lapack support for arches supporting it.
-
-*numeric-24.2-r2 (07 Feb 2007)
-
- 07 Feb 2007; Sébastien Fabbro <bicatali@gentoo.org>
- +numeric-24.2-r2.ebuild:
- Added the possibility to compile linear algebra with installed
- blas/cblas/lapack on architectures supporting it. Closing bug #81520.
-
-*numeric-24.2-r1 (07 Feb 2007)
-
- 07 Feb 2007; Sébastien Fabbro <bicatali@gentoo.org>
- +files/numeric-24.2-arrayobject.patch, +files/numeric-24.2-eigen.patch,
- +files/numeric-24.2-lapack.patch, +files/numeric-24.2-umath.patch,
- metadata.xml, +numeric-24.2-r1.ebuild:
- Fixed an include placement for math.h, allowing acosh and asinh, an
- eigenvalue solver hang and a memory leak. Closing bug #114885. Added
- longdescription in metadata.xml.
-
- 28 Jul 2006; Javier Villavicencio <the_paya@gentoo.org>
- numeric-24.2.ebuild:
- Add ~x86-fbsd keyword.
-
-*numeric-24.2 (01 Dec 2005)
-
- 01 Dec 2005; Carsten Lohrke <carlo@gentoo.org> +numeric-24.2.ebuild:
- version bump
-
- 22 Aug 2005; Lukasz Strzygowski <lucass@gentoo.org> numeric-22.0.ebuild,
- numeric-23.1.ebuild, numeric-23.7.ebuild, numeric-23.8.ebuild:
- Fixed homepage. Closing bug #103371.
-
- 21 Jul 2005; Markus Rothe <corsair@gentoo.org> numeric-23.7.ebuild:
- Stable on ppc64
-
- 11 Jul 2005; Stephen P. Becker <geoman@gentoo.org> numeric-23.7.ebuild,
- numeric-23.8.ebuild:
- added mips keywords to satisfy gnome repoman deps
-
- 02 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> numeric-23.7.ebuild:
- Stable on alpha.
-
- 17 May 2005; Michael Hanselmann <hansmi@gentoo.org> numeric-23.7.ebuild:
- Stable on ppc.
-
- 11 May 2005; Marcus D. Hanwell <cryos@gentoo.org> numeric-23.7.ebuild:
- Stable on amd64.
-
- 08 May 2005; Aron Griffis <agriffis@gentoo.org> numeric-23.7.ebuild:
- stable on ia64
-
- 01 May 2005; Guy Martin <gmsoft@gentoo.org> numeric-23.7.ebuild:
- Stable on hppa.
-
- 26 Apr 2005; Gustavo Zacarias <gustavoz@gentoo.org> numeric-23.7.ebuild:
- Stable on sparc
-
-*numeric-23.8 (25 Apr 2005)
-
- 25 Apr 2005; Carsten Lohrke <carlo@gentoo.org> -files/numeric-23.3.patch,
- -numeric-23.0.ebuild, -numeric-23.3.ebuild, -numeric-23.6.ebuild,
- +numeric-23.8.ebuild:
- version bump, clean up
-
- 25 Apr 2005; Carsten Lohrke <carlo@gentoo.org> numeric-23.7.ebuild:
- stable on x86
-
- 21 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> numeric-23.1.ebuild:
- Stable on ppc.
-
- 08 Apr 2005; Markus Rothe <corsair@gentoo.org> numeric-23.7.ebuild:
- Added ~ppc64 to KEYWORDS
-
-*numeric-23.7 (21 Jan 2005)
-
- 21 Jan 2005; Carsten Lohrke <carlo@gentoo.org> +files/numeric-23.7.patch,
- +numeric-23.7.ebuild:
- version bump
-
- 30 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
- Change encoding to UTF-8 for GLEP 31 compliance
-
-*numeric-23.6 (07 Dec 2004)
-
- 07 Dec 2004; Carsten Lohrke <carlo@gentoo.org> +numeric-23.6.ebuild:
- version bump
-
-*numeric-23.3 (18 Aug 2004)
-
- 18 Aug 2004; Bryan Østergaard <kloeri@gentoo.org> +files/numeric-23.3.patch,
- +numeric-23.3.ebuild:
- Version bump, ebuild by S.Caglar Onur <caglar.onur@tubitak.gov.tr>
-
- 31 May 2004; Bryan Østergaard <kloeri@gentoo.org> numeric-23.1.ebuild:
- Stable on alpha.
-
- 04 May 2004; Bryan Østergaard <kloeri@gentoo.org> numeric-22.0.ebuild:
- Add missing IUSE.
-
- 26 Feb 2004; Sven Blumenstein <bazik@gentoo.org> numeric-23.1.ebuild:
- Stable on sparc.
-
-*numeric-23.1 (02 Sep 2003)
-
- 20 Jan 2004; Guy Martin <gmsoft@gentoo.org> numeric-23.1.ebuild :
- Marked stable on hppa.
-
- 02 Sep 2003; Alastair Tse <liquidx@gentoo.org> metadata.xml,
- numeric-22.0.ebuild, numeric-23.0.ebuild, numeric-23.1.ebuild:
- moved from dev-python/Numeric to dev-python/numeric
-
-*numeric-23.0 (03 Apr 2003)
-
- 03 Apr 2003; Alastair Tse <liquidx@gentoo.org> Numeric-23.0.ebuild:
- version bump
-
-*numeric-22.0 (17 Dec 2002)
-
- 17 Dec 2002; B.Lauwers <blauwers@gentoo.org> :
- Version bump.
-
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
-*Numeric-21.0 (14 Mar 2002)
-
- 7 Sep 2002; Owen Stampflee <owen@gentoo.org> :
- Added PPC to KEYWORDS.
-
- 26 Jul 2002; George Shapovalov <george@gentoo.org> Numeric-19.0.0.ebuild, Numeric-20.3.ebuild, Numeric-21.0.ebuild :
- added KEYWORDS,SLOT,LICENSE; corrected the header
-
-
- 14 Mar 2002; T.Neidt <tod@gentoo.org> ChangeLog, Numeric-21.0.ebuild :
-
- Updated version.
-
-*Numeric-20.3 (1 Feb 2002)
-
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
diff --git a/dev-python/numeric/Manifest b/dev-python/numeric/Manifest
deleted file mode 100644
index 0a662bb42..000000000
--- a/dev-python/numeric/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
-AUX numeric-23.7.patch 2311 RMD160 bab250c3106bda159fc73f85f35e82f6ab2b93fa SHA1 ad733a495b3115ecd24ca4d8f8458923d0a308d5 SHA256 eafed2342ecd71ae00c8f1e780e4fcf3fc561e33c5499a6112edefe5de4af9b4
-AUX numeric-24.2-arrayobject.patch 462 RMD160 79d9b18576fb7465d462e9bba7d1be6d4d6ef95a SHA1 b5f40d0252b94dc6451e1708691135c2717f455d SHA256 eadeed68c87f829188ef5a95abf0bca61024497b8783b62aca749afd68f55386
-AUX numeric-24.2-dotblas.patch 3940 RMD160 305b26c9892391e9fe7aa8195aa615e64016598e SHA1 98689c97f4c9e2bcae5549687d42d4a924b4acde SHA256 21729353e06f94a33dffc6154fb17f55b0d784bad499eb4aab7d826b649e9043
-AUX numeric-24.2-eigen.patch 292 RMD160 7502282632c01c2012b27ac191c2036abb43b59f SHA1 48eba53c874a212964fd5fcd87cd8285dc8ba792 SHA256 8038f5e8ceaa3c853d32711ee9945903c56d550f316f5778e93e234db6897cab
-AUX numeric-24.2-lapack.patch 946 RMD160 e253d663371d99e73591d65c52c01921ff8f9b07 SHA1 8c0041fa67cae427c4f9465daea85d8fe845b77c SHA256 243c33d5dd2eca0d234d94cd308dc59e403a86d7ab1faa2d736f27718eb16a0b
-AUX numeric-24.2-python25.patch 7000 RMD160 9be7e617d6571c8a150fccf2df2ba416b3166b71 SHA1 e734437996d9259e6b96e51b18e0cd045ea2a631 SHA256 d51856929e32160c02fb526a023cb95d53b921eb1ed3076baa40fa6e0f02a874
-AUX numeric-24.2-test.patch 569 RMD160 e76ae89e8925a0f9d0b7cd7f2d8c43e09e45ecf6 SHA1 076fdc231ba64662ddb1d61ed79920d70430c7fe SHA256 807f8963adadef5fac8cb7820c16748e6cfcb112046b0e16bfa249d5ec330520
-AUX numeric-24.2-umath.patch 357 RMD160 33c55cd84cd3a1e2acb32b9420e5c2fab3f6486b SHA1 e62bef8fb392eedc9b27364fdd2c6ad1d3800175 SHA256 00f41e3fb05b9e26daf200a0bc1397d36055590b1ccb416c33ac76464d08a36c
-DIST Numeric-23.7.tar.gz 725824 RMD160 1ff89d0e809c97b5cc06184676503bfee12c2fcd SHA1 3fe90c14692c9fe9da0d4202df4036e8ecfdd365 SHA256 33225097777e84dfed251aee1265a9c0dd0976854e83f60e778a670027b12e7c
-DIST Numeric-24.2.tar.gz 743800 RMD160 c9502db28663558c535e236392c9beddec9743bb SHA1 72869ef80c12630a9a125ba10c96093b6ae16aff SHA256 5f72e729eb6ff57442f2a38bfc9931738b59e5077928e2e70d22b4610ff15258
-DIST numpy.pdf 1234555 RMD160 7a4f20c6f239989871594850f379cc2588ed34af SHA1 0a5ddb28ecea2fdc48e026366f100d952743dffb SHA256 1005b55ee84265be490d8270b4e464e11f59455c220da822f6901342f5fe804f
-EBUILD numeric-23.7.ebuild 933 RMD160 7e3c636ab6b6dd9df0cc7213e21a07734186aca4 SHA1 c8e1f3e16dfade38b83650a3a1f7e37aa0250e79 SHA256 9f2384048a7b34ea20d6cd30b31404b389a408640327a5e60040eba3557f8cd5
-EBUILD numeric-24.2-r5.ebuild 1615 RMD160 19bbc36e5a8ee428dbc646f90b956952765f4414 SHA1 260843046ae28560a54e62e2f30df88e30ebac3d SHA256 6e0db8c4861db41c6bed917656701e54302d72eb320efb99052873cef1792d1b
-EBUILD numeric-24.2-r6.ebuild 2640 RMD160 b7d12b174a05138196a149d0bef2efdeb729d4ca SHA1 7378d0bda51299c0d0251f4bf387f399bcea2345 SHA256 c2051557ccac2b1ac1df639bdd95f05c3f2df75b6ff119f9af082fa5bd797e47
-MISC ChangeLog 8010 RMD160 695119f14424f39cf522ed47d32c4f9b6e0e8241 SHA1 170f3f18c62012f815815b6bcd1dfb253ae81d3d SHA256 c3a5b2713c7e9fa1b9f6a006208382cdbe2f25450fa9a7090f9f5cafbbae9634
-MISC metadata.xml 541 RMD160 72132dabcdb4bf092f51e9fe632c4fa3e75bf83c SHA1 e1f11e89405fa3bf2da1b1dcee2a86f8ad7f1d43 SHA256 e2629c5f0ce5f03b5666f9169b04cc699eac40e11179c4c45aa93f32f6c9dbb7
diff --git a/dev-python/numeric/files/numeric-23.7.patch b/dev-python/numeric/files/numeric-23.7.patch
deleted file mode 100644
index bdad3a5ff..000000000
--- a/dev-python/numeric/files/numeric-23.7.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- setup.py.orig 2005-01-06 23:16:13.000000000 +0100
-+++ setup.py 2005-01-21 17:36:43.000000000 +0100
-@@ -33,18 +33,18 @@
-
- # delete all but the first one in this list if using your own LAPACK/BLAS
- sourcelist = [os.path.join('Src', 'lapack_litemodule.c'),
-- #os.path.join('Src', 'blas_lite.c'),
-- #os.path.join('Src', 'f2c_lite.c'),
-- #os.path.join('Src', 'zlapack_lite.c'),
-- #os.path.join('Src', 'dlapack_lite.c')
-+ os.path.join('Src', 'blas_lite.c'),
-+ os.path.join('Src', 'f2c_lite.c'),
-+ os.path.join('Src', 'zlapack_lite.c'),
-+ os.path.join('Src', 'dlapack_lite.c')
- ]
- # set these to use your own BLAS;
-
--library_dirs_list = ['/usr/lib/atlas']
--libraries_list = ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c']
-+#library_dirs_list = ['/usr/lib/atlas']
-+#libraries_list = ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c']
-
- # set to true (1), if you also want BLAS optimized matrixmultiply/dot/innerproduct
--use_dotblas = 1
-+use_dotblas = 0
- include_dirs = ['/usr/include/atlas']
- # You may need to set this to find cblas.h
- # e.g. on UNIX using ATLAS this should be ['/usr/include/atlas']
-@@ -86,8 +86,8 @@
- os.path.join('Src', 'linpack.c')],
- extra_compile_args = extra_compile_args),
- Extension('lapack_lite', sourcelist,
-- library_dirs = library_dirs_list,
-- libraries = libraries_list,
-+# library_dirs = library_dirs_list,
-+# libraries = libraries_list,
- extra_link_args = extra_link_args,
- extra_compile_args = extra_compile_args)
- ]
-@@ -120,8 +120,8 @@
- package_dir['dotblas'] = os.path.join('Packages', 'dotblas', 'dotblas')
- ext_modules.append(Extension('_dotblas',
- [os.path.join('Packages', 'dotblas', 'dotblas', '_dotblas.c')],
-- library_dirs = library_dirs_list,
-- libraries = libraries_list,
-+# library_dirs = library_dirs_list,
-+# libraries = libraries_list,
- extra_compile_args=extra_compile_args))
-
-
diff --git a/dev-python/numeric/files/numeric-24.2-arrayobject.patch b/dev-python/numeric/files/numeric-24.2-arrayobject.patch
deleted file mode 100644
index ef549b0a5..000000000
--- a/dev-python/numeric/files/numeric-24.2-arrayobject.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur Numeric-24.2/Src/arrayobject.c Numeric-24.2-new/Src/arrayobject.c
---- Numeric-24.2/Src/arrayobject.c 2005-11-11 02:30:18.000000000 -0500
-+++ Numeric-24.2-new/Src/arrayobject.c 2007-09-01 22:52:50.000000000 -0400
-@@ -1866,9 +1866,7 @@
- for (i=0; i<sz; i++) {
- v=array_item((PyArrayObject *)self, i);
- PyList_SetItem(lp, i, PyArray_ToList(v));
-- if (((PyArrayObject *)self)->nd>1){
-- Py_DECREF(v);
-- }
-+ Py_DECREF(v);
- }
-
- return lp;
diff --git a/dev-python/numeric/files/numeric-24.2-dotblas.patch b/dev-python/numeric/files/numeric-24.2-dotblas.patch
deleted file mode 100644
index 78edb53b4..000000000
--- a/dev-python/numeric/files/numeric-24.2-dotblas.patch
+++ /dev/null
@@ -1,98 +0,0 @@
---- Numeric-24.2/Packages/dotblas/dotblas/_dotblas.c.orig 2005-04-07 06:15:47.000000000 +0100
-+++ Numeric-24.2/Packages/dotblas/dotblas/_dotblas.c 2007-05-25 17:39:30.382025500 +0100
-@@ -52,7 +52,7 @@
- static PyObject *dotblas_matrixproduct(PyObject *dummy, PyObject *args) {
- PyObject *op1, *op2;
- PyArrayObject *ap1, *ap2, *ret;
-- int i, j, l, lda, ldb, matchDim = -1, otherDim = -1;
-+ int i, j, l, lda, ldb, ldc, matchDim = -1, otherDim = -1;
- int typenum;
- int dimensions[MAX_DIMS], nd;
- static const float oneF[2] = {1.0, 0.0};
-@@ -248,33 +248,34 @@
- /* Matrix matrix multiplication -- Level 3 BLAS */
- lda = (ap1->dimensions[1] > 1 ? ap1->dimensions[1] : 1);
- ldb = (ap2->dimensions[1] > 1 ? ap2->dimensions[1] : 1);
-+ ldc = (ret->dimensions[1] > 1 ? ret->dimensions[1] : 1);
- if (typenum == PyArray_DOUBLE) {
- cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
- ap1->dimensions[0], ap2->dimensions[1], ap2->dimensions[0],
- 1.0, (double *)ap1->data, lda,
- (double *)ap2->data, ldb,
-- 0.0, (double *)ret->data, ldb);
-+ 0.0, (double *)ret->data, ldc);
- }
- else if (typenum == PyArray_FLOAT) {
- cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
- ap1->dimensions[0], ap2->dimensions[1], ap2->dimensions[0],
- 1.0, (float *)ap1->data, lda,
- (float *)ap2->data, ldb,
-- 0.0, (float *)ret->data, ldb);
-+ 0.0, (float *)ret->data, ldc);
- }
- else if (typenum == PyArray_CDOUBLE) {
- cblas_zgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
- ap1->dimensions[0], ap2->dimensions[1], ap2->dimensions[0],
- oneD, (double *)ap1->data, lda,
- (double *)ap2->data, ldb,
-- zeroD, (double *)ret->data, ldb);
-+ zeroD, (double *)ret->data, ldc);
- }
- else if (typenum == PyArray_CFLOAT) {
- cblas_cgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
- ap1->dimensions[0], ap2->dimensions[1], ap2->dimensions[0],
- oneF, (float *)ap1->data, lda,
- (float *)ap2->data, ldb,
-- zeroF, (float *)ret->data, ldb);
-+ zeroF, (float *)ret->data, ldc);
- }
- }
- else {
-@@ -334,7 +335,7 @@
- static PyObject *dotblas_innerproduct(PyObject *dummy, PyObject *args) {
- PyObject *op1, *op2;
- PyArrayObject *ap1, *ap2, *ret;
-- int i, j, l, lda, ldb;
-+ int i, j, l, lda, ldb, ldc;
- int typenum;
- int dimensions[MAX_DIMS], nd;
- static const float oneF[2] = {1.0, 0.0};
-@@ -525,33 +526,34 @@
- /* Matrix matrix multiplication -- Level 3 BLAS */
- lda = (ap1->dimensions[1] > 1 ? ap1->dimensions[1] : 1);
- ldb = (ap2->dimensions[1] > 1 ? ap2->dimensions[1] : 1);
-+ ldc = (ret->dimensions[1] > 1 ? ret->dimensions[1] : 1);
- if (typenum == PyArray_DOUBLE) {
- cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
- ap1->dimensions[0], ap2->dimensions[0], ap1->dimensions[1],
- 1.0, (double *)ap1->data, lda,
- (double *)ap2->data, ldb,
-- 0.0, (double *)ret->data, ldb);
-+ 0.0, (double *)ret->data, ldc);
- }
- else if (typenum == PyArray_FLOAT) {
- cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
- ap1->dimensions[0], ap2->dimensions[0], ap1->dimensions[1],
- 1.0, (float *)ap1->data, lda,
- (float *)ap2->data, ldb,
-- 0.0, (float *)ret->data, ldb);
-+ 0.0, (float *)ret->data, ldc);
- }
- else if (typenum == PyArray_CDOUBLE) {
- cblas_zgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
- ap1->dimensions[0], ap2->dimensions[0], ap1->dimensions[1],
- oneD, (double *)ap1->data, lda,
- (double *)ap2->data, ldb,
-- zeroD, (double *)ret->data, ldb);
-+ zeroD, (double *)ret->data, ldc);
- }
- else if (typenum == PyArray_CFLOAT) {
- cblas_cgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
- ap1->dimensions[0], ap2->dimensions[0], ap1->dimensions[1],
- oneF, (float *)ap1->data, lda,
- (float *)ap2->data, ldb,
-- zeroF, (float *)ret->data, ldb);
-+ zeroF, (float *)ret->data, ldc);
- }
- }
- else {
diff --git a/dev-python/numeric/files/numeric-24.2-eigen.patch b/dev-python/numeric/files/numeric-24.2-eigen.patch
deleted file mode 100644
index 331d0f11a..000000000
--- a/dev-python/numeric/files/numeric-24.2-eigen.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Numeric-24.2/Src/dlamch.c.fix-dlamc3 2006-10-29 22:30:52.000000000 -0500
-+++ Numeric-24.2/Src/dlamch.c 2006-10-29 22:31:00.000000000 -0500
-@@ -672,7 +672,7 @@
- */
- /* >>Start of File<<
- System generated locals */
-- doublereal ret_val;
-+ volatile doublereal ret_val;
-
-
-
diff --git a/dev-python/numeric/files/numeric-24.2-lapack.patch b/dev-python/numeric/files/numeric-24.2-lapack.patch
deleted file mode 100644
index 6bcc0c8a6..000000000
--- a/dev-python/numeric/files/numeric-24.2-lapack.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- Numeric-24.2.orig/customize.py 2005-11-13 02:40:14.000000000 +0000
-+++ Numeric-24.2/customize.py 2007-09-04 17:55:31.176332574 +0100
-@@ -13,9 +13,9 @@
- # will be used, except on Mac OS X, where the vecLib framework will be used
- # if found.
-
--use_system_lapack = 0
-+use_system_lapack = 1
- lapack_library_dirs = []
--lapack_libraries = []
-+lapack_libraries = [@LAPACKLIB@, @FLIB@]
- lapack_extra_link_args = []
-
- # Example: using ATLAS
-@@ -35,11 +35,11 @@
-
- # Set use_dotblas to 1 to use BLAS for the matrix multiplication routines.
- # Put the directory that 'cblas.h' is in into dotblas_include_dirs
--use_dotblas = 0
--dotblas_include_dirs = []
-+use_dotblas = 1
-+dotblas_include_dirs = [@CBLASINC@]
- dotblas_cblas_header = '<cblas.h>'
--dotblas_library_dirs = lapack_library_dirs
--dotblas_libraries = lapack_libraries
-+dotblas_library_dirs = []
-+dotblas_libraries = [@CBLASLIB@, @FLIB@]
- dotblas_extra_link_args = []
-
- # Example: using ATLAS
diff --git a/dev-python/numeric/files/numeric-24.2-python25.patch b/dev-python/numeric/files/numeric-24.2-python25.patch
deleted file mode 100644
index 3dfae8ebe..000000000
--- a/dev-python/numeric/files/numeric-24.2-python25.patch
+++ /dev/null
@@ -1,198 +0,0 @@
-diff -Nur Numeric-24.2.orig/Src/arrayobject.c Numeric-24.2/Src/arrayobject.c
---- Numeric-24.2.orig/Src/arrayobject.c 2007-09-02 14:12:11.000000000 +0100
-+++ Numeric-24.2/Src/arrayobject.c 2007-09-02 14:12:42.000000000 +0100
-@@ -491,7 +491,8 @@
-
- static PyObject * PyArray_Resize(PyArrayObject *self, PyObject *shape) {
- size_t oldsize, newsize;
-- int new_nd, k, sd, n, elsize;
-+ int sd, n, elsize;
-+ Py_ssize_t new_nd, k;
- int refcnt;
- int new_dimensions[MAX_DIMS];
- int new_strides[MAX_DIMS];
-@@ -708,7 +709,7 @@
- }
-
- static PyObject *
--array_slice(PyArrayObject *self, int ilow, int ihigh)
-+array_slice(PyArrayObject *self, Py_ssize_t ilow, Py_ssize_t ihigh)
- {
- PyArrayObject *r;
- int l;
-@@ -776,7 +777,7 @@
-
- if ((item = index2ptr(self, i)) == NULL) return -1;
-
-- if(self->descr->type_num != PyArray_OBJECT && PyString_Check(v) && PyObject_Length(v) == 1) {
-+ if(self->descr->type_num != PyArray_OBJECT && PyString_Check(v) && PyObject_Length(v) == (Py_ssize_t)1) {
- char *s;
- if ((s=PyString_AsString(v)) == NULL) return -1;
- if(self->descr->type == 'c') {
-@@ -823,7 +824,7 @@
-
- /* This is basically PySlice_GetIndicesEx, but with our coercion
- * of indices to integers (plus, that function is new in Python 2.3) */
--static int
-+static Py_ssize_t
- slice_GetIndices(PySliceObject *r, int length,
- int *start, int *stop, int *step,
- int *slicelength)
-@@ -925,8 +926,8 @@
-
- static int parse_index(PyArrayObject *self, PyObject *op,
- int *dimensions, int *strides, int *offset_ptr) {
-- int i, j, n;
-- int nd_old, nd_new, start, offset, n_add, n_pseudo;
-+ Py_ssize_t i, n, j, n_add, n_pseudo;
-+ int nd_old, nd_new, start, offset;
- int step_size, n_steps;
- PyObject *op1=NULL;
- int is_slice;
-@@ -1098,7 +1099,7 @@
- }
-
- static PyMappingMethods array_as_mapping = {
-- (inquiry)array_length, /*mp_length*/
-+ (lenfunc)array_length, /*mp_length*/
- (binaryfunc)array_subscript_nice, /*mp_subscript*/
- (objobjargproc)array_ass_sub, /*mp_ass_subscript*/
- };
-@@ -1183,10 +1184,10 @@
- }
-
- static PyBufferProcs array_as_buffer = {
-- (getreadbufferproc)array_getreadbuf, /*bf_getreadbuffer*/
-- (getwritebufferproc)array_getwritebuf, /*bf_getwritebuffer*/
-- (getsegcountproc)array_getsegcount, /*bf_getsegcount*/
-- (getcharbufferproc)array_getcharbuf, /*bf_getcharbuffer*/
-+ (readbufferproc)array_getreadbuf, /*bf_getreadbuffer*/
-+ (writebufferproc)array_getwritebuf, /*bf_getwritebuffer*/
-+ (segcountproc)array_getsegcount, /*bf_getsegcount*/
-+ (charbufferproc)array_getcharbuf, /*bf_getcharbuffer*/
- };
- /* End methods added by Scott N. Gunyan for buffer extension */
-
-@@ -1595,7 +1596,7 @@
- (unaryfunc)array_negative,
- (unaryfunc)PyArray_Copy, /*nb_pos*/
- (unaryfunc)array_absolute, /*(unaryfunc)array_abs,*/
-- (inquiry)array_nonzero, /*nb_nonzero*/
-+ (lenfunc)array_nonzero, /*nb_nonzero*/
- (unaryfunc)array_invert, /*nb_invert*/
- (binaryfunc)array_left_shift, /*nb_lshift*/
- (binaryfunc)array_right_shift, /*nb_rshift*/
-@@ -1634,13 +1635,13 @@
- };
-
- static PySequenceMethods array_as_sequence = {
-- (inquiry)array_length, /*sq_length*/
-+ (lenfunc)array_length, /*sq_length*/
- (binaryfunc)NULL, /*nb_add, concat is numeric add*/
-- (intargfunc)NULL, /*nb_multiply, repeat is numeric multiply*/
-- (intargfunc)array_item_nice, /*sq_item*/
-- (intintargfunc)array_slice, /*sq_slice*/
-- (intobjargproc)array_ass_item, /*sq_ass_item*/
-- (intintobjargproc)array_ass_slice, /*sq_ass_slice*/
-+ (ssizeargfunc)NULL, /*nb_multiply, repeat is numeric multiply*/
-+ (ssizeargfunc)array_item_nice, /*sq_item*/
-+ (ssizessizeargfunc)array_slice, /*sq_slice*/
-+ (ssizeobjargproc)array_ass_item, /*sq_ass_item*/
-+ (ssizessizeobjargproc)array_ass_slice, /*sq_ass_slice*/
- };
-
- /* -------------------------------------------------------------- */
-@@ -2426,7 +2427,7 @@
-
- #if PY_VERSION_HEX >= 0x02010000
- (traverseproc)0L,
-- (inquiry)0L,
-+ (lenfunc)0L,
- (richcmpfunc)array_richcompare, /*tp_richcompfunc*/
- offsetof(PyArrayObject, weakreflist), /*tp_weaklistoffset */
- #endif
-@@ -2463,7 +2464,8 @@
-
- static int discover_dimensions(PyObject *s, int nd, int *d, int check_it) {
- PyObject *e;
-- int r, n, i, n_lower;
-+ int r, n_lower;
-+ Py_ssize_t i, n;
-
- n=PyObject_Length(s);
- *d = n;
-@@ -2501,7 +2503,7 @@
- static int
- array_objecttype(PyObject *op, int minimum_type, int savespaceflag, int max)
- {
-- int l;
-+ Py_ssize_t l;
- PyObject *ip;
- int result;
- PyArray_Descr* descr;
-@@ -2593,7 +2595,9 @@
-
- static int Assign_Array(PyArrayObject *self, PyObject *v) {
- PyObject *e;
-- int l, r;
-+ int r;
-+ Py_ssize_t l;
-+
-
- if (!PySequence_Check(v)) {
- PyErr_SetString(PyExc_ValueError,"assignment from non-sequence");
-diff -Nur Numeric-24.2.orig/Src/multiarraymodule.c Numeric-24.2/Src/multiarraymodule.c
---- Numeric-24.2.orig/Src/multiarraymodule.c 2007-09-02 14:12:11.000000000 +0100
-+++ Numeric-24.2/Src/multiarraymodule.c 2007-09-02 14:12:42.000000000 +0100
-@@ -36,7 +36,8 @@
- extern PyObject *PyArray_Concatenate(PyObject *op) {
- PyArrayObject *ret, **mps;
- PyObject *otmp;
-- int i, n, type_num, tmp, nd=0, new_dim;
-+ int type_num, tmp, nd=0, new_dim;
-+ Py_ssize_t i, n;
- char *data;
-
- n = PySequence_Length(op);
-@@ -284,7 +285,8 @@
-
-
- extern PyObject *PyArray_Choose(PyObject *ip, PyObject *op) {
-- int i, n, *sizes, m, offset, elsize, type_num;
-+ int *sizes, elsize, type_num;
-+ Py_ssize_t i, n, m, offset;
- char *ret_data;
- PyArrayObject **mps, *ap, *ret;
- PyObject *otmp;
-@@ -1139,7 +1141,8 @@
- static char *kwlist[] = {"shape", "typecode", "savespace", NULL};
- PyObject *op;
- PyArray_Descr *descr;
-- int i, nd, n, dims[MAX_DIMS];
-+ int dims[MAX_DIMS];
-+ Py_ssize_t i, nd, n;
- int sd;
- char *data;
-
-@@ -1217,7 +1220,8 @@
- PyArrayObject *ret;
- char type_char='l';
- char *type = &type_char, *dptr;
-- int i, nd, n, dimensions[MAX_DIMS];
-+ int dimensions[MAX_DIMS];
-+ Py_ssize_t i, nd, n;
- int savespace=0;
- static char all_zero[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
- static char *kwlist[] = {"shape", "typecode", "savespace", NULL};
-diff -Nur Numeric-24.2.orig/Src/ufuncobject.c Numeric-24.2/Src/ufuncobject.c
---- Numeric-24.2.orig/Src/ufuncobject.c 2007-09-02 14:12:11.000000000 +0100
-+++ Numeric-24.2/Src/ufuncobject.c 2007-09-02 14:12:42.000000000 +0100
-@@ -272,7 +272,7 @@
-
- int setup_matrices(PyUFuncObject *self, PyObject *args, PyUFuncGenericFunction *function, void **data,
- PyArrayObject **mps, char *arg_types) {
-- int nargs, i;
-+ Py_ssize_t nargs, i;
-
- nargs = PyTuple_Size(args);
- if ((nargs != self->nin) && (nargs != self->nin+self->nout)) {
diff --git a/dev-python/numeric/files/numeric-24.2-test.patch b/dev-python/numeric/files/numeric-24.2-test.patch
deleted file mode 100644
index 837f7c645..000000000
--- a/dev-python/numeric/files/numeric-24.2-test.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- Numeric-24.2/Test/test.py 2005-08-16 06:20:25.000000000 +0100
-+++ Numeric-24.2.new/Test/test.py 2007-02-13 20:10:41.000000000 +0000
-@@ -581,7 +581,8 @@
- assert_eq(Numeric.diagonal(b), [1,6,3,8])
- assert_eq(Numeric.diagonal(b, -1), [5,2,7])
- c = Numeric.array([b,b])
-- assert_eq(Numeric.diagonal(c,1), [[2,7,4], [2,7,4]])
-+ # default axes for "diagonal" are now 0 and 1.
-+ assert_eq(Numeric.diagonal(c,1,-2,-1), [[2,7,4], [2,7,4]])
-
- class UniversalFunctionsTestCase (unittest.TestCase):
- def setUp (self):
diff --git a/dev-python/numeric/files/numeric-24.2-umath.patch b/dev-python/numeric/files/numeric-24.2-umath.patch
deleted file mode 100644
index eb3d8b010..000000000
--- a/dev-python/numeric/files/numeric-24.2-umath.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- Numeric-24.2.orig/Src/umathmodule.c 2005-04-20 19:48:47.000000000 +0100
-+++ Numeric-24.2/Src/umathmodule.c 2006-10-10 16:16:40.000000000 +0100
-@@ -1,9 +1,9 @@
--
-+#include <math.h>
- #include "Python.h"
- #include "Numeric/arrayobject.h"
- #include "Numeric/ufuncobject.h"
- #include "abstract.h"
--#include <math.h>
-+
-
- #ifndef CHAR_BIT
- #define CHAR_BIT 8
diff --git a/dev-python/numeric/metadata.xml b/dev-python/numeric/metadata.xml
deleted file mode 100644
index 4d6bae10a..000000000
--- a/dev-python/numeric/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci</herd>
-<herd>python</herd>
-<longdescription lang="en">
-The Numeric Extensions to Python (NumPy) adds multi-dimensional array
-processing. These objects facilitates processing for manny numerical
-applications such as universal functions on arrays, FFTs and linear
-algebra. This package is being superseeded by numpy, and now inactive,
-but still used in various applications.
-</longdescription>
-</pkgmetadata>
diff --git a/dev-python/numeric/numeric-23.7.ebuild b/dev-python/numeric/numeric-23.7.ebuild
deleted file mode 100644
index 544f4a9ba..000000000
--- a/dev-python/numeric/numeric-23.7.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numeric/numeric-23.7.ebuild,v 1.17 2006/07/05 05:25:10 vapier Exp $
-
-inherit distutils eutils multilib-native
-
-MY_P=${P/n/N}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="a fast, compact, multidimensional array language facility"
-HOMEPAGE="http://numeric.scipy.org/"
-SRC_URI="mirror://sourceforge/numpy/${MY_P}.tar.gz"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-# 2.1 gave sandbox violations see #21
-DEPEND=">=dev-lang/python-2.2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}.patch
-}
-
-multilib-native_src_install_internal() {
- distutils_src_install
- distutils_python_version
-
- #Numerical Tutorial is nice for testing and learning
- insinto /usr/lib/python${PYVER}/site-packages/NumTut
- doins Demo/NumTut/*
-}
diff --git a/dev-python/numeric/numeric-24.2-r5.ebuild b/dev-python/numeric/numeric-24.2-r5.ebuild
deleted file mode 100644
index ca5e477ca..000000000
--- a/dev-python/numeric/numeric-24.2-r5.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numeric/numeric-24.2-r5.ebuild,v 1.2 2007/10/15 14:19:12 bicatali Exp $
-
-NEED_PYTHON=2.3
-
-inherit distutils eutils multilib-native
-
-MY_P=Numeric-${PV}
-
-DESCRIPTION="Numerical multidimensional array language facility for Python."
-HOMEPAGE="http://numeric.scipy.org/"
-SRC_URI="mirror://sourceforge/numpy/${MY_P}.tar.gz
- doc? ( http://numpy.scipy.org/numpy.pdf )"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~arm ~mips ~sh ~s390"
-IUSE="doc"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
-
- # fix list problem
- epatch "${FILESDIR}"/${P}-arrayobject.patch
- # fix skips of acosh, asinh
- epatch "${FILESDIR}"/${P}-umath.patch
- # fix eigenvalue hang
- epatch "${FILESDIR}"/${P}-eigen.patch
- # fix a bug in the test
- epatch "${FILESDIR}"/${P}-test.patch
- # fix only for python-2.5
- distutils_python_version
- [[ "${PYVER}" == 2.5 ]] && epatch "${FILESDIR}"/${P}-python25.patch
- # fix for dotblas from uncommited cvs
- epatch "${FILESDIR}"/${P}-dotblas.patch
-}
-
-src_test() {
- cd build/lib*
- PYTHONPATH=. "${python}" "${S}"/Test/test.py \
- || die "test failed"
-}
-
-multilib-native_src_install_internal() {
- distutils_src_install
-
- # install various README from packages
- newdoc Packages/MA/README README.MA || die
- newdoc Packages/RNG/README README.RNG || die
-
- # install tutorial and docs
- if use doc; then
- insinto /usr/share/doc/${PF}
- doins -r Test Demo/NumTut || die "install tutorial failed"
- newins "${DISTDIR}"/numpy.pdf numeric.pdf || die "install doc failed"
- fi
-}
diff --git a/dev-python/numeric/numeric-24.2-r6.ebuild b/dev-python/numeric/numeric-24.2-r6.ebuild
deleted file mode 100644
index 9dd0964ef..000000000
--- a/dev-python/numeric/numeric-24.2-r6.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numeric/numeric-24.2-r6.ebuild,v 1.14 2009/04/13 11:38:12 armin76 Exp $
-
-NEED_PYTHON=2.3
-
-inherit distutils eutils multilib-native
-
-MY_P=Numeric-${PV}
-
-DESCRIPTION="Numerical multidimensional array language facility for Python."
-HOMEPAGE="http://numeric.scipy.org/"
-SRC_URI="mirror://sourceforge/numpy/${MY_P}.tar.gz
- doc? ( http://numpy.scipy.org/numpy.pdf )"
-
-RDEPEND="lapack? ( virtual/cblas virtual/lapack )"
-DEPEND="${RDEPEND}
- lapack? ( dev-util/pkgconfig )"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
-IUSE="doc lapack"
-
-S="${WORKDIR}/${MY_P}"
-
-# ex usage: pkgconf_cfg --libs-only-l cblas: ['cblas','atlas']
-pkgconf_cfg() {
- local cfg="["
- for i in $(pkg-config "$1" "$2"); do
- cfg="${cfg}'${i:2}'"
- done
- echo "${cfg//\'\'/','}]"
-}
-
-src_unpack() {
- unpack ${A}
-
- # fix list problem
- epatch "${FILESDIR}"/${P}-arrayobject.patch
- # fix skips of acosh, asinh
- epatch "${FILESDIR}"/${P}-umath.patch
- # fix eigenvalue hang
- epatch "${FILESDIR}"/${P}-eigen.patch
- # fix a bug in the test
- epatch "${FILESDIR}"/${P}-test.patch
- # fix only for python-2.5
- distutils_python_version
- [[ "${PYVER}" == 2.5 ]] && epatch "${FILESDIR}"/${P}-python25.patch
- # fix for dotblas from uncommited cvs
- epatch "${FILESDIR}"/${P}-dotblas.patch
-
- # adapt lapack/cblas support
- if use lapack; then
- cd "${S}"
- mv customize.py customize.py.orig
- cat > customize.py << EOF
-use_system_lapack = 1
-lapack_libraries = $(pkgconf_cfg --libs-only-l lapack)
-lapack_library_dirs = $(pkgconf_cfg --libs-only-L lapack)
-use_system_blas = 1
-dotblas_libraries = $(pkgconf_cfg --libs-only-l cblas)
-dotblas_library_dirs = $(pkgconf_cfg --libs-only-L cblas)
-dotblas_cblas_header = '<cblas.h>'
-EOF
- fi
-}
-
-src_test() {
- cd build/lib*
- PYTHONPATH=. "${python}" "${S}"/Test/test.py \
- || die "test failed"
-}
-
-multilib-native_src_install_internal() {
- distutils_src_install
-
- # install various README from packages
- newdoc Packages/MA/README README.MA || die
- newdoc Packages/RNG/README README.RNG || die
-
- if use lapack; then
- docinto dotblas
- dodoc Packages/dotblas/{README,profileDot}.txt || die "doc for dotblas failed"
- insinto /usr/share/doc/${PF}/dotblas
- doins Packages/dotblas/profileDot.py || die "example for dotblas failed"
- fi
-
- # install tutorial and docs
- if use doc; then
- insinto /usr/share/doc/${PF}
- doins -r Test Demo/NumTut || die "install tutorial failed"
- newins "${DISTDIR}"/numpy.pdf numeric.pdf || die "install doc failed"
- fi
-}