dev-python/pyfeyn: add python3_6
authorAndrey Grozin <grozin@gentoo.org>
Mon, 29 Jan 2018 12:52:50 +0000 (19:52 +0700)
committerAndrey Grozin <grozin@gentoo.org>
Mon, 29 Jan 2018 12:52:50 +0000 (19:52 +0700)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-python/pyfeyn/pyfeyn-1.0.0-r1.ebuild [new file with mode: 0644]

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 (file)
index 0000000..b99a85f
--- /dev/null
@@ -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.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 )