Skip to content

Commit b692c41

Browse files
Clovis LambertClovis Lambert
authored andcommitted
python-fluidsim.scm: update and fix
- patch the source to write licenses the "old way" (temporary change) - update changeset and hash for a new fluidsim
1 parent e1f48c6 commit b692c41

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

doc/examples/clusters/gricad_guix/scm-files/python-fluidsim.scm

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
(uri
3636
(hg-reference
3737
(url "https://foss.heptapod.net/fluiddyn/fluidsim")
38-
(changeset "6f5e30d44497")))
38+
(changeset "dc37c60a95eb")))
3939
(sha256
40-
(base32 "1xgnwamyv9pzchwmrmvxaky813zxzicgwh6bh1r281wc5qlbz0gr"))))
40+
(base32 "1jpbqk0vvazmwzfwy4f3rcmjiz16f34aflb1v6nnw4pxhh29r1kq"))))
4141
(build-system pyproject-build-system)
4242
(propagated-inputs (list python-fluiddyn
4343
python-importlib-metadata
@@ -46,9 +46,12 @@
4646
; On patche le HOME
4747
(add-before 'build 'patch-HOME-path
4848
(lambda _
49-
(chdir "lib")
49+
(chdir "lib")
5050
(setenv "HOME" (getenv "out"))
5151
))
52+
(add-before 'build 'patch-pyproject.toml
53+
(lambda _
54+
(invoke "sed" "-i" "s@license =.*@license = {text = 'CECILL-2.1'}@g" "pyproject.toml")))
5255
;; On remove la phase de check et de sanity-check
5356
(delete 'check)
5457
(delete 'sanity-check))))
@@ -68,9 +71,9 @@
6871
(uri
6972
(hg-reference
7073
(url "https://foss.heptapod.net/fluiddyn/fluidsim")
71-
(changeset "6f5e30d44497")))
74+
(changeset "dc37c60a95eb")))
7275
(sha256
73-
(base32 "1xgnwamyv9pzchwmrmvxaky813zxzicgwh6bh1r281wc5qlbz0gr"))))
76+
(base32 "1jpbqk0vvazmwzfwy4f3rcmjiz16f34aflb1v6nnw4pxhh29r1kq"))))
7477
(build-system pyproject-build-system)
7578
(propagated-inputs (list python-fluidfft
7679
python-fluidsim-core
@@ -92,6 +95,9 @@
9295
(lambda _
9396
(setenv "HOME" (getenv "out"))
9497
))
98+
(add-before 'build 'patch-pyproject.toml
99+
(lambda _
100+
(invoke "sed" "-i" "s@license =.*@license = {text = 'CECILL-2.1'}@g" "pyproject.toml")))
95101
;; On remove la phase de check et de sanity-check
96102
(delete 'check)
97103
(delete 'sanity-check))))

0 commit comments

Comments
 (0)