From 27127eb4a106cef8e51e416d477ed2961920d629 Mon Sep 17 00:00:00 2001 From: qbisi Date: Sat, 1 Mar 2025 05:42:40 +0800 Subject: [PATCH] python312Packages.petsc4py: fix python installLibPath --- pkgs/by-name/pe/petsc/fix-petsc4py-install-prefix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/pe/petsc/fix-petsc4py-install-prefix.patch b/pkgs/by-name/pe/petsc/fix-petsc4py-install-prefix.patch index dd3a50114f07..d963cc6b6cdd 100644 --- a/pkgs/by-name/pe/petsc/fix-petsc4py-install-prefix.patch +++ b/pkgs/by-name/pe/petsc/fix-petsc4py-install-prefix.patch @@ -7,7 +7,7 @@ index 4a58243..831aa04 100644 def Install(self): import os - installLibPath = os.path.join(self.installDir, 'lib') -+ installLibPath = os.path.join(self.installDir, 'lib', '@PYTHON_SITEPACKAGES@') ++ installLibPath = os.path.join(self.installDir, '@PYTHON_SITEPACKAGES@') if self.setCompilers.isDarwin(self.log): apple = 'You may need to\n (csh/tcsh) setenv MACOSX_DEPLOYMENT_TARGET 10.X\n (sh/bash) MACOSX_DEPLOYMENT_TARGET=10.X; export MACOSX_DEPLOYMENT_TARGET\nbefore running make on PETSc' else: