diff options
author | Nicolas Bock <nicolasbock@gentoo.org> | 2015-09-08 06:04:24 -0600 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2015-09-08 06:04:24 -0600 |
commit | 7832f53e7d3f421a9961ece8fd9252cc6387bf71 (patch) | |
tree | 3e57d6a3d1e1459902379e9601f2f5b6284f6fed /sci-physics/lammps | |
parent | www-client/seamonkey-bin: Bump to version 2.35 (diff) | |
download | gentoo-7832f53e7d3f421a9961ece8fd9252cc6387bf71.tar.gz gentoo-7832f53e7d3f421a9961ece8fd9252cc6387bf71.tar.bz2 gentoo-7832f53e7d3f421a9961ece8fd9252cc6387bf71.zip |
sci-physics/lammps: Fix broken python3 patch.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sci-physics/lammps')
-rw-r--r-- | sci-physics/lammps/files/lammps-python3-r1.patch | 11 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20150904.ebuild | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sci-physics/lammps/files/lammps-python3-r1.patch b/sci-physics/lammps/files/lammps-python3-r1.patch new file mode 100644 index 000000000000..2dc2bd744fa9 --- /dev/null +++ b/sci-physics/lammps/files/lammps-python3-r1.patch @@ -0,0 +1,11 @@ +--- lammps-4Sep15-orig/python/lammps.py 2015-09-02 14:41:38.000000000 -0600 ++++ lammps-4Sep15/python/lammps.py 2015-09-08 05:59:16.000000000 -0600 +@@ -33,7 +33,7 @@ + except: + type,value,tb = sys.exc_info() + traceback.print_exception(type,value,tb) +- raise OSError,"Could not load LAMMPS dynamic library from %s" % modpath ++ raise OSError("Could not load LAMMPS dynamic library from %s" % modpath) + + # if no ptr provided, create an instance of LAMMPS + # don't know how to pass an MPI communicator from PyPar diff --git a/sci-physics/lammps/lammps-20150904.ebuild b/sci-physics/lammps/lammps-20150904.ebuild index 1a244c83975e..5400e87baefb 100644 --- a/sci-physics/lammps/lammps-20150904.ebuild +++ b/sci-physics/lammps/lammps-20150904.ebuild @@ -167,7 +167,7 @@ src_prepare() { tools/Makefile || die # Patch python. - epatch "${FILESDIR}/lammps-python3.patch" + epatch "${FILESDIR}/lammps-python3-r1.patch" epatch "${FILESDIR}/python-shebang.patch" } |