commit:     97b72fd5d6d3d7f44454c47688f0cca854dc3ef3
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri May 10 00:23:23 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri May 10 00:23:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97b72fd5

dev-util/prysk: add 0.20.0

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 dev-util/prysk/Manifest            |  1 +
 dev-util/prysk/prysk-0.20.0.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-util/prysk/Manifest b/dev-util/prysk/Manifest
index 790df769b8..8d3bbcd59c 100644
--- a/dev-util/prysk/Manifest
+++ b/dev-util/prysk/Manifest
@@ -1 +1,2 @@
 DIST prysk-0.19.0.gh.tar.gz 78659 BLAKE2B 
772c1e79e8db826435f8324c437769b0a149b33909b64459ea7a6d8db18e1d35bd76abe225b635eab654bb8a9bc21c3d6bac05ae8de631bf294a3ea293852794
 SHA512 
14b0ab8f0592833f32a168d8bfb7342f1339d34054ccb976ac89e17966c8728959d3a9f201bce3d992198118e3c5023e9fbaac6d2b7638bc0d16b57442a1f81c
+DIST prysk-0.20.0.gh.tar.gz 79409 BLAKE2B 
c44dab456ddf6ddda6b6a24bb1229e11b4edd6ffe43a71a53eb1577e1d99fba6234807e857b8a72318dfd9202a1449c3271dba95f59815bf79f400a1380865d8
 SHA512 
472dee2d42012bb33c9a6d0c63a03c08eb6adccdd6c194928ddca001c25c34cdfadc58df742a59c84a311b9ca2e1fce48622e7b172d3ee62a640b7f84d13ade9

diff --git a/dev-util/prysk/prysk-0.20.0.ebuild 
b/dev-util/prysk/prysk-0.20.0.ebuild
new file mode 100644
index 0000000000..964221966e
--- /dev/null
+++ b/dev-util/prysk/prysk-0.20.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+DISTUTILS_USE_PEP517=poetry
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="Functional testing framework for command line applications (cram 
fork)"
+HOMEPAGE="https://www.prysk.net/";
+# pypi doesn't includes tests
+SRC_URI="https://github.com/prysk/prysk/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+
+distutils_enable_tests pytest
+
+RDEPEND="
+       $(python_gen_cond_dep '>=dev-python/rich-13.3.1[${PYTHON_USEDEP}]')
+"
+
+DOCS=( README.rst docs examples )
+
+python_test() {
+       distutils-r1_python_test
+
+       "${EPYTHON}" -m prysk test/integration || die "Tests fail with 
${EPYTHON}"
+}

Reply via email to