diff options
author | Matt Jolly <Matt.Jolly@footclan.ninja> | 2022-09-28 23:07:44 +1000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-12 21:44:19 +0100 |
commit | 88eeee24b6a6df861897cada4615e2ecc8a2e7ce (patch) | |
tree | c927776b3785a8232a172e5384b560a969802564 | |
parent | dev-python/python-box: new package, add 6.0.2 (diff) | |
download | gentoo-88eeee24b6a6df861897cada4615e2ecc8a2e7ce.tar.gz gentoo-88eeee24b6a6df861897cada4615e2ecc8a2e7ce.tar.bz2 gentoo-88eeee24b6a6df861897cada4615e2ecc8a2e7ce.zip |
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>
-rw-r--r-- | dev-python/tavern/Manifest | 1 | ||||
-rw-r--r-- | dev-python/tavern/metadata.xml | 20 | ||||
-rw-r--r-- | dev-python/tavern/tavern-1.23.3.ebuild | 40 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest new file mode 100644 index 000000000000..81fe25ec877d --- /dev/null +++ b/dev-python/tavern/Manifest @@ -0,0 +1 @@ +DIST tavern-1.23.3.gh.tar.gz 162529 BLAKE2B cf4cb24b4e298b86917fc522a2b7b7da3fccb6d4efddeb53d45ee949273e66a0135a0dabb887a1cf1eec9a6429b3ac1eaaa01ef955e08eea452fb7eff2f9d994 SHA512 0a4e9bfde9b31e1b488ef022e73614c6f93c71837f813b76f98e02c69a71b05c3aad92b78d887764d4c9f6fbfc929b3cafc6b2e26a47618a81fcd00d5a6ad0d9 diff --git a/dev-python/tavern/metadata.xml b/dev-python/tavern/metadata.xml new file mode 100644 index 000000000000..8f87429466d9 --- /dev/null +++ b/dev-python/tavern/metadata.xml @@ -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> diff --git a/dev-python/tavern/tavern-1.23.3.ebuild b/dev-python/tavern/tavern-1.23.3.ebuild new file mode 100644 index 000000000000..2e586ac10311 --- /dev/null +++ b/dev-python/tavern/tavern-1.23.3.ebuild @@ -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 |