public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/svg2rlg/
Date: Sun, 27 Nov 2022 16:53:43 +0000 (UTC)	[thread overview]
Message-ID: <1669568015.17d0dc8c7e9b66b69bb48a4114934917972e4db0.mgorny@gentoo> (raw)

commit:     17d0dc8c7e9b66b69bb48a4114934917972e4db0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 27 16:50:42 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 16:53:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d0dc8c

media-gfx/svg2rlg: Use pytest

Closes: https://bugs.gentoo.org/878709
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild b/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild
index 0c86b5cb4198..c2e08afe278a 100644
--- a/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild
+++ b/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild
@@ -7,7 +7,10 @@ PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Converts SVG files to PDFs or reportlab graphics"
-HOMEPAGE="https://github.com/sarnold/svg2rlg https://pypi.org/project/svg2rlg/"
+HOMEPAGE="
+	https://github.com/sarnold/svg2rlg/
+	https://pypi.org/project/svg2rlg/
+"
 
 if [[ ${PV} = 9999* ]]; then
 	EGIT_REPO_URI="https://github.com/sarnold/svg2rlg.git"
@@ -21,10 +24,12 @@ fi
 LICENSE="BSD"
 SLOT="0"
 
-RDEPEND="dev-python/reportlab[${PYTHON_USEDEP}]"
+RDEPEND="
+	dev-python/reportlab[${PYTHON_USEDEP}]
+"
 
-distutils_enable_tests nose
+distutils_enable_tests pytest
 
 python_test() {
-	nosetests -sx test_svg2rlg.py || die "Test failed with ${EPYTHON}"
+	epytest test_svg2rlg.py
 }


             reply	other threads:[~2022-11-27 16:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-27 16:53 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-29 16:51 [gentoo-commits] repo/gentoo:master commit in: media-gfx/svg2rlg/ Michał Górny
2024-05-29 16:51 Michał Górny
2024-04-05 15:27 Arthur Zamarin
2022-11-27 16:53 Michał Górny
2022-11-27 16:53 Michał Górny
2022-08-31  8:42 Joonas Niilola
2021-12-08 10:14 Yixun Lan
2021-09-16  8:15 Arthur Zamarin
2021-03-05 18:00 Sam James
2021-01-27  3:28 Sam James
2021-01-22 21:38 Steve Arnold
2020-03-31 18:02 Sergei Trofimovich
2018-06-09 14:15 Mart Raudsepp
2017-04-23 20:48 Michał Górny
2016-01-14 17:10 Agostino Sarubbo
2015-10-14 16:25 Justin Lecher
2015-10-10 18:23 Mike Frysinger
2015-09-06  6:18 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1669568015.17d0dc8c7e9b66b69bb48a4114934917972e4db0.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox