From: | "Michał Górny" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: media-gfx/svg2rlg/ |
Date: | Sun, 27 Nov 2022 16:53:47 |
Message-Id: | 1669568015.17d0dc8c7e9b66b69bb48a4114934917972e4db0.mgorny@gentoo |
1 | commit: 17d0dc8c7e9b66b69bb48a4114934917972e4db0 |
2 | Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 | AuthorDate: Sun Nov 27 16:50:42 2022 +0000 |
4 | Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 | CommitDate: Sun Nov 27 16:53:35 2022 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d0dc8c |
7 | |
8 | media-gfx/svg2rlg: Use pytest |
9 | |
10 | Closes: https://bugs.gentoo.org/878709 |
11 | Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 | |
13 | media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild | 13 +++++++++---- |
14 | 1 file changed, 9 insertions(+), 4 deletions(-) |
15 | |
16 | diff --git a/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild b/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild |
17 | index 0c86b5cb4198..c2e08afe278a 100644 |
18 | --- a/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild |
19 | +++ b/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild |
20 | @@ -7,7 +7,10 @@ PYTHON_COMPAT=( python3_{8..10} ) |
21 | inherit distutils-r1 |
22 | |
23 | DESCRIPTION="Converts SVG files to PDFs or reportlab graphics" |
24 | -HOMEPAGE="https://github.com/sarnold/svg2rlg https://pypi.org/project/svg2rlg/" |
25 | +HOMEPAGE=" |
26 | + https://github.com/sarnold/svg2rlg/ |
27 | + https://pypi.org/project/svg2rlg/ |
28 | +" |
29 | |
30 | if [[ ${PV} = 9999* ]]; then |
31 | EGIT_REPO_URI="https://github.com/sarnold/svg2rlg.git" |
32 | @@ -21,10 +24,12 @@ fi |
33 | LICENSE="BSD" |
34 | SLOT="0" |
35 | |
36 | -RDEPEND="dev-python/reportlab[${PYTHON_USEDEP}]" |
37 | +RDEPEND=" |
38 | + dev-python/reportlab[${PYTHON_USEDEP}] |
39 | +" |
40 | |
41 | -distutils_enable_tests nose |
42 | +distutils_enable_tests pytest |
43 | |
44 | python_test() { |
45 | - nosetests -sx test_svg2rlg.py || die "Test failed with ${EPYTHON}" |
46 | + epytest test_svg2rlg.py |
47 | } |