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/python-dotenv/
Date: Thu,  7 Apr 2022 14:13:52 +0000 (UTC)	[thread overview]
Message-ID: <1649340829.42edca930eb67b4d92ca13cb363c0783977889bd.mgorny@gentoo> (raw)

commit:     42edca930eb67b4d92ca13cb363c0783977889bd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 14:07:08 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 14:13:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42edca93

dev-python/python-dotenv: Make ipython test dep optional

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

 dev-python/python-dotenv/python-dotenv-0.20.0.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild b/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild
index 5ad0c94536ce..690981b0a3bd 100644
--- a/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild
+++ b/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild
@@ -19,7 +19,6 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
 DEPEND="
 	test? (
 		>=dev-python/click-5[${PYTHON_USEDEP}]
-		dev-python/ipython[${PYTHON_USEDEP}]
 		dev-python/mock[${PYTHON_USEDEP}]
 		>=dev-python/sh-1.09[${PYTHON_USEDEP}]
 	)
@@ -29,6 +28,19 @@ DOCS=( CHANGELOG.md README.md )
 
 distutils_enable_tests pytest
 
+python_test() {
+	local EPYTEST_IGNORE=()
+	# remove when https://github.com/theskumar/python-dotenv/pull/397
+	# is merged
+	if ! has_version "dev-python/ipython[${PYTHON_USEDEP}]"; then
+		EPYTEST_IGNORE+=(
+			tests/test_ipython.py
+		)
+	fi
+
+	epytest
+}
+
 python_install() {
 	distutils-r1_python_install
 	ln -s dotenv "${D}$(python_get_scriptdir)"/python-dotenv || die


             reply	other threads:[~2022-04-07 14:14 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07 14:13 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-25 18:46 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-dotenv/ Arthur Zamarin
2024-07-12 12:03 Michał Górny
2024-05-11 17:36 Michał Górny
2024-02-08 14:48 Michał Górny
2024-02-08 14:43 Michał Górny
2024-01-23 18:18 Arthur Zamarin
2023-05-29 15:03 Michał Górny
2023-03-14 13:55 Michał Górny
2023-03-14  7:03 Arthur Zamarin
2023-02-25  6:06 Michał Górny
2023-02-23 15:18 Sebastian Pipping
2023-02-23 15:14 Michał Górny
2023-02-23  6:19 Michał Górny
2023-02-23  6:19 Michał Górny
2023-02-22 20:30 Arthur Zamarin
2023-01-21 19:12 Sebastian Pipping
2022-11-29  0:43 Sebastian Pipping
2022-10-09 16:15 James Le Cuirot
2022-10-07  7:03 Michał Górny
2022-10-05 10:44 Michał Górny
2022-10-05  7:50 Arthur Zamarin
2022-09-03 17:16 Sebastian Pipping
2022-05-15  8:19 Jakov Smolić
2022-05-15  8:04 Michał Górny
2022-05-11 12:56 Jakov Smolić
2022-05-01  1:52 WANG Xuerui
2022-04-08 14:23 Arthur Zamarin
2022-04-08 14:23 Arthur Zamarin
2022-04-07 14:13 Michał Górny
2022-03-25 10:03 Michał Górny
2022-03-18 22:28 Michał Górny
2022-03-18 17:26 Arthur Zamarin
2022-02-15  9:39 Michał Górny
2021-12-03 20:47 Arthur Zamarin
2021-11-24 23:59 Sam James
2021-11-18 10:50 Sam James
2021-11-18 10:39 Sam James
2021-11-18  9:09 Sam James
2021-11-13 13:28 Michał Górny
2021-11-13 12:16 Jakov Smolić
2021-11-11 14:20 Sebastian Pipping
2021-10-10  6:45 Michał Górny
2021-09-12  7:44 Michał Górny
2021-09-12  7:09 Agostino Sarubbo
2021-08-19 19:57 Sam James
2021-08-11 19:26 Sam James
2021-08-07 10:18 Louis Sautier
2021-08-04 18:43 Louis Sautier
2021-07-29  7:10 Agostino Sarubbo
2021-07-28  6:42 Agostino Sarubbo
2021-07-24 18:07 Sebastian Pipping
2021-07-11 10:14 Georgy Yakovlev
2021-06-21  7:54 Michał Górny
2021-06-20  1:45 Sam James
2021-04-30 15:50 Michał Górny
2021-04-30 15:23 Agostino Sarubbo
2021-04-30  0:26 Sebastian Pipping
2021-04-07  2:11 Sebastian Pipping
2021-03-28  9:48 Michał Górny
2021-03-27 13:45 Sebastian Pipping
2021-02-01  8:50 Michał Górny
2021-02-01  4:43 Sam James
2020-12-16 11:51 Michał Górny
2020-11-13  4:57 Sam James
2020-11-09  0:39 Sebastian Pipping
2020-11-04  5:32 Sam James
2020-09-20 19:17 Louis Sautier
2020-09-13 19:22 Louis Sautier
2020-09-05  0:29 Sam James
2020-07-26 20:06 Sebastian Pipping
2020-06-03 16:46 Sebastian Pipping

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=1649340829.42edca930eb67b4d92ca13cb363c0783977889bd.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