dev-python/tavern: new package, add 1.23.3

Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Matt Jolly
2022-09-28 23:07:44 +10:00
committed by Sam James
parent 904bdeb05d
commit 88eeee24b6
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST tavern-1.23.3.gh.tar.gz 162529 BLAKE2B cf4cb24b4e298b86917fc522a2b7b7da3fccb6d4efddeb53d45ee949273e66a0135a0dabb887a1cf1eec9a6429b3ac1eaaa01ef955e08eea452fb7eff2f9d994 SHA512 0a4e9bfde9b31e1b488ef022e73614c6f93c71837f813b76f98e02c69a71b05c3aad92b78d887764d4c9f6fbfc929b3cafc6b2e26a47618a81fcd00d5a6ad0d9

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription>
A command-line tool and Python library and Pytest plugin for automated testing of RESTful APIs,
with a simple, concise and flexible YAML-based syntax.
</longdescription>
<maintainer type="person" proxied="yes">
<email>Matt.Jolly@footclan.ninja</email>
<name>Matt Jolly</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">taverntesting/tavern</remote-id>
<remote-id type="pypi">tavern</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs"
HOMEPAGE="https://github.com/taverntesting/tavern"
SRC_URI="https://github.com/taverntesting/tavern/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
$(python_gen_any_dep '
dev-python/jmespath[${PYTHON_USEDEP}]
dev-python/paho-mqtt[${PYTHON_USEDEP}]
dev-python/pyjwt[${PYTHON_USEDEP}]
dev-python/pykwalify[${PYTHON_USEDEP}]
dev-python/python-box[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/stevedore[${PYTHON_USEDEP}]
')"
BDEPEND="
test? (
$(python_gen_any_dep '
dev-python/colorlog[${PYTHON_USEDEP}]
dev-python/Faker[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
')
)
"
distutils_enable_tests pytest