diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-16 11:14:48 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-16 11:14:48 +0300 |
commit | 40696f2a9fcab6537dc1ba7ac7e5f7b657f61f53 (patch) | |
tree | 1a0bdd5b1ae55445975c0c0b1b6054bb23141670 | |
parent | x11-themes/qtcurve: x86 stable wrt bug #759769 (diff) | |
download | gentoo-40696f2a9fcab6537dc1ba7ac7e5f7b657f61f53.tar.gz gentoo-40696f2a9fcab6537dc1ba7ac7e5f7b657f61f53.tar.bz2 gentoo-40696f2a9fcab6537dc1ba7ac7e5f7b657f61f53.zip |
media-gfx/svg2rlg: enable py3.10, cleanup
Closes: https://bugs.gentoo.org/808147
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild b/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild index c3ccccf45533..6be2f1ffbe8d 100644 --- a/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild +++ b/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild @@ -3,9 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Converts SVG files to PDFs or reportlab graphics" @@ -16,24 +14,16 @@ if [[ ${PV} = 9999* ]]; then EGIT_BRANCH="master" inherit git-r3 else - SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> ${PN}-${PV}.tar.gz" + SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~x86" fi LICENSE="BSD" SLOT="0" -IUSE="test" - -RDEPEND="${PYTHON_DEPS}" -DEPEND="${PYTHON_DEPS} - dev-python/reportlab[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${PYTHON_USEDEP}] ) -" +RDEPEND="dev-python/reportlab[${PYTHON_USEDEP}]" -RESTRICT="!test? ( test )" +distutils_enable_tests nose python_test() { nosetests -sx test_svg2rlg.py || die "Test failed with ${EPYTHON}" |