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 C97EB15808B for ; Sun, 18 Feb 2024 03:36:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F547E29DD; Sun, 18 Feb 2024 03:36:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id BDC53E29DD for ; Sun, 18 Feb 2024 03:36:16 +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 E2A77341E1C for ; Sun, 18 Feb 2024 03:36:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49BA31065 for ; Sun, 18 Feb 2024 03:36:14 +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: <1708227038.05d360d71bfad777322c2045c482b828122a7662.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tavern/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tavern/Manifest dev-python/tavern/tavern-2.9.3.ebuild X-VCS-Directories: dev-python/tavern/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 05d360d71bfad777322c2045c482b828122a7662 X-VCS-Branch: master Date: Sun, 18 Feb 2024 03:36:14 +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: 2909c55e-c90f-4c37-adff-427596a0be7c X-Archives-Hash: 3275b64711f3aec2874fe52d9ed9a6ae commit: 05d360d71bfad777322c2045c482b828122a7662 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 18 03:30:38 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 18 03:30:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d360d7 dev-python/tavern: Bump to 2.9.3 Signed-off-by: Michał Górny gentoo.org> dev-python/tavern/Manifest | 1 + dev-python/tavern/tavern-2.9.3.ebuild | 65 +++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index a2d1e052a0d5..ff74c83c21a0 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -3,3 +3,4 @@ DIST tavern-2.8.0.gh.tar.gz 246475 BLAKE2B 373d58205462bbe34deffdcb1f87700e121e9 DIST tavern-2.9.0.gh.tar.gz 246867 BLAKE2B 77cb0cd54223ad401dba429abae503b102b208603e3ecaf0cdc84a71f0928beabd0b783ef5fbf448186d60e400c01ab67505a92031a097bcb68e4cbdd67d07d7 SHA512 4401e9c96f4f721f8d28f03e2a69bdc5e0daeb348b5a3356f1d9a996f81377f9fc5d8481f58dd6106904c89177324e541595e325f6d1c18e9028fa01dd022d4d DIST tavern-2.9.1.gh.tar.gz 247864 BLAKE2B a12552ead7afb2b9e0ab75fab958235d538221d15162063772b7838c33a3c72795058af8d244005eee72865e8388772bf92516402f2944e89d2ab680f1f7da4e SHA512 a7f882ca7c3337181f2a68b31f363317c50ee7e073cfbd4737f6e31a13e0af175d09e9fed04959bd0fe6ffa215c54a34d10ee3e1650a52cd566f2a7006840c43 DIST tavern-2.9.2.gh.tar.gz 248229 BLAKE2B b149f653c801588a11b53d5d6347eabd7e4159116f6b926a75831e0cc59bd072a8ac80ac284cf699447f4ea5ae0ee59b070ffe118899b4804a7292a7294fa1cc SHA512 d8fd2a0c74280db21203fcaf7579f98b44192e33293ad859c18a484d21ab9958600af6c657ae045153ada54b527fe025763bcb2a2eb4951666c2449b31d01590 +DIST tavern-2.9.3.gh.tar.gz 248368 BLAKE2B feccd1c8e50db6def318553186f0dbfc9643c3942e060bb1950305c4e93fac15550b06d7ba5c2c6008175ef5a701f211408da3607ffcf3429d5542c97029cc7b SHA512 525a0b3f2c63fe4a9991ace7e27287898cbcd423e915e9ff4585eb85e0e42f06e499f653b2615b3f98998206b48c6c8f42468fae174ca4d7e7a38bf171b6feda diff --git a/dev-python/tavern/tavern-2.9.3.ebuild b/dev-python/tavern/tavern-2.9.3.ebuild new file mode 100644 index 000000000000..74fcee9d1337 --- /dev/null +++ b/dev-python/tavern/tavern-2.9.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs" +HOMEPAGE=" + https://github.com/taverntesting/tavern/ + https://pypi.org/project/tavern/ +" +SRC_URI=" + https://github.com/taverntesting/tavern/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/jmespath-1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4[${PYTHON_USEDEP}] + >=dev-python/paho-mqtt-1.3.1[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7[${PYTHON_USEDEP}] + >=dev-python/python-box-6[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/Faker[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # strip unnecessary pins, upstream doesn't update them a lot + sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # requires grpc + tests/unit/test_extensions.py::TestGrpcCodes + ) + local EPYTEST_IGNORE=( + # require grpc* + tavern/_plugins/grpc + tests/unit/tavern_grpc + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p tavern +}