diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
commit | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (patch) | |
tree | d6790c838cfe9607c996e4913fdf11bad5fdd528 /dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild | |
parent | 3f71901f8c228f4de570abed1831ce3ee425343e (diff) |
gentoo resync : 15.09.2018
Diffstat (limited to 'dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild')
-rw-r--r-- | dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild new file mode 100644 index 000000000000..bc9212c7a05a --- /dev/null +++ b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots" +HOMEPAGE="https://github.com/nschloe/matplotlib2tikz" +SRC_URI="https://github.com/nschloe/matplotlib2tikz/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +LICENSE="MIT" +SLOT="0" +IUSE="test" + +RDEPEND=" + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/ImageHash[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-tex/pgf + )" + +# we have not succeeded in getting the tests to work yet ;-) +RESTRICT="test" + +python_test() { + local -x MPLBACKEND=Agg + virtx py.test -v || die "Tests failed with ${EPYTHON}" +} |