diff options
Diffstat (limited to 'media-gfx/termtosvg/termtosvg-0.8.0.ebuild')
-rw-r--r-- | media-gfx/termtosvg/termtosvg-0.8.0.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-gfx/termtosvg/termtosvg-0.8.0.ebuild b/media-gfx/termtosvg/termtosvg-0.8.0.ebuild new file mode 100644 index 000000000000..fa8c23ae679f --- /dev/null +++ b/media-gfx/termtosvg/termtosvg-0.8.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) +inherit distutils-r1 + +DESCRIPTION="Record terminal sessions as SVG animations" +HOMEPAGE="https://github.com/nbedos/termtosvg" +SRC_URI="https://github.com/nbedos/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-python/pyte-0.8.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + "${PYTHON}" -m unittest discover -v || die "tests failed with ${EPYTHON}" +} |