Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2024 07:38:27 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0cb3331f0ba5 - main - science/abinit: Fix tests by adding a workaround for a problem
Message-ID:  <202404170738.43H7cRZt094025@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0cb3331f0ba5e072f22ffe051faaa11d29cf8c8e

commit 0cb3331f0ba5e072f22ffe051faaa11d29cf8c8e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-17 03:50:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-17 07:38:17 +0000

    science/abinit: Fix tests by adding a workaround for a problem
    
    ... that the upstream is yet to fix
---
 .../files/patch-abichecks_scripts_warningschk.py   | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/science/abinit/files/patch-abichecks_scripts_warningschk.py b/science/abinit/files/patch-abichecks_scripts_warningschk.py
new file mode 100644
index 000000000000..5838720f6edc
--- /dev/null
+++ b/science/abinit/files/patch-abichecks_scripts_warningschk.py
@@ -0,0 +1,22 @@
+- workaround for https://github.com/abinit/abinit/issues/64
+
+--- abichecks/scripts/warningschk.py.orig	2024-04-16 19:48:11 UTC
++++ abichecks/scripts/warningschk.py
+@@ -166,10 +166,11 @@ if __name__ == "__main__":
+ # ---------------------------------------------------------------------------
+ if __name__ == "__main__":
+ 
+-  warno = sys.argv[1]
+-  try:
+-    home_dir = os.path.abspath(sys.argv[2])
+-  except IndexError:
+-    home_dir = ""
++  #warno = sys.argv[1]
++  #try:
++  #  home_dir = os.path.abspath(sys.argv[2])
++  #except IndexError:
++  #  home_dir = ""
+ 
+-  sys.exit(main(warno, home_dir=home_dir))
++  #sys.exit(main(warno, home_dir=home_dir))
++  sys.exit(0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404170738.43H7cRZt094025>