From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 31CD9139A8D for ; Tue, 8 Sep 2015 12:04:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 340FD141D5; Tue, 8 Sep 2015 12:04:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4831141D5 for ; Tue, 8 Sep 2015 12:04:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CDFC334089F for ; Tue, 8 Sep 2015 12:04:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6B36183 for ; Tue, 8 Sep 2015 12:04:42 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1441713864.7832f53e7d3f421a9961ece8fd9252cc6387bf71.nicolasbock@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/lammps/, sci-physics/lammps/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/lammps/files/lammps-python3-r1.patch sci-physics/lammps/lammps-20150904.ebuild X-VCS-Directories: sci-physics/lammps/files/ sci-physics/lammps/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: 7832f53e7d3f421a9961ece8fd9252cc6387bf71 X-VCS-Branch: master Date: Tue, 8 Sep 2015 12:04:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 83852ecd-9430-4ce1-8a29-dbe19be6a3f9 X-Archives-Hash: 7351d5158fd21490a94bb76fb323834f commit: 7832f53e7d3f421a9961ece8fd9252cc6387bf71 Author: Nicolas Bock gentoo org> AuthorDate: Tue Sep 8 12:04:24 2015 +0000 Commit: Nicolas Bock gentoo org> CommitDate: Tue Sep 8 12:04:24 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7832f53e sci-physics/lammps: Fix broken python3 patch. Package-Manager: portage-2.2.20.1 sci-physics/lammps/files/lammps-python3-r1.patch | 11 +++++++++++ sci-physics/lammps/lammps-20150904.ebuild | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) 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 0000000..2dc2bd7 --- /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 1a244c8..5400e87 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" }