From 3cd9471c7c700658643fdce7a6d3381ec0de26e1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 5 Jul 2020 14:45:30 +0300 Subject: gn: python24-numarray pushed to guix-past. --- gn/packages/python24.scm | 57 ------------------------------------------------ 1 file changed, 57 deletions(-) (limited to 'gn/packages/python24.scm') 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") -- cgit v1.2.3