From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tavern/
Date: Sun, 12 May 2024 02:37:38 +0000 (UTC) [thread overview]
Message-ID: <1715480947.41046439729d438183951b05a9a65daca9d9bade.mgorny@gentoo> (raw)
commit: 41046439729d438183951b05a9a65daca9d9bade
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 02:29:07 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 12 02:29:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41046439
dev-python/tavern: Bump to 2.11.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tavern/Manifest | 1 +
dev-python/tavern/tavern-2.11.0.ebuild | 66 ++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest
index 435e5d4429f1..ae307dbd49df 100644
--- a/dev-python/tavern/Manifest
+++ b/dev-python/tavern/Manifest
@@ -1 +1,2 @@
DIST tavern-2.10.3.gh.tar.gz 240386 BLAKE2B eb01cdabb171de101784c4fecf99c59fad892e9819e4b047e9d6f30a27b742ac49eb1840a66225466f2de09f8e0883941de92a4051898fe479e35ee06151a0d4 SHA512 e27da0da1d9eb8302ba34191bb9e157a28335c90012569218709f65b761c2f01d47c2e60a4a72df320cb7a2575ee3e890c3dc37027fb91fc90d97305d2afe277
+DIST tavern-2.11.0.gh.tar.gz 233387 BLAKE2B b1b26e7d9fc4069c7056072ab01c9937245304982f78df236e9bcaa795feec6a1db7192532dba6d17d362af874bffce601bb9652b5f1ecda99c59387f717bb15 SHA512 456fa6ebfc6f47ff9a473e3f416aff9f88b1f9b25c898786d15472072859e1659c089a9c668e6ddc4ecfc0cc8c233417d4768e0f7228800995509a5a34294faf
diff --git a/dev-python/tavern/tavern-2.11.0.ebuild b/dev-python/tavern/tavern-2.11.0.ebuild
new file mode 100644
index 000000000000..20ce5fc3aaf2
--- /dev/null
+++ b/dev-python/tavern/tavern-2.11.0.ebuild
@@ -0,0 +1,66 @@
+# 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-2[${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
+}
next reply other threads:[~2024-05-12 2:37 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-12 2:37 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-28 20:49 [gentoo-commits] repo/gentoo:master commit in: dev-python/tavern/ Sam James
2024-05-01 17:44 Michał Górny
2024-05-01 16:48 Sam James
2024-04-14 2:43 Michał Górny
2024-04-11 19:04 Michał Górny
2024-04-11 17:13 Arthur Zamarin
2024-03-28 5:55 Michał Górny
2024-03-07 20:22 Jakov Smolić
2024-03-02 11:44 Michał Górny
2024-03-02 10:57 Arthur Zamarin
2024-02-20 14:13 Michał Górny
2024-02-20 14:06 Jakov Smolić
2024-02-18 3:36 Michał Górny
2024-02-11 3:35 Michał Górny
2024-01-28 3:51 Michał Górny
2024-01-23 18:18 Arthur Zamarin
2024-01-21 6:21 Michał Górny
2024-01-13 9:36 Arthur Zamarin
2023-12-26 10:46 Michał Górny
2023-12-09 15:13 Michał Górny
2023-12-09 14:58 Michał Górny
2023-11-22 14:30 Michał Górny
2023-11-22 13:11 Arthur Zamarin
2023-11-19 7:47 Michał Górny
2023-10-24 5:58 Michał Górny
2023-10-23 18:50 Sam James
2023-10-22 19:14 Michał Górny
2023-09-18 14:00 Michał Górny
2023-07-10 1:34 Michał Górny
2023-07-09 18:24 Arthur Zamarin
2023-06-26 4:51 Michał Górny
2023-06-08 6:55 Michał Górny
2023-05-16 5:28 Michał Górny
2023-05-16 3:39 Sam James
2023-04-16 17:10 Michał Górny
2023-04-16 17:04 Arthur Zamarin
2023-04-15 19:39 Michał Górny
2023-03-14 16:57 Michał Górny
2023-02-21 8:00 Michał Górny
2023-02-20 23:28 Sam James
2023-01-17 5:08 Michał Górny
2023-01-15 8:29 Michał Górny
2023-01-15 7:51 Joonas Niilola
2023-01-14 4:57 Michał Górny
2023-01-13 13:21 Michał Górny
2023-01-13 7:09 Michał Górny
2022-11-23 8:41 Michał Górny
2022-11-22 13:37 Joonas Niilola
2022-11-14 5:07 Michał Górny
2022-11-08 14:01 Michał Górny
2022-10-23 18:37 Arthur Zamarin
2022-10-12 20:53 Sam James
2022-10-12 20:53 Sam James
2022-10-12 20:44 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1715480947.41046439729d438183951b05a9a65daca9d9bade.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox