From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1208040-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 029F0138359 for <garchives@archives.gentoo.org>; Sun, 20 Sep 2020 19:17:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED10DE0917; Sun, 20 Sep 2020 19:17:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CEF75E0917 for <gentoo-commits@lists.gentoo.org>; Sun, 20 Sep 2020 19:17:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EBED340AA1 for <gentoo-commits@lists.gentoo.org>; Sun, 20 Sep 2020 19:17:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 050B52EE for <gentoo-commits@lists.gentoo.org>; Sun, 20 Sep 2020 19:17:54 +0000 (UTC) From: "Louis Sautier" <sbraz@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" <sbraz@gentoo.org> Message-ID: <1600629418.8d9fd841e48b8fceca9efd6a13bd1e797219b228.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-dotenv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-dotenv/python-dotenv-0.14.0.ebuild X-VCS-Directories: dev-python/python-dotenv/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 8d9fd841e48b8fceca9efd6a13bd1e797219b228 X-VCS-Branch: master Date: Sun, 20 Sep 2020 19:17:54 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e13bd36d-cc66-461c-a4aa-43cea5eeba0e X-Archives-Hash: 37754fbf113291d4047cb820093e33e6 commit: 8d9fd841e48b8fceca9efd6a13bd1e797219b228 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> AuthorDate: Sun Sep 20 19:15:01 2020 +0000 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> CommitDate: Sun Sep 20 19:16:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9fd841 dev-python/python-dotenv: make sure tests find "dotenv" in PATH Closes: https://bugs.gentoo.org/743784 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> dev-python/python-dotenv/python-dotenv-0.14.0.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/python-dotenv/python-dotenv-0.14.0.ebuild b/dev-python/python-dotenv/python-dotenv-0.14.0.ebuild index f73be046446..facf646f4b7 100644 --- a/dev-python/python-dotenv/python-dotenv-0.14.0.ebuild +++ b/dev-python/python-dotenv/python-dotenv-0.14.0.ebuild @@ -27,3 +27,10 @@ DEPEND="test? ( DOCS=( CHANGELOG.md README.md ) distutils_enable_tests pytest + +python_test() { + # Tests call the "dotenv" command which needs to be in PATH + # https://bugs.gentoo.org/743784 + distutils_install_for_testing + pytest -vv || die "Tests fail with ${EPYTHON}" +}