diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyfeyn |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyfeyn')
-rw-r--r-- | dev-python/pyfeyn/Manifest | 6 | ||||
-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.ebuild | 22 |
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/pyfeyn/Manifest b/dev-python/pyfeyn/Manifest new file mode 100644 index 000000000000..2cdb288009d8 --- /dev/null +++ b/dev-python/pyfeyn/Manifest @@ -0,0 +1,6 @@ +AUX pyfeyn-1.0.0.patch 1012 SHA256 3056469b6e76a4bb4d42e6520fbd11714980bd9f0cf66a8c75d8337902296920 SHA512 43811f881c479062af0376c9d3dbe440383599d7e6937481ad2ca8dbca3ff404ab8d04adaa4afcdf1c4eb001340ed1870a7f50730fbc3d4c458f5d6a1936cc73 WHIRLPOOL c497e997bd4e342fe7d8b2730a6f1af9a2fbbd74780d3104899080532ab514265974afd044e920ae9e5b8b06eb1628d0bf6d9426e2f35361147cc0d5629017d2 +DIST pyfeyn-1.0.0.tar.gz 27316 SHA256 134367ea91572bf6a73c188a86265989d7024cb2ab6647992037dc53ad0a5ce1 SHA512 edecbb61cbc63adb5d218cd53e45568f42aa018875bd57485afe612080300a16dd93d1dd0a1286b040a27aaf727a9e35e210f2a2edccaf9e6e114301a91c839a WHIRLPOOL 72db3deb968d4e8dc63d61843b856225b212cc6907649596a4bdfdbe9245dd97c85913f2d9fcf3de863fa1d4bcd5d758693fcf74d305b80278013d81024c7a3a +EBUILD pyfeyn-1.0.0.ebuild 597 SHA256 8e5ae47566f7840d03ccdcfc22f98d1334307f39861c801159d816429f40c891 SHA512 82a18600952ad2a695b352911c80f91f9a9c1e5e85458e4c9936772b1a8e869feed15ebc7c363e3bf3fbbb66fa901ad89f13caff0aa48a7f12b3852458fe0659 WHIRLPOOL f48ffcbd58bc9705c09bbda4227eeda1134ab004ad5b1df9842faa3155aba8c2730a3d1c248021deb5dec7bcc1d18af84a8e24ef92b4cab98ebe023d5399f0e6 +MISC ChangeLog 3151 SHA256 2f9ceebc28e8dcf781953c5c53167427e66dbb9062d4d80730d523abb6b9addb SHA512 14e0b93981d17664e5aab97c92966413fa7c908ee7930edac7a3b624d4fcbb2e09ad8a0385bfe632c27ba0e22710f0b5cdc40090917cc4510d0fae5fa57739da WHIRLPOOL d946e8b91e18e0181c141701c77e0f1d724388d93a2e13f284d67c99286e316f8b7da1df7493982974a854e5a26848b3043ab4a1eb5ad2945577f7f0141fbe5c +MISC ChangeLog-2015 974 SHA256 979d4b93a0bf65d335d5d93abf47462191b5e65701ac454f5dc207b39a9fb7f9 SHA512 fc0296325e6899ae87d63b666d1ec36132651aa7a0c7b69e2dacd4e5daae2e1d89307aaa0e7bfcdb7ea2c8706f1c063f2c350590a626f547f331b11483d7b64c WHIRLPOOL e9017dca931883a178419c77516b23b0f3e1850a7db5ce8180e3da8b98cbcd6a82d383de9a49a7ef14141bb1a531d51b62dbff1395d4ed8a16d1fc04806c6a29 +MISC metadata.xml 498 SHA256 6ab469c05a03e55422537e39b9b2abf5c01d904b7876bdb6df8826cb72bbd534 SHA512 19364d290277c99a31dc436a941d66d60a1829c2ffac855cc35c85e4923124d559c8310b0c87a8129d0115e482ba0ec13287e6f1994fb93ae43de969f9082751 WHIRLPOOL 0f994a32fe9c147d76ea41816f726727cabe4f5decc6155697148dd377d0bae8cb3b8146bafe5ce3b6a05ff948409d5af4cec67b95d1632d666b319b10ccb41b 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.ebuild b/dev-python/pyfeyn/pyfeyn-1.0.0.ebuild new file mode 100644 index 000000000000..c10f8d9bc59f --- /dev/null +++ b/dev-python/pyfeyn/pyfeyn-1.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 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.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-mathscience dev-texlive/texlive-science ) )" + +PATCHES=( "${FILESDIR}"/${P}.patch ) |