python3Packages.firedrake: 2025.4.0.post0 -> 2025.4.1
Diff: https://github.com/firedrakeproject/firedrake/compare/2025.4.0.post0...2025.4.1 Changelog: https://github.com/firedrakeproject/firedrake/releases/tag/2025.4.1
This commit is contained in:
parent
943d9a6d17
commit
31afb7c705
@ -57,32 +57,21 @@ let
|
|||||||
in
|
in
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "firedrake";
|
pname = "firedrake";
|
||||||
version = "2025.4.0.post0";
|
version = "2025.4.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "firedrakeproject";
|
owner = "firedrakeproject";
|
||||||
repo = "firedrake";
|
repo = "firedrake";
|
||||||
tag = version;
|
tag = version;
|
||||||
hash = "sha256-wQOS4v/YkIwXdQq6JMvRbmyhnzvx6wj0O6aszNa5ZMw=";
|
hash = "sha256-p/yquIKWynGY7UESDNBCf1cM8zpy8beuuRxSrSMvj7c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch2 {
|
|
||||||
url = "https://github.com/firedrakeproject/firedrake/commit/b358e33ab12b3c4bc3819c9c6e9ed0930082b750.patch?full_index=1";
|
|
||||||
hash = "sha256-y00GB8njhmHgtAVvlv8ImsJe+hMCU1QFtbB8llEhv/I=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
''
|
|
||||||
# relax build-dependency petsc4py
|
# relax build-dependency petsc4py
|
||||||
|
''
|
||||||
substituteInPlace pyproject.toml --replace-fail \
|
substituteInPlace pyproject.toml --replace-fail \
|
||||||
"petsc4py==3.23.0" "petsc4py"
|
"petsc4py==3.23.3" "petsc4py"
|
||||||
|
|
||||||
# These scripts are used by official source distribution only,
|
|
||||||
# and do not make sense in our binary distribution.
|
|
||||||
sed -i '/firedrake-\(check\|status\|run-split-tests\)/d' pyproject.toml
|
|
||||||
''
|
''
|
||||||
+ lib.optionalString stdenv.hostPlatform.isLinux ''
|
+ lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||||
substituteInPlace firedrake/petsc.py --replace-fail \
|
substituteInPlace firedrake/petsc.py --replace-fail \
|
||||||
@ -97,6 +86,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
"decorator"
|
"decorator"
|
||||||
|
"slepc4py"
|
||||||
];
|
];
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
@ -162,6 +152,11 @@ buildPythonPackage rec {
|
|||||||
writableTmpDirAsHomeHook
|
writableTmpDirAsHomeHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# These scripts are used by official sdist/editable_wheel only
|
||||||
|
postInstall = ''
|
||||||
|
rm $out/bin/firedrake-{check,status,run-split-tests}
|
||||||
|
'';
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
rm -rf firedrake pyop2 tinyasm tsfc
|
rm -rf firedrake pyop2 tinyasm tsfc
|
||||||
'';
|
'';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user