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 7AE9B139694 for ; Sat, 22 Apr 2017 16:41:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD20A21C088; Sat, 22 Apr 2017 16:41:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BC2121C088 for ; Sat, 22 Apr 2017 16:41:18 +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 C25C23413B7 for ; Sat, 22 Apr 2017 16:41:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B321F743F for ; Sat, 22 Apr 2017 16:41:12 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1492879259.155887af399206854a3eb94379406ecc2963e1d1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/click-threading/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/click-threading/Manifest dev-python/click-threading/click-threading-0.3.0.ebuild X-VCS-Directories: dev-python/click-threading/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 155887af399206854a3eb94379406ecc2963e1d1 X-VCS-Branch: master Date: Sat, 22 Apr 2017 16:41:12 +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-Archives-Salt: f2283d95-0369-497e-8df1-7ee217eac743 X-Archives-Hash: f58253905a9a3b85e34961f1bf2d0abb commit: 155887af399206854a3eb94379406ecc2963e1d1 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 22 14:38:22 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 22 16:40:59 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155887af dev-python/click-threading: Enable the test suite dev-python/click-threading/Manifest | 2 +- dev-python/click-threading/click-threading-0.3.0.ebuild | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/dev-python/click-threading/Manifest b/dev-python/click-threading/Manifest index 5bd3ce64889..ae6485c5a84 100644 --- a/dev-python/click-threading/Manifest +++ b/dev-python/click-threading/Manifest @@ -1,2 +1,2 @@ DIST click-threading-0.1.2.tar.gz 3232 SHA256 85045457e02f16fba3110dc6b16e980bf3e65433808da2b550dd513206d9b94a SHA512 4612c5314800a76e65468fb80c9495e14605bbda8b5e25e8d78e8baaa9392e424d673d942bd7d0f3955e0241ddc4b87aa348dcb7f3b9516ba94fb8352c0400b6 WHIRLPOOL b821aaca4566cdb6e58ae3eb9dd5892521dd393c8e472399193aa12d9e8754930e778595fe80f3ea6dacc61e4a2ff8f3e68c2f3cbfd0226ecf103309b02ed6eb -DIST click-threading-0.3.0.tar.gz 3379 SHA256 4e73ae723086df8ca790f1e47d9926da4fa1fb5cb1d4196440817d459dd8c945 SHA512 30de50a7e317eb0a54cf9c556c803cade1ba7fd4cced5ce9e99c25da7423ea13400c9315025266745745bc2fbc0c59c2da34545d74e8e723f2f05bcd8bb2fd33 WHIRLPOOL e7200a751af971ef588c904cad43f6d0c99606496d3e1d20c3586bf811aed35b7a9e1c118a8cc2a558a3e41ef73ac18e2c1c41d3c6e9fd675b006bbb9df69c47 +DIST click-threading-0.3.0-gh.tar.gz 3759 SHA256 e4e266b1800e9b58f52a16ca9358c43e290a5a92836fd68fa1938464c5e6e26d SHA512 ca535a54f5d88c70c3f8f05f2d423e1b9b0f0b3793a1c04cdc90b61d4fa99f6906a327143dacb2b946ba8c1a9977d9c96ce9caeac9638521641d574316a0bad6 WHIRLPOOL 3b272c181b42b0e51e17f84ad2d79e6e373eec11f623f4e22a24a2b587ae66af5785d94929073868e9c7145491150b2d161e3938b7159dadcc65da7befbdc110 diff --git a/dev-python/click-threading/click-threading-0.3.0.ebuild b/dev-python/click-threading/click-threading-0.3.0.ebuild index a4e64b9970c..2233319f552 100644 --- a/dev-python/click-threading/click-threading-0.3.0.ebuild +++ b/dev-python/click-threading/click-threading-0.3.0.ebuild @@ -8,14 +8,19 @@ inherit distutils-r1 DESCRIPTION="Multithreaded Click apps made easy." HOMEPAGE="https://github.com/click-contrib/click-threading https://pypi.python.org/pypi/click-threading" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/click-contrib/${PN}/archive/${PV}.tar.gz -> ${P}-gh.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="test" -DEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" +RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" DOCS=( README.rst ) + +python_test() { + py.test -v || die "Tests fail with ${EPYTHON}" +}