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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7FCA915ACFB for ; Thu, 20 Apr 2023 16:58:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2717E0996; Thu, 20 Apr 2023 16:58:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A88BAE0996 for ; Thu, 20 Apr 2023 16:58:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A1C3341173 for ; Thu, 20 Apr 2023 16:58:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CFC26A4B for ; Thu, 20 Apr 2023 16:58:00 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1682009875.2d9890087939cdb0b640feb228805c0593575659.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-custom-exit-code/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-custom-exit-code/Manifest dev-python/pytest-custom-exit-code/metadata.xml dev-python/pytest-custom-exit-code/pytest-custom-exit-code-0.3.0.ebuild X-VCS-Directories: dev-python/pytest-custom-exit-code/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 2d9890087939cdb0b640feb228805c0593575659 X-VCS-Branch: master Date: Thu, 20 Apr 2023 16:58:00 +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: 1da8af1b-2e79-4b28-8d16-a5a3207d8694 X-Archives-Hash: 5be94056199c9184854dc47c1619a2bb commit: 2d9890087939cdb0b640feb228805c0593575659 Author: Patrick McLean gentoo org> AuthorDate: Wed Apr 19 20:36:56 2023 +0000 Commit: Patrick McLean gentoo org> CommitDate: Thu Apr 20 16:57:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d989008 dev-python/pytest-custom-exit-code: new package, add 0.3.0 Signed-off-by: Patrick McLean gentoo.org> dev-python/pytest-custom-exit-code/Manifest | 1 + dev-python/pytest-custom-exit-code/metadata.xml | 12 +++++++ .../pytest-custom-exit-code-0.3.0.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/dev-python/pytest-custom-exit-code/Manifest b/dev-python/pytest-custom-exit-code/Manifest new file mode 100644 index 000000000000..21949871acfd --- /dev/null +++ b/dev-python/pytest-custom-exit-code/Manifest @@ -0,0 +1 @@ +DIST pytest-custom-exit-code-0.3.0.gh.tar.gz 11147 BLAKE2B 1ffbd021f9b637de19bccc7f6fe41048b6fc600236a29faa2e9729c814ce42c8d08ec19f29de4852ec3f82f6ec850740f5bb2c7119e047c2498edbed2c8bb6dd SHA512 6b412866d60580908d6e53829ca7c5661a7a7ff4927f014e8765315da6152c1e459b5076874a11c54f7b90e7a0480011d80d883d51f437a1780ad8442366e3a5 diff --git a/dev-python/pytest-custom-exit-code/metadata.xml b/dev-python/pytest-custom-exit-code/metadata.xml new file mode 100644 index 000000000000..7205210a2a24 --- /dev/null +++ b/dev-python/pytest-custom-exit-code/metadata.xml @@ -0,0 +1,12 @@ + + + + + chutzpah@gentoo.org + Patrick McLean + + + pytest-custom-exit-code + yashtodi94/pytest-custom_exit_code + + diff --git a/dev-python/pytest-custom-exit-code/pytest-custom-exit-code-0.3.0.ebuild b/dev-python/pytest-custom-exit-code/pytest-custom-exit-code-0.3.0.ebuild new file mode 100644 index 000000000000..9e5a9c834bf5 --- /dev/null +++ b/dev-python/pytest-custom-exit-code/pytest-custom-exit-code-0.3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) +inherit distutils-r1 + +MY_PN=${PN//-/_} +MY_PN=${MY_PN/_/-} + +DESCRIPTION="Exit pytest test session with custom exit code in different scenarios" +HOMEPAGE=" + https://pypi.org/project/pytest-custom-exit-code/ + https://github.com/yashtodi94/pytest-custom_exit_code +" + +SRC_URI="https://github.com/yashtodi94/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pytest-7.0.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest tests +}