summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2016-02-14 18:10:24 +0600
committerAndrey Grozin <grozin@gentoo.org>2016-02-14 18:11:25 +0600
commit5d9c9beda571f4b11deb8ed1e77df3b5c10630ec (patch)
tree3e6549a05a66e996695f4a07bda783f0553d5339 /dev-python/pyfeyn/files
parentmedia-gfx/xv: Fix passing of preprocessor flags. (diff)
downloadgentoo-5d9c9beda571f4b11deb8ed1e77df3b5c10630ec.tar.gz
gentoo-5d9c9beda571f4b11deb8ed1e77df3b5c10630ec.tar.bz2
gentoo-5d9c9beda571f4b11deb8ed1e77df3b5c10630ec.zip
dev-python/pyfeyn: bump to 1.0.0
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/pyfeyn/files')
-rw-r--r--dev-python/pyfeyn/files/pyfeyn-1.0.0.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-python/pyfeyn/files/pyfeyn-1.0.0.patch b/dev-python/pyfeyn/files/pyfeyn-1.0.0.patch
new file mode 100644
index 000000000000..0b4c29e74033
--- /dev/null
+++ b/dev-python/pyfeyn/files/pyfeyn-1.0.0.patch
@@ -0,0 +1,18 @@
+diff -r -U1 pyfeyn-1.0.0.orig/pyfeyn/feynml.py pyfeyn-1.0.0/pyfeyn/feynml.py
+--- pyfeyn-1.0.0.orig/pyfeyn/feynml.py 2016-02-09 22:48:29.000000000 +0100
++++ pyfeyn-1.0.0/pyfeyn/feynml.py 2016-02-14 13:11:16.034537778 +0100
+@@ -257,3 +257,3 @@
+ if self.root.tag != "feynml":
+- raise "FeynML Error: <feynml> must be root element" % self.root.tag
++ raise Exception("FeynML Error: <feynml> must be root element" % self.root.tag)
+ for element in self.root:
+@@ -266,3 +266,3 @@
+ else:
+- raise "FeynML Error: invalid top-level tag <%s>" % element.tag
++ raise Exception("FeynML Error: invalid top-level tag <%s>" % element.tag)
+
+@@ -328,3 +328,3 @@
+ except:
+- raise "FeynML Error: invalid bend amount %s for <propagator> element"%element.attrib["bend"]
++ raise Exception("FeynML Error: invalid bend amount %s for <propagator> element"%element.attrib["bend"])
+ if "style" in element.attrib: