Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Guix Past
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guix-hpc
Guix Past
Commits
92bed98f
Verified
Commit
92bed98f
authored
Jul 03, 2020
by
Konrad Hinsen
Committed by
Efraim Flashner
Jul 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add python24-numarray 1.5.2
parent
45e749ac
Pipeline
#155883
passed with stages
in 20 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
1 deletion
+63
-1
modules/past/packages/python.scm
modules/past/packages/python.scm
+63
-1
No files found.
modules/past/packages/python.scm
View file @
92bed98f
;;; Guix Past --- Packages from the past for GNU Guix.
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
;;;
;;; This file is part of Guix Past.
;;;
...
...
@@ -18,6 +19,9 @@
(
define-module
(
past
packages
python
)
#
:use-module
(
guix
)
#
:use-module
(
guix
build-system
python
)
#
:use-module
((
guix
licenses
)
#
:prefix
license:
)
#
:use-module
(
gnu
packages
maths
)
#
:use-module
(
gnu
packages
onc-rpc
)
#
:use-module
(
gnu
packages
python
)
#
:use-module
(
gnu
packages
tcl
)
...
...
@@ -111,3 +115,61 @@ read read ssl ssl tcl tcl tk tk ,(version-major+minor (package-version tcl)) ,(v
started with 2.4.0, released on 2004-11-30. Python 2.5 was
released on 2006-09-19."
)))
(
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
)))
(
properties
'
((
release-date
"2006-08-26"
)))
(
home-page
"https://sourceforge.net/projects/numpy/files/Old%20Numarray/1.5.2/"
)
(
synopsis
"Final numarray release from 2006-08-26"
)
(
description
"Numarray and Numeric were the predecessors of NumPy.
Numarray was created as an alternative to Numeric because the latter
was cumbersome to use when efficiency for large array operations was a
priority. Howver, numarray was less efficient for small arrays, and
thus could not replace Numeric. Many packages of the early SciPy
ecosystem supported both Numeric and numarray, with the choice made
at build time."
)
(
license
license:bsd-3
)))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment