1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
9 DESCRIPTION="Python Package to write SVG files"
10 HOMEPAGE="https://github.com/mozman/svgwrite"
11 SRC_URI="https://github.com/mozman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
17 RESTRICT="!test? ( test )"
19 RDEPEND=">=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}]"
21 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
24 "${FILESDIR}"/${P}-fix-tests-py38.patch
27 distutils_enable_tests pytest