aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-03-18 21:04:23 +0000
committerJustin Lecher <jlec@gentoo.org>2017-03-18 21:04:23 +0000
commit17f85e8d4c2f33fe41431887e42c81e1a22de92c (patch)
tree2819a3662f2343dedef87b53c5fba457d23e0687
parentdev-libs/utf8proc: QA fixes (diff)
downloadsci-17f85e8d4c2f33fe41431887e42c81e1a22de92c.tar.gz
sci-17f85e8d4c2f33fe41431887e42c81e1a22de92c.tar.bz2
sci-17f85e8d4c2f33fe41431887e42c81e1a22de92c.zip
Broken and dropped
Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r--dev-python/pysparse/Manifest1
-rw-r--r--dev-python/pysparse/files/pysparse-1.1-setup.patch63
-rw-r--r--dev-python/pysparse/files/pysparse-1.1-superlu3.patch11
-rw-r--r--dev-python/pysparse/files/pysparse-1.1.1-setup.patch56
-rw-r--r--dev-python/pysparse/files/pysparse-1.1.1-superlu3.patch13
-rw-r--r--dev-python/pysparse/metadata.xml22
-rw-r--r--dev-python/pysparse/pysparse-1.1.1-r1.ebuild59
7 files changed, 0 insertions, 225 deletions
diff --git a/dev-python/pysparse/Manifest b/dev-python/pysparse/Manifest
deleted file mode 100644
index 6e7e52ab0..000000000
--- a/dev-python/pysparse/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pysparse-1.1.1.tar.gz 913261 SHA256 e02d248efedd051181a49f8aee487e576554a6c973578ca665d31947b35c3a4a SHA512 2e19b04257322ec5c7b45d42070f7fe35497a86c96387544c0938045b4be2ecf126b1a292882d8fccb444687232a6851b58f0b6596a064ab4ed4be32c3760585 WHIRLPOOL 6396626e24bdd96fe7f210f701c4671369f637765a28589aef833c4c3b3a5f06df6c7cbdde94967d419408767bf7c5723f27d9d74f0a99c4013ae28211cd0fc0
diff --git a/dev-python/pysparse/files/pysparse-1.1-setup.patch b/dev-python/pysparse/files/pysparse-1.1-setup.patch
deleted file mode 100644
index 0d55feb79..000000000
--- a/dev-python/pysparse/files/pysparse-1.1-setup.patch
+++ /dev/null
@@ -1,63 +0,0 @@
---- setup.py.orig 2010-05-11 19:32:35.000000000 +0100
-+++ setup.py 2010-05-11 19:32:49.000000000 +0100
-@@ -8,7 +8,7 @@
-
- # default settings
- library_dirs_list= []
--libraries_list = ['lapack', 'blas', 'g2c']
-+libraries_list = ['lapack', 'blas']
- superlu_defs = [('USE_VENDOR_BLAS',1)]
- if sys.platform == 'win32':
- superlu_defs += [('NO_TIMER', 1)]
-@@ -18,40 +18,40 @@
- compily=[]
-
- # Specify whether to link against user's SuperLU library
--use_users_superlu = False #True
-+use_users_superlu = True
- umfpack_defs = [('DINT', 1), ('NBLAS', 1)] # No BLAS. Ok if using your system's BLAS.
- #umfpack_defs = [('DINT', 1), ('CBLAS', 1)] # with atlas c-blas (http://math-atlas.sf.net)
-
- if use_users_superlu:
- # Specify location of include files
-- superlu_include_dirs = ['/Users/dpo/local/linalg/SuperLU/SuperLU_3.1/SRC']
-+ superlu_include_dirs = ['/usr/include/superlu']
- # AND specify ONE of the following:
- # 1) Location of source files (overrides linking with existing library)
-- superlu_src_dir = '/Users/dpo/local/linalg/SuperLU/SuperLU_3.1/SRC'
-+ superlu_src_dir = ''
- # 2) Location of precompiled library
- superlu_lib_dir = ['']
-- superlu_libraries = ['']
-+ superlu_libraries = ['superlu']
-
- # Specify whether to link against user's UMFPACK library
--use_users_umfpack = False #True
-+use_users_umfpack = True
- if use_users_umfpack:
- # Specify location of include files
-- umfpack_include_dirs = ['/Users/dpo/local/linalg/UMFPACK/UMFPACK/Include']
-+ umfpack_include_dirs = ['']
- # AND specify ONE of the following:
- # 1) Location of source files (overrides linking with existing library)
-- umfpack_src_dir = '/Users/dpo/local/linalg/UMFPACK/UMFPACK/Source'
-+ umfpack_src_dir = ''
- # 2) Location of precompiled library
- umfpack_lib_dir = ['']
-- umfpack_libraries = ['']
-+ umfpack_libraries = ['umfpack']
-
- # Do the same for AMD
-- amd_include_dirs = ['/Users/dpo/local/linalg/UMFPACK/AMD/Include']
-+ amd_include_dirs = ['']
- # AND specify ONE of the following:
- # 1) Location of source files (overrides linking with existing library)
-- amd_src_dir = '/Users/dpo/local/linalg/UMFPACK/AMD/Source'
-+ amd_src_dir = ''
- # 2) Location of precompiled library
- amd_lib_dir = ['']
-- amd_libraries = ['']
-+ amd_libraries = ['amd']
-
- else:
- umfpack_libraries = []
diff --git a/dev-python/pysparse/files/pysparse-1.1-superlu3.patch b/dev-python/pysparse/files/pysparse-1.1-superlu3.patch
deleted file mode 100644
index 8b751fae6..000000000
--- a/dev-python/pysparse/files/pysparse-1.1-superlu3.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Src/superlu3module.c.orig 2010-05-11 19:22:02.000000000 +0100
-+++ Src/superlu3module.c 2010-05-11 19:17:02.000000000 +0100
-@@ -267,7 +267,7 @@
- //printf("Factorizing with drop_tol = %g\n", drop_tol);
- /* Perform factorization (perm_c and perm_r are swapped because our matrix
- * is stored in compressed-row format and not in compressed-column format! */
-- dgstrf(&self->options, &AC, drop_tol, relax, panel_size,
-+ dgstrf(&self->options, &AC, relax, panel_size,
- etree, NULL, 0, self->perm_c, self->perm_r,
- &self->L, &self->U, &self->stat, &info);
-
diff --git a/dev-python/pysparse/files/pysparse-1.1.1-setup.patch b/dev-python/pysparse/files/pysparse-1.1.1-setup.patch
deleted file mode 100644
index 3d944a3ec..000000000
--- a/dev-python/pysparse/files/pysparse-1.1.1-setup.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 1b1ee1d..cdb9ddf 100644
---- a/setup.py
-+++ b/setup.py
-@@ -19,40 +19,40 @@ linky=[]
- compily=[]
-
- # Specify whether to link against user's SuperLU library
--use_users_superlu = False #True
-+use_users_superlu = True
- umfpack_defs = [('DINT', 1), ('NBLAS', 1)] # No BLAS. Ok if using your system's BLAS.
- #umfpack_defs = [('DINT', 1), ('CBLAS', 1)] # with atlas c-blas (http://math-atlas.sf.net)
-
- if use_users_superlu:
- # Specify location of include files
-- superlu_include_dirs = ['/Users/dpo/local/linalg/SuperLU/SuperLU_3.1/SRC']
-+ superlu_include_dirs = ['/usr/include/superlu']
- # AND specify ONE of the following:
- # 1) Location of source files (overrides linking with existing library)
-- superlu_src_dir = '/Users/dpo/local/linalg/SuperLU/SuperLU_3.1/SRC'
-+ superlu_src_dir = ''
- # 2) Location of precompiled library
- superlu_lib_dir = ['']
-- superlu_libraries = ['']
-+ superlu_libraries = ['superlu']
-
- # Specify whether to link against user's UMFPACK library
--use_users_umfpack = False #True
-+use_users_umfpack = True
- if use_users_umfpack:
- # Specify location of include files
-- umfpack_include_dirs = ['/Users/dpo/local/linalg/UMFPACK/UMFPACK/Include']
-+ umfpack_include_dirs = ['']
- # AND specify ONE of the following:
- # 1) Location of source files (overrides linking with existing library)
-- umfpack_src_dir = '/Users/dpo/local/linalg/UMFPACK/UMFPACK/Source'
-+ umfpack_src_dir = ''
- # 2) Location of precompiled library
- umfpack_lib_dir = ['']
-- umfpack_libraries = ['']
-+ umfpack_libraries = ['umfpack']
-
- # Do the same for AMD
-- amd_include_dirs = ['/Users/dpo/local/linalg/UMFPACK/AMD/Include']
-+ amd_include_dirs = ['']
- # AND specify ONE of the following:
- # 1) Location of source files (overrides linking with existing library)
-- amd_src_dir = '/Users/dpo/local/linalg/UMFPACK/AMD/Source'
-+ amd_src_dir = ''
- # 2) Location of precompiled library
- amd_lib_dir = ['']
-- amd_libraries = ['']
-+ amd_libraries = ['amd']
-
- else:
- umfpack_libraries = []
diff --git a/dev-python/pysparse/files/pysparse-1.1.1-superlu3.patch b/dev-python/pysparse/files/pysparse-1.1.1-superlu3.patch
deleted file mode 100644
index fa01d7388..000000000
--- a/dev-python/pysparse/files/pysparse-1.1.1-superlu3.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/Src/superlu3module.c b/Src/superlu3module.c
-index 810191b..a74edfb 100644
---- a/Src/superlu3module.c
-+++ b/Src/superlu3module.c
-@@ -267,7 +267,7 @@ static PyObject *newSuperLUObject(int n, CSRMatObject *matrix, PyObject *issym,
- //printf("Factorizing with drop_tol = %g\n", drop_tol);
- /* Perform factorization (perm_c and perm_r are swapped because our matrix
- * is stored in compressed-row format and not in compressed-column format! */
-- dgstrf(&self->options, &AC, drop_tol, relax, panel_size,
-+ dgstrf(&self->options, &AC, relax, panel_size,
- etree, NULL, 0, self->perm_c, self->perm_r,
- &self->L, &self->U, &self->stat, &info);
-
diff --git a/dev-python/pysparse/metadata.xml b/dev-python/pysparse/metadata.xml
deleted file mode 100644
index 50412f44e..000000000
--- a/dev-python/pysparse/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription lang="en">
- This provides a set of sparse matrix types for Python, with modules
- which implement:
- - Iterative methods for solving linear systems of equations
- - A set of standard preconditioners
- - An interface to a direct solver for sparse linear systems of equations
- - The JDSYM eigensolver.
- All of these modules are implemented as C extension modules based on
- standard sparse and dense matrix libraries (UMFPACK/AMD, SuperLU,
- BLAS/LAPACK) for maximum performance and robustness.
-</longdescription>
- <upstream>
- <remote-id type="sourceforge">pysparse</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/pysparse/pysparse-1.1.1-r1.ebuild b/dev-python/pysparse/pysparse-1.1.1-r1.ebuild
deleted file mode 100644
index 9849ad85e..000000000
--- a/dev-python/pysparse/pysparse-1.1.1-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 multilib
-
-DESCRIPTION="Sparse linear algebra extension for Python"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://pysparse.sourceforge.net/"
-
-IUSE="doc examples"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-LICENSE="BSD"
-
-RDEPEND="
- dev-python/numpy
- sci-libs/superlu
- <=sci-libs/umfpack-5.4.0"
-DEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-setup.patch
- "${FILESDIR}"/${P}-superlu3.patch
- )
-
-pc_libs() {
- $(tc-getPKG_CONFIG) --libs-only-l $@ | \
- sed -e 's/[ ]-l*\(pthread\|m\)[ ]*//g' \
- -e 's/^-l/"/' -e 's/[ ]*-l/","/g' -e 's/[ ]*$/"/g'
-}
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
- sed \
- -e "/libraries_list/s:'lapack', 'blas':$(pc_libs blas lapack):g" \
- -e "/use_users_umfpack/s:True:False:g" \
- -i setup.py || die
-}
-
-python_test() {
- for t in Test/test{Umfpack,Superlu}.py; do
- ${PYTHON} ${t} || die
- done
-}
-
-python_install_all() {
- distutils-r1_python_install
-
- use doc && dodoc Doc/*.pdf
-
- if use examples; then
- insinto /usr/share/${PN}/
- doins -r Examples
- fi
-}