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 E2ABF59CA3 for ; Sun, 14 Feb 2016 12:21:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D2C8E07A5; Sun, 14 Feb 2016 12:21:00 +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 9D510E07A5 for ; Sun, 14 Feb 2016 12:20:59 +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 3092234087C for ; Sun, 14 Feb 2016 12:20:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3FD0150 for ; Sun, 14 Feb 2016 12:20:53 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1455451885.5d9c9beda571f4b11deb8ed1e77df3b5c10630ec.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfeyn/, dev-python/pyfeyn/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyfeyn/Manifest dev-python/pyfeyn/files/pyfeyn-1.0.0.patch dev-python/pyfeyn/pyfeyn-1.0.0.ebuild X-VCS-Directories: dev-python/pyfeyn/files/ dev-python/pyfeyn/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 5d9c9beda571f4b11deb8ed1e77df3b5c10630ec X-VCS-Branch: master Date: Sun, 14 Feb 2016 12:20:53 +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: 1eff6bf5-0bc1-4dc4-8a9d-88f1c57239fa X-Archives-Hash: 2f3e3f62ba7fad4848ff21ee3ee51dcd commit: 5d9c9beda571f4b11deb8ed1e77df3b5c10630ec Author: Andrey Grozin gentoo org> AuthorDate: Sun Feb 14 12:10:24 2016 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Sun Feb 14 12:11:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9c9bed dev-python/pyfeyn: bump to 1.0.0 Package-Manager: portage-2.2.27 dev-python/pyfeyn/Manifest | 1 + dev-python/pyfeyn/files/pyfeyn-1.0.0.patch | 18 ++++++++++++++++++ dev-python/pyfeyn/pyfeyn-1.0.0.ebuild | 23 +++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-python/pyfeyn/Manifest b/dev-python/pyfeyn/Manifest index 0c755aa..d2d70ba 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 0000000..0b4c29e --- /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: must be root element" % self.root.tag ++ raise Exception("FeynML Error: 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 element"%element.attrib["bend"] ++ raise Exception("FeynML Error: invalid bend amount %s for 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 0000000..0f438a7 --- /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 )