summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-09-03 18:45:22 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-09-03 18:45:29 -0700
commitd990b8600f1771056a7d84d3f5e37ff79138d457 (patch)
tree26850c6d66e03155e01f7ea4e57f801ded432cac /dev-python/pytest-salt-factories/pytest-salt-factories-0.92.0.ebuild
parentdev-perl/File-Copy-Recursive: keyword riscv (diff)
downloadgentoo-d990b8600f1771056a7d84d3f5e37ff79138d457.tar.gz
gentoo-d990b8600f1771056a7d84d3f5e37ff79138d457.tar.bz2
gentoo-d990b8600f1771056a7d84d3f5e37ff79138d457.zip
dev-python/pytest-salt-factories: New package
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/pytest-salt-factories/pytest-salt-factories-0.92.0.ebuild')
-rw-r--r--dev-python/pytest-salt-factories/pytest-salt-factories-0.92.0.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-0.92.0.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-0.92.0.ebuild
new file mode 100644
index 00000000000..371c83a76ec
--- /dev/null
+++ b/dev-python/pytest-salt-factories/pytest-salt-factories-0.92.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="The new generation of the pytest-salt Plugin"
+HOMEPAGE="https://github.com/saltstack/pytest-salt-factories"
+SRC_URI="https://github.com/saltstack/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-python/pytest-4.6.6[${PYTHON_USEDEP}]
+ dev-python/pytest-tempdir[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pyzmq[${PYTHON_USEDEP}]
+ dev-python/msgpack[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+ test? ( >=app-admin/salt-3000.0[${PYTHON_USEDEP}] )
+"
+
+# pytest just bombs
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/pytest-salt-factories-0.92.0-setup.patch"
+)
+
+distutils_enable_tests pytest