aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorpjotrp2017-03-04 19:02:09 +0000
committerpjotrp2017-03-04 19:02:09 +0000
commitafa4b031ef62abb32742008e9eb5513f9ce026f0 (patch)
tree41b2b097b7f371fa9dec75f5ab3188e2f6ee77f8 /gn/packages
parent6af7327b699bc4c4b99d489347f90da1dbf13280 (diff)
downloadguix-bioinformatics-afa4b031ef62abb32742008e9eb5513f9ce026f0.tar.gz
python2-numarray: the build system for python no longer works automatically, so force it for this (obsolete) package
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/python.scm27
1 files changed, 23 insertions, 4 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 3158dd2..9e38576 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -471,14 +471,33 @@ version ".tgz"))
(base32
"0x1i4j7yni7k4p9kjxs1lgln1psdmyrz65wp2yr35yn292iw2vbg"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)))
(arguments
`(#:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key inputs #:allow-other-keys)
+ (zero? (system* "python" "setup.py" "build"))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Build and install the Python bindings. The underlying
+ ;; C++ library is apparently not meant to be installed.
+ (let ((out (assoc-ref outputs "out")))
+ (system* "python" "setup.py" "install"
+ (string-append "--prefix=" out))))))
#:tests? #f)) ; no 'setup.py test' really!
(home-page "http://www.numpy.org/")
(synopsis "Numerical library 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. Numarray is now part of the
-numpy package, though some legacy software still uses the older versions.")
+ "Numarray is an (OBSOLETE) 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. Numarray is
+now part of the numpy package, though some legacy software still uses
+the older versions.")
(license license:gpl2))) ; actualy PyRAF http://www.stsci.edu/resources/software_hardware/pyraf/LICENSE