summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-07-18 17:51:54 +0200
committerMichał Górny <mgorny@gentoo.org>2025-07-18 17:53:25 +0200
commitb2798dc19d37b74748031de09b444223675f3469 (patch)
tree4446a1b2a992aeb163da3f67285a143a2f81900f /dev-python
parent4ad6d884aa871d7e7f77f95d267cd1657973d523 (diff)
downloadgentoo-b2798dc19d37b74748031de09b444223675f3469.tar.gz
gentoo-b2798dc19d37b74748031de09b444223675f3469.tar.bz2
gentoo-b2798dc19d37b74748031de09b444223675f3469.zip
dev-python/pytest-services: Bump to 2.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pytest-services/Manifest1
-rw-r--r--dev-python/pytest-services/pytest-services-2.2.2.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/pytest-services/Manifest b/dev-python/pytest-services/Manifest
index 815ea17d6dc6..c7daa046ef66 100644
--- a/dev-python/pytest-services/Manifest
+++ b/dev-python/pytest-services/Manifest
@@ -1 +1,2 @@
DIST pytest-services-2.2.1.gh.tar.gz 21303 BLAKE2B 6f4b66b713ca4976eae61bf516bfecf13b8d6f56e03ae772ba9465e7c4c52b8d5ffa713b9441c73538a0b05665da7b7aa53d5f5da1626c6c208edf1c8239b1b1 SHA512 95d70431a7c3fa3b1602e6ad0e72975cecf5f0464e1bbc21d5b4eee6aefee52794c7b1d8dacf0681cc4cbb5ae7910075a7d0b3859647cc55298a2792489c4bfb
+DIST pytest-services-2.2.2.gh.tar.gz 21492 BLAKE2B f17e4f544a2a72c597290a94adbd86acf6b5110de126e3d43f99b96e924978893249fb90a83e23f814377cd86126bbdcd395f3cce0da935f783cee1cb473eece SHA512 d59c27e9b2041204425e1bbffceb6fa7ad5d19d3af062e24d67f5ddb464008a572ff539614405fa8134b5b4cd4605a067b20b912dcbdede9eca1dc5a544181e6
diff --git a/dev-python/pytest-services/pytest-services-2.2.2.ebuild b/dev-python/pytest-services/pytest-services-2.2.2.ebuild
new file mode 100644
index 000000000000..fff674a7ead8
--- /dev/null
+++ b/dev-python/pytest-services/pytest-services-2.2.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of fixtures and utility functions to run service processes for pytest"
+HOMEPAGE="
+ https://github.com/pytest-dev/pytest-services/
+ https://pypi.org/project/pytest-services/
+"
+SRC_URI="
+ https://github.com/pytest-dev/pytest-services/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/zc-lockfile[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pylibmc[${PYTHON_USEDEP}]
+ x11-base/xorg-server[xvfb]
+ net-misc/memcached
+ !!dev-python/pytest-salt
+ )
+"
+
+EPYTEST_PLUGINS=( "${PN}" )
+distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}/pytest-services-2.0.1-no-mysql.patch"
+ "${FILESDIR}/pytest-services-2.0.1-lockdir.patch"
+)
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}