diff options
author | Andrey Grozin <grozin@gentoo.org> | 2016-02-14 18:10:24 +0600 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2016-02-14 18:11:25 +0600 |
commit | 5d9c9beda571f4b11deb8ed1e77df3b5c10630ec (patch) | |
tree | 3e6549a05a66e996695f4a07bda783f0553d5339 /dev-python/pyfeyn | |
parent | media-gfx/xv: Fix passing of preprocessor flags. (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-python/pyfeyn/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyfeyn/files/pyfeyn-1.0.0.patch | 18 | ||||
-rw-r--r-- | dev-python/pyfeyn/pyfeyn-1.0.0.ebuild | 23 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pyfeyn/Manifest b/dev-python/pyfeyn/Manifest index 0c755aa93fe6..d2d70bad5e0e 100644 --- a/dev-python/pyfeyn/Manifest +++ b/dev-python/pyfeyn/Manifest @@ -1,2 +1,3 @@ DIST pyfeyn-0.3.4.tar.gz 27074 SHA256 6b1d86606b9b61cfc6285aec4a15202f60a819368b3e74fc13a586835f22da6e SHA512 b0ce1939d893df3af060cc64d11c2bb09f22c99b074aefe0e79d820ee4c6b5c64f4e8de8f4c31020b33735627b2dead9a70ea9d3504773417a058ac7a1915db8 WHIRLPOOL 6d303b0c941f7d698d4f8ca4d0286be74291392700eec6d63dbec9d9d0db22f77d790022d49176b0dbbb25bc6b44e4360dcf1a4821cb9806de0baf24dfcbebbf DIST pyfeyn-0.3.5.tar.gz 27341 SHA256 b6aada34fd31d57e755547bb19324fb7ed679b3e7e5f2ceaf9d41c5535445ca0 SHA512 8e1f119553ba01432a7859d077ca241da205ec82908826ab3bb6b7c86fdab9d1f3c93797daf0a9a5716445617ce8e867f584219437ae2cfd6b4a7681ea2a6c6c WHIRLPOOL fe987ff0f89abadc8124f2a599f1d7372331c5cf77cefddfd00e1371ee560c601c41aff5a1d884db25819f84601c0f87d7b68f40d2bb0f20a7b55892c25cb2e0 +DIST pyfeyn-1.0.0.tar.gz 27316 SHA256 134367ea91572bf6a73c188a86265989d7024cb2ab6647992037dc53ad0a5ce1 SHA512 edecbb61cbc63adb5d218cd53e45568f42aa018875bd57485afe612080300a16dd93d1dd0a1286b040a27aaf727a9e35e210f2a2edccaf9e6e114301a91c839a WHIRLPOOL 72db3deb968d4e8dc63d61843b856225b212cc6907649596a4bdfdbe9245dd97c85913f2d9fcf3de863fa1d4bcd5d758693fcf74d305b80278013d81024c7a3a 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: diff --git a/dev-python/pyfeyn/pyfeyn-1.0.0.ebuild b/dev-python/pyfeyn/pyfeyn-1.0.0.ebuild new file mode 100644 index 000000000000..0f438a75a2c4 --- /dev/null +++ b/dev-python/pyfeyn/pyfeyn-1.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python3_{3,4,5} ) + +inherit distutils-r1 + +DESCRIPTION="Python package for drawing Feynman diagrams" +HOMEPAGE="http://pyfeyn.hepforge.org/ https://pypi.python.org/pypi/pyfeyn/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="latex" + +DEPEND="" +RDEPEND=">=dev-python/pyx-0.14[${PYTHON_USEDEP}] + latex? ( dev-texlive/texlive-science )" + +PATCHES=( "${FILESDIR}"/${P}.patch ) |