aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorEfraim Flashner2020-07-05 14:45:30 +0300
committerEfraim Flashner2020-07-05 14:45:30 +0300
commit3cd9471c7c700658643fdce7a6d3381ec0de26e1 (patch)
tree3cc1a3d8da2027661f0d74e7c14efdb86c53a5fe /gn
parentaac333e122fb7be0d5dba4d74f910e80a801e37a (diff)
downloadguix-bioinformatics-3cd9471c7c700658643fdce7a6d3381ec0de26e1.tar.gz
gn: python24-numarray pushed to guix-past.
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/python24.scm57
1 files changed, 0 insertions, 57 deletions
diff --git a/gn/packages/python24.scm b/gn/packages/python24.scm
index 60807b5..9e39291 100644
--- a/gn/packages/python24.scm
+++ b/gn/packages/python24.scm
@@ -226,63 +226,6 @@ spreadsheets without the need for COM objects.")
`(("python24-setuptools" ,python24-setuptools)
,@(package-native-inputs base))))))
-(define-public python24-numarray
- (package
- (name "python24-numarray")
- (version "1.5.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "mirror://sourceforge/numpy/Old Numarray/" version
- "/numarray-" version ".tar.gz"))
- (sha256
- (base32
- "0x1i4j7yni7k4p9kjxs1lgln1psdmyrz65wp2yr35yn292iw2vbg"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2.4
- #:use-setuptools? #f
- #:phases
- (modify-phases %standard-phases
- (replace 'build
- (lambda _
- (invoke "python" "setup.py" "config" "build"
- "--gencode" "--use_lapack")))
- (add-after 'unpack 'find-lapack-and-openblas
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((lapack (assoc-ref inputs "lapack"))
- (blas (assoc-ref inputs "openblas")))
- (substitute* "cfg_packages.py"
- (("lapack_libs = .*'m']")
- "lapack_libs = ['lapack', 'openblas', 'm']\n")
- (("lapack_dirs = .*")
- (string-append "lapack_dirs = ['"
- lapack "/lib', '" blas "/lib']\n"))
- (("lapack_include_dirs = .*")
- (string-append "lapack_include_dirs = ['"
- lapack "/include', '" blas "/include']\n")))
- #t)))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (invoke "python" "setup.py" "config"
- "install" "--use_lapack"
- (string-append "--prefix=" out))))))
- #:tests? #f)) ; no test target
- (inputs
- `(("lapack" ,lapack)
- ("openblas" ,openblas)))
- (home-page "http://www.numpy.org/")
- (synopsis "Array processing of numbers, strings, records and objects")
- (description "Numarray is an array processing package designed to
-efficiently manipulate large multi-dimensional arrays. Numarray is modelled
-after Numeric and features c-code generated from python template scripts, the
-capacity to operate directly on arrays in files, and improved type promotions.
-Numarray provides support for manipulating arrays consisting of numbers,
-strings, records, or objects using the same basic infrastructure and syntax.")
- (license license:bsd-3)))
-
(define-public python24-pp
(package
(name "python24-pp")