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 B195A138350 for ; Tue, 28 Apr 2020 17:30:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03A33E0949; Tue, 28 Apr 2020 17:30:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D14DDE094F for ; Tue, 28 Apr 2020 17:30:28 +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 C90B234EDB7 for ; Tue, 28 Apr 2020 17:30:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA36C201 for ; Tue, 28 Apr 2020 17:30:10 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1588094594.2a3d27c98ca429625ab6e7eac0f0b0f9fc124581.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-toolbox/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pytest-toolbox/Manifest dev-python/pytest-toolbox/metadata.xml dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild X-VCS-Directories: dev-python/pytest-toolbox/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 2a3d27c98ca429625ab6e7eac0f0b0f9fc124581 X-VCS-Branch: dev Date: Tue, 28 Apr 2020 17:30:10 +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: a774e1ae-890e-44d1-a3b1-f7100bcff9b8 X-Archives-Hash: 4b66b60b4a83f778e0f84f063de0e119 commit: 2a3d27c98ca429625ab6e7eac0f0b0f9fc124581 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Apr 28 17:23:14 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Apr 28 17:23:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a3d27c9 dev-python/pytest-toolbox: Numerous useful plugins for pytest Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pytest-toolbox/Manifest | 1 + dev-python/pytest-toolbox/metadata.xml | 13 +++++++ .../pytest-toolbox/pytest-toolbox-0.4.ebuild | 41 ++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/dev-python/pytest-toolbox/Manifest b/dev-python/pytest-toolbox/Manifest new file mode 100644 index 0000000..2bb1bbe --- /dev/null +++ b/dev-python/pytest-toolbox/Manifest @@ -0,0 +1 @@ +DIST pytest-toolbox-0.4.tar.gz 8594 BLAKE2B fb1f19513e9e4b191c3eb995cc5e9445bc9f19affef87350d925c5465210c4de945b91120f86664c1dcf02a638595a7725cf88e3244e377ae77558c70d65643a SHA512 ed27700ff77cd607be808142cc310cd2b7461e55b3f8352d304ef8ca6c5e6c060c67a63238a1025407868ab8e229c4a16eaaa56aa75000159762001accb67752 diff --git a/dev-python/pytest-toolbox/metadata.xml b/dev-python/pytest-toolbox/metadata.xml new file mode 100644 index 0000000..2bea565 --- /dev/null +++ b/dev-python/pytest-toolbox/metadata.xml @@ -0,0 +1,13 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + samuelcolvin/pytest-toolbox + pytest-toolbox + + diff --git a/dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild b/dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild new file mode 100644 index 0000000..8a85945 --- /dev/null +++ b/dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Numerous useful plugins for pytest" +HOMEPAGE="https://github.com/samuelcolvin/pytest-toolbox" +SRC_URI="https://github.com/samuelcolvin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +distutils_enable_tests pytest + +DEPEND="test? ( + dev-python/isort[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-isort[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] +)" + +RDEPEND=" + >=dev-python/pytest-3.5.0[${PYTHON_USEDEP}] + <=dev-python/pytest-5[${PYTHON_USEDEP}] +" + +python_prepare_all() { + # pytest.warning_types.PytestAssertRewriteWarning: asserting the value None, please use "assert is None" + sed -i -e 's:test_is_uuid_false:_&:' \ + -e 's:test_any_int_false:_&:' \ + tests/test_comparison.py || die + + distutils-r1_python_prepare_all +} 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 B9A40138350 for ; Wed, 29 Apr 2020 11:12:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8498BE08CD; Wed, 29 Apr 2020 11:12:12 +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 58747E08CD for ; Wed, 29 Apr 2020 11:12:12 +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 2C18934EF29 for ; Wed, 29 Apr 2020 11:12:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10CC0204 for ; Wed, 29 Apr 2020 11:12:08 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1588094594.2a3d27c98ca429625ab6e7eac0f0b0f9fc124581.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-toolbox/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pytest-toolbox/Manifest dev-python/pytest-toolbox/metadata.xml dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild X-VCS-Directories: dev-python/pytest-toolbox/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 2a3d27c98ca429625ab6e7eac0f0b0f9fc124581 X-VCS-Branch: master Date: Wed, 29 Apr 2020 11:12:08 +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: 3253c5df-518c-4f55-9bd5-8ee352c5aafd X-Archives-Hash: 1b3c7cad599ab3c18b9e9b1ce63d1693 Message-ID: <20200429111208.rpVbHtOI01AJ4tu35efVr5s1CM0RNFFf3gs58BepEE0@z> commit: 2a3d27c98ca429625ab6e7eac0f0b0f9fc124581 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Apr 28 17:23:14 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Apr 28 17:23:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a3d27c9 dev-python/pytest-toolbox: Numerous useful plugins for pytest Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pytest-toolbox/Manifest | 1 + dev-python/pytest-toolbox/metadata.xml | 13 +++++++ .../pytest-toolbox/pytest-toolbox-0.4.ebuild | 41 ++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/dev-python/pytest-toolbox/Manifest b/dev-python/pytest-toolbox/Manifest new file mode 100644 index 0000000..2bb1bbe --- /dev/null +++ b/dev-python/pytest-toolbox/Manifest @@ -0,0 +1 @@ +DIST pytest-toolbox-0.4.tar.gz 8594 BLAKE2B fb1f19513e9e4b191c3eb995cc5e9445bc9f19affef87350d925c5465210c4de945b91120f86664c1dcf02a638595a7725cf88e3244e377ae77558c70d65643a SHA512 ed27700ff77cd607be808142cc310cd2b7461e55b3f8352d304ef8ca6c5e6c060c67a63238a1025407868ab8e229c4a16eaaa56aa75000159762001accb67752 diff --git a/dev-python/pytest-toolbox/metadata.xml b/dev-python/pytest-toolbox/metadata.xml new file mode 100644 index 0000000..2bea565 --- /dev/null +++ b/dev-python/pytest-toolbox/metadata.xml @@ -0,0 +1,13 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + samuelcolvin/pytest-toolbox + pytest-toolbox + + diff --git a/dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild b/dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild new file mode 100644 index 0000000..8a85945 --- /dev/null +++ b/dev-python/pytest-toolbox/pytest-toolbox-0.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Numerous useful plugins for pytest" +HOMEPAGE="https://github.com/samuelcolvin/pytest-toolbox" +SRC_URI="https://github.com/samuelcolvin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +distutils_enable_tests pytest + +DEPEND="test? ( + dev-python/isort[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-isort[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] +)" + +RDEPEND=" + >=dev-python/pytest-3.5.0[${PYTHON_USEDEP}] + <=dev-python/pytest-5[${PYTHON_USEDEP}] +" + +python_prepare_all() { + # pytest.warning_types.PytestAssertRewriteWarning: asserting the value None, please use "assert is None" + sed -i -e 's:test_is_uuid_false:_&:' \ + -e 's:test_any_int_false:_&:' \ + tests/test_comparison.py || die + + distutils-r1_python_prepare_all +}