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 E3A9A139694 for ; Mon, 1 May 2017 14:56:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C908421C098; Mon, 1 May 2017 14:56:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 9914521C098 for ; Mon, 1 May 2017 14:56:37 +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 3A9FE34170A for ; Mon, 1 May 2017 14:56:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56D127450 for ; Mon, 1 May 2017 14:56:28 +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: <1493650581.b79a44c86e275d9ebef960ed9fb962950a3ce048.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-subtesthack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-subtesthack/Manifest dev-python/pytest-subtesthack/metadata.xml dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild X-VCS-Directories: dev-python/pytest-subtesthack/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b79a44c86e275d9ebef960ed9fb962950a3ce048 X-VCS-Branch: master Date: Mon, 1 May 2017 14:56:28 +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: 30231df4-8ec2-4dd4-9314-0b75d90a9006 X-Archives-Hash: 6cb87aa88096177591561bd99c1b96bc commit: b79a44c86e275d9ebef960ed9fb962950a3ce048 Author: Michał Górny gentoo org> AuthorDate: Mon May 1 13:52:39 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 1 14:56:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b79a44c8 dev-python/pytest-subtesthack: New package, needed for vdirsyncer tests dev-python/pytest-subtesthack/Manifest | 1 + dev-python/pytest-subtesthack/metadata.xml | 11 ++++++++ .../pytest-subtesthack-0.1.1.ebuild | 30 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-python/pytest-subtesthack/Manifest b/dev-python/pytest-subtesthack/Manifest new file mode 100644 index 00000000000..a8eb1fa1cf1 --- /dev/null +++ b/dev-python/pytest-subtesthack/Manifest @@ -0,0 +1 @@ +DIST pytest-subtesthack-0.1.1.tar.gz 2410 SHA256 9700cc25e9dbe49a2d399b14ea107ab985ee40ebd0d1a7d457b05d15aa9ae632 SHA512 0bf6425b535e65dc7f06f74493d10fbb6451e78a817174638661d7525f39f092f67db8da010228cbd54b400485e71e443118f91ebef660b9c00d2b354062a55f WHIRLPOOL e8e05351eaf140148f5fc6e3023cd564253e62781d69578f330e3393c0dffaa3ee265c457fb9234f066ece28d42280402401abba540f780d5137d79b5f161fdf diff --git a/dev-python/pytest-subtesthack/metadata.xml b/dev-python/pytest-subtesthack/metadata.xml new file mode 100644 index 00000000000..6979d31debc --- /dev/null +++ b/dev-python/pytest-subtesthack/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + pytest-subtesthack + + diff --git a/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild new file mode 100644 index 00000000000..5213ff6241f --- /dev/null +++ b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit distutils-r1 + +DESCRIPTION="A hack for test fixtures, needed for hypothesis inside py.test" +HOMEPAGE="https://github.com/untitaker/pytest-subtesthack/" +# pypi tarball misses tests +SRC_URI="https://github.com/untitaker/pytest-subtesthack/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + distutils_install_for_testing + py.test -v || die "Tests fail with ${EPYTHON}" +}