Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Guix Past
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
guix-hpc
Guix Past
Commits
1050a67a
Verified
Commit
1050a67a
authored
4 years ago
by
Konrad Hinsen
Committed by
Efraim Flashner
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add python24-numpy 1.1.1
parent
92bed98f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/past/packages/python.scm
+55
-0
55 additions, 0 deletions
modules/past/packages/python.scm
with
55 additions
and
0 deletions
modules/past/packages/python.scm
+
55
−
0
View file @
1050a67a
...
...
@@ -19,6 +19,7 @@
(
define-module
(
past
packages
python
)
#
:use-module
(
guix
)
#
:use-module
(
guix
git-download
)
#
:use-module
(
guix
build-system
python
)
#
:use-module
((
guix
licenses
)
#
:prefix
license:
)
#
:use-module
(
gnu
packages
maths
)
...
...
@@ -173,3 +174,57 @@ 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
)))
(
define-public
python24-numpy
(
package
(
name
"python24-numpy"
)
(
version
"1.1.1"
)
(
source
(
origin
(
method
git-fetch
)
(
uri
(
git-reference
(
url
"https://github.com/numpy/numpy"
)
(
commit
(
string-append
"v"
version
))))
(
file-name
(
git-file-name
name
version
))
(
sha256
(
base32
"04dkq22yyl8ap4b5mmgalnp9wrs5pdi5j9wwkv2pabnljfrwikiy"
))))
(
build-system
python-build-system
)
(
inputs
`
((
"lapack"
,
lapack
)
(
"openblas"
,
openblas
)))
(
arguments
`
(
#
:python
,
python-2
.
4
#
:use-setuptools?
#f
#
:phases
(
modify-phases
%standard-phases
(
add-after
'unpack
'find-libraries
(
lambda*
(
#
:key
inputs
#
:allow-other-keys
)
(
let
((
lapack
(
assoc-ref
inputs
"lapack"
))
(
openblas
(
assoc-ref
inputs
"openblas"
)))
(
with-output-to-file
"site.cfg"
(
lambda
_
(
format
#t
"[DEFAULT]
library_dirs = ~a/lib:~a/lib
include:dirs = ~a/include:~a/include~%"
lapack
openblas
lapack
openblas
))))
#t
))
(
replace
'check
(
lambda*
(
#
:key
inputs
outputs
tests?
#
:allow-other-keys
)
(
when
tests?
(
begin
;; Taken from test.sh
(
with-directory-excursion
"/tmp"
(
add-installed-pythonpath
inputs
outputs
)
(
invoke
"python"
"-c"
"import numpy; print numpy; numpy.test(level = 9999); numpy.show_config()"
))))
#t
)))))
(
home-page
"https://numpy.org"
)
(
synopsis
"NumPy 1.1.1, released on 2008-07-31"
)
(
description
"NumPy is the fundamental package for scientific computing
with Python. It contains among other things: a powerful N-dimensional array
object, sophisticated (broadcasting) functions, tools for integrating C/C++
and Fortran code, useful linear algebra, Fourier transform, and random number
capabilities."
)
(
properties
'
((
release-date
"2008-07-31"
)))
(
license
license:bsd-3
)))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment