diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pyfeyn | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyfeyn')
-rw-r--r-- | dev-python/pyfeyn/Manifest | 5 | ||||
-rw-r--r-- | dev-python/pyfeyn/files/pyfeyn-1.0.0.patch | 18 | ||||
-rw-r--r-- | dev-python/pyfeyn/metadata.xml | 17 | ||||
-rw-r--r-- | dev-python/pyfeyn/pyfeyn-1.0.0-r1.ebuild | 22 | ||||
-rw-r--r-- | dev-python/pyfeyn/pyfeyn-1.0.0.ebuild | 22 |
5 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/pyfeyn/Manifest b/dev-python/pyfeyn/Manifest new file mode 100644 index 000000000000..9640b505ca3d --- /dev/null +++ b/dev-python/pyfeyn/Manifest @@ -0,0 +1,5 @@ +AUX pyfeyn-1.0.0.patch 1012 BLAKE2B d3d8ba8f46c9fe6eac5db4183c18fbbe118ba36bbcc3b9a263a470fac702ac81c17bb77acf7b913c3a3bb51d4f12bda60b07d8152a324b8f4c927f1800b104c2 SHA512 43811f881c479062af0376c9d3dbe440383599d7e6937481ad2ca8dbca3ff404ab8d04adaa4afcdf1c4eb001340ed1870a7f50730fbc3d4c458f5d6a1936cc73 +DIST pyfeyn-1.0.0.tar.gz 27316 BLAKE2B f1ece2e64be35f6e64dbe539406462c1802bb0149577662a92658769c1b347c2d98786cd83998e8887cc609f8ffa5aac3e3c995c253f54badd5bed43050dbf0f SHA512 edecbb61cbc63adb5d218cd53e45568f42aa018875bd57485afe612080300a16dd93d1dd0a1286b040a27aaf727a9e35e210f2a2edccaf9e6e114301a91c839a +EBUILD pyfeyn-1.0.0-r1.ebuild 560 BLAKE2B 876b0d93c4ac5125545f059a2fa1b096ed8f811b1441bccd33ec9ef5344defbfe63a32d0ccc8b06c440ef3e7741912b6728467221f929f11eb6f3f8e1c6663f4 SHA512 049d6d9619db90d139e21afb75428f8a934a64f6cc71b9af046ca972925fcf2f07bae70be53cdd2c52fce856b773cd37a741b9e366979c9d71759f26890a3bde +EBUILD pyfeyn-1.0.0.ebuild 558 BLAKE2B 12a9035a8e368babd2528a0ed02a397be9fb9ff22c6c686d26017abc3a0e6a48c82b0baac26f7abfee88682160aa60ca0f5a4a34c41c1377023a2fde660155f6 SHA512 ba767b00071339ef93fdae0171fca45cff59dca02e370321d2f57fa52a332e70f814e09b496c8a1fb05e7606ca7824ce11b622a5237c6e7e3271e43545f2720a +MISC metadata.xml 498 BLAKE2B 31414fd895669d8706e4025d404575d0de13b04dcd23dc175262701489fc98d8e11407e758aef681805a8275323397a6bf1b5296247f48b36ff34c9b9d410ae5 SHA512 19364d290277c99a31dc436a941d66d60a1829c2ffac855cc35c85e4923124d559c8310b0c87a8129d0115e482ba0ec13287e6f1994fb93ae43de969f9082751 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/metadata.xml b/dev-python/pyfeyn/metadata.xml new file mode 100644 index 000000000000..ef28dfdb1e96 --- /dev/null +++ b/dev-python/pyfeyn/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription>Python package for drawing Feynman diagrams + </longdescription> + <upstream> + <remote-id type="pypi">pyfeyn</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyfeyn/pyfeyn-1.0.0-r1.ebuild b/dev-python/pyfeyn/pyfeyn-1.0.0-r1.ebuild new file mode 100644 index 000000000000..31874a127ec1 --- /dev/null +++ b/dev-python/pyfeyn/pyfeyn-1.0.0-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Python package for drawing Feynman diagrams" +HOMEPAGE="http://pyfeyn.hepforge.org/ https://pypi.org/project/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-mathscience )" + +PATCHES=( "${FILESDIR}"/${P}.patch ) 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..e7d02801efbb --- /dev/null +++ b/dev-python/pyfeyn/pyfeyn-1.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python3_{4,5} ) + +inherit distutils-r1 + +DESCRIPTION="Python package for drawing Feynman diagrams" +HOMEPAGE="http://pyfeyn.hepforge.org/ https://pypi.org/project/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-mathscience )" + +PATCHES=( "${FILESDIR}"/${P}.patch ) |