From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 F084A138334 for ; Sun, 7 Apr 2019 13:47:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E735EE0849; Sun, 7 Apr 2019 13:47:40 +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 BEAC2E0849 for ; Sun, 7 Apr 2019 13:47:40 +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 BFBCD335D01 for ; Sun, 7 Apr 2019 13:47:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37ED7326 for ; Sun, 7 Apr 2019 13:47:37 +0000 (UTC) From: "Aaron W. Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron W. Swenson" Message-ID: <1554644836.72f70fcd542c933f0f411bddba9524bbe8d52bee.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sshtunnel/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sshtunnel/sshtunnel-0.1.4-r1.ebuild X-VCS-Directories: dev-python/sshtunnel/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron W. Swenson X-VCS-Revision: 72f70fcd542c933f0f411bddba9524bbe8d52bee X-VCS-Branch: master Date: Sun, 7 Apr 2019 13:47:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 57f516fc-4718-47a6-a087-b4b844e14d98 X-Archives-Hash: 0d235195c835e31e3ba8c28e6eb46ef9 commit: 72f70fcd542c933f0f411bddba9524bbe8d52bee Author: Aaron W. Swenson gentoo org> AuthorDate: Sun Apr 7 13:46:08 2019 +0000 Commit: Aaron W. Swenson gentoo org> CommitDate: Sun Apr 7 13:47:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f70fcd dev-python/sshtunnel: Fix test invocation Drop dev-python/tox requirement in favor of some direct dependencies on pytest, and no longer adds additional files to the image. Bug: https://bugs.gentoo.org/668146 Bug: https://bugs.gentoo.org/671484 Bug: https://bugs.gentoo.org/682260 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Aaron W. Swenson gentoo.org> dev-python/sshtunnel/sshtunnel-0.1.4-r1.ebuild | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/dev-python/sshtunnel/sshtunnel-0.1.4-r1.ebuild b/dev-python/sshtunnel/sshtunnel-0.1.4-r1.ebuild new file mode 100644 index 00000000000..38675ffce8b --- /dev/null +++ b/dev-python/sshtunnel/sshtunnel-0.1.4-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Pure python SSH tunnels" +HOMEPAGE="https://pypi.python.org/pypi/sshtunnel" +SRC_URI="mirror://pypi/s/sshtunnel/${P}.tar.gz" + +KEYWORDS="~amd64 ~arm ~x86" +LICENSE="MIT" +SLOT="0" + +IUSE="test" + +RDEPEND="dev-python/paramiko[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +python_test() { + py.test --showlocals --cov sshtunnel --durations=10 -n4 tests +}