spack/var/spack/repos/builtin/packages/yoda/yoda-1.6.4.patch
iarspider e62ddcb582
Add Rivet and YODA (#17372)
* Add Rivet and YODA

* Add patches

* Flake-8

* Set level for Rivet patches

* Syntax fix

* Fix dependencies of Rivet

* Update var/spack/repos/builtin/packages/rivet/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-07-06 10:51:36 -05:00

12 lines
467 B
Diff

--- pyext/setup.py.in.orig 2016-09-30 09:13:02.000000000 +0200
+++ pyext/setup.py.in 2016-09-30 09:13:21.000000000 +0200
@@ -34,7 +34,7 @@
extns = [ext("util"), ext("core", statics=static_files, depends=core_depends)]
## Enable building of ROOT extension if ROOT is present
-if os.environ.has_key("BUILD_ROOTCOMPAT"):
+if "BUILD_ROOTCOMPAT" in os.environ:
try:
# import ROOT
# TODO: Need to test for and use root-config in configure