Subject: [PATCH] gnu: nomad-optimizer: Fix build.
From: "Paul A. Patience" <[email-masked]>
To: [email-masked]
Cc: "Paul A. Patience" <[email-masked]>
Date: Tue, 20 Jun 2023 02:10:23 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/maths.scm (nomad-optimizer)
[arguments]<#:phases>: Remove 'delete-superfluous-egg-info' phase.
---
 gnu/packages/maths.scm | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 087cd9c71d..23cc5158e2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2388,16 +2388,7 @@ (define-public nomad-optimizer
                       (string-append builddir "/src/nomad ")))
                    (for-each
                     (lambda (f) (fix-exe-path dir f))
-                    '("param1.txt" "param2.txt" "param3.txt" "param10.txt")))))))
-
-         ;; The information in the .egg-info file is not kept up to date.
-         (add-after 'install 'delete-superfluous-egg-info
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (delete-file (string-append
-                           (site-packages inputs outputs)
-                           "/PyNomad-0.0.0-py"
-                           (python-version (assoc-ref inputs "python"))
-                           ".egg-info")))))))
+                    '("param1.txt" "param2.txt" "param3.txt" "param10.txt"))))))))))
     (home-page "https://www.gerad.ca/nomad/")
     (synopsis "Nonlinear optimization by mesh-adaptive direct search")
     (description

base-commit: d884fc9e2efecfba09af4694f5a13ad7fc6f704f
prerequisite-patch-id: 52027b181c066ac91bc56fc0af511a34f3516651
prerequisite-patch-id: 7ddddfb1646020c15a91ff8f00dd2bacc54162c9
prerequisite-patch-id: 7b8261c3b3ee237bfe47e1f478e72e7fd29fd683
-- 
2.40.1