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: dev-python/traceback2/
Date: Sun, 31 May 2020 15:42:36 +0000 (UTC)	[thread overview]
Message-ID: <1590939745.8f6d004055cc12413fd9315034d29c884ffe6cdd.mgorny@gentoo> (raw)

commit:     8f6d004055cc12413fd9315034d29c884ffe6cdd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 14:54:14 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 31 15:42:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6d0040

dev-python/traceback2: Enable tests

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/traceback2/traceback2-1.4.0.ebuild | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/dev-python/traceback2/traceback2-1.4.0.ebuild b/dev-python/traceback2/traceback2-1.4.0.ebuild
index ab201321028..e0ffb58165c 100644
--- a/dev-python/traceback2/traceback2-1.4.0.ebuild
+++ b/dev-python/traceback2/traceback2-1.4.0.ebuild
@@ -18,4 +18,17 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86
 RDEPEND="
 	dev-python/linecache2[${PYTHON_USEDEP}]"
 BDEPEND="
-	dev-python/pbr[${PYTHON_USEDEP}]"
+	dev-python/pbr[${PYTHON_USEDEP}]
+	test? ( dev-python/unittest2[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+	# fails by line numbers on various py3 versions
+	sed -i -e 's:test_context_suppression:_&:' \
+		-e 's:test_format_locals:_&:' \
+		-e 's:test_bad_indentation:_&:' \
+		-e 's:test_encoded_file:_&:' \
+		traceback2/tests/test_traceback.py || die
+	distutils-r1_src_prepare
+}


             reply	other threads:[~2020-05-31 15:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31 15:42 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-29  5:53 [gentoo-commits] repo/gentoo:master commit in: dev-python/traceback2/ Yixun Lan
2020-09-21  6:07 Michał Górny
2020-06-26  9:41 Michał Górny
2020-06-10  8:11 Michał Górny
2020-05-31 15:42 Michał Górny
2019-12-30 21:54 Piotr Karbowski
2018-07-21 15:32 Mikle Kolyada
2018-03-10 14:56 Pacho Ramos
2018-02-18  0:03 Patrice Clement
2017-10-04  8:57 Michał Górny
2017-06-26 11:43 Alexis Ballier
2015-11-22  8:38 Markus Meier
2015-11-22  5:38 Jeroen Roovers
2015-11-19 10:25 Agostino Sarubbo
2015-11-16 15:01 Agostino Sarubbo
2015-11-05 11:52 Agostino Sarubbo
2015-11-04 16:09 Agostino Sarubbo
2015-11-04 15:50 Agostino Sarubbo
2015-11-02 13:12 Agostino Sarubbo
2015-11-02 13:09 Agostino Sarubbo
2015-10-14 13:40 Justin Lecher
2015-10-11 11:25 Justin Lecher
2015-10-10 18:49 Mikle Kolyada
2015-08-24 10:12 Justin Lecher
2015-08-21  4:53 Ian Delaney

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=1590939745.8f6d004055cc12413fd9315034d29c884ffe6cdd.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