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 5907813835A for ; Tue, 15 Sep 2020 08:09:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54DE1E0940; Tue, 15 Sep 2020 08:09: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 38E49E0940 for ; Tue, 15 Sep 2020 08:09:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 439E4340A35 for ; Tue, 15 Sep 2020 08:09:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95DC7377 for ; Tue, 15 Sep 2020 08:09:36 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1600157361.1560c69eb5ad9585dd5f33acc516d4e08ba5126f.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-regressions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-regressions/Manifest dev-python/pytest-regressions/metadata.xml dev-python/pytest-regressions/pytest-regressions-2.0.1.ebuild X-VCS-Directories: dev-python/pytest-regressions/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 1560c69eb5ad9585dd5f33acc516d4e08ba5126f X-VCS-Branch: master Date: Tue, 15 Sep 2020 08:09:36 +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: 0af35c16-a0cd-44a0-baa6-2e26ef7277f0 X-Archives-Hash: c802d60def998d6d70224e1ac02d38f7 commit: 1560c69eb5ad9585dd5f33acc516d4e08ba5126f Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Sep 14 16:36:01 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Sep 15 08:09:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1560c69e dev-python/pytest-regressions: Easy to use fixtures to write regression tests Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan riseup.net> Signed-off-by: Joonas Niilola gentoo.org> dev-python/pytest-regressions/Manifest | 1 + dev-python/pytest-regressions/metadata.xml | 12 +++++++ .../pytest-regressions-2.0.1.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/dev-python/pytest-regressions/Manifest b/dev-python/pytest-regressions/Manifest new file mode 100644 index 00000000000..939a2ea0cd1 --- /dev/null +++ b/dev-python/pytest-regressions/Manifest @@ -0,0 +1 @@ +DIST pytest-regressions-2.0.1.tar.gz 77934 BLAKE2B 4bf9868afd3bae1ab1668a6cb75bbc661336b3bd7dca23b0b6e0ab810cb60645737e45008c74a09f90763869982db5d819f170f6b251d9419681ceee810c4657 SHA512 9c35f356ef2c2914674b022b4a357ec75a4a12c8090c44d959111f1eaa1f10f492f8103098b273292bff08a5957d7f2ae3f0b0bd051438d6467ce1491f234d97 diff --git a/dev-python/pytest-regressions/metadata.xml b/dev-python/pytest-regressions/metadata.xml new file mode 100644 index 00000000000..d22e99d7357 --- /dev/null +++ b/dev-python/pytest-regressions/metadata.xml @@ -0,0 +1,12 @@ + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-python/pytest-regressions/pytest-regressions-2.0.1.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.0.1.ebuild new file mode 100644 index 00000000000..5acfd446bde --- /dev/null +++ b/dev-python/pytest-regressions/pytest-regressions-2.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Easy to use fixtures to write regression tests" +HOMEPAGE="https://github.com/ESSS/pytest-regressions" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] +)" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-datadir[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +}