summaryrefslogtreecommitdiff
path: root/dev-python/mss
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-16 03:02:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-16 03:02:52 +0000
commitb0735771a80a647a2ea5a03a87d5873d175bd744 (patch)
treeaed120d0dfeab57cb7f38b7a5d186b1c53ae10cd /dev-python/mss
parent57d1fe5ae0c56e604db5d29bf7b62d685c42e043 (diff)
gentoo auto-resync : 16:11:2024 - 03:02:52
Diffstat (limited to 'dev-python/mss')
-rw-r--r--dev-python/mss/Manifest2
-rw-r--r--dev-python/mss/mss-10.0.0.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest
index afafcbc6785a..86ab1786c906 100644
--- a/dev-python/mss/Manifest
+++ b/dev-python/mss/Manifest
@@ -1,3 +1,5 @@
+DIST mss-10.0.0.tar.gz 83127 BLAKE2B fb015e02fb80320ba6ad8b612fd675d6ca3b15560fc3413426e1a9a569eca57794fb69289dd6a97ff681e3674448176e022a900b8c565299cb6133b92510d47f SHA512 f2ed2fcd927e51a90facd3f7eefa56e745ed5ccb04fcf46f66f3ad969dc2d5f28d87887950cdd1f552e36250376e4cd77d6c65607848f7768e952319c6197bdc
DIST mss-9.0.2.tar.gz 82514 BLAKE2B 9f5bec89fbe2405265070f5be03fe55ed496dddb6f28493ae2b88f131c6a6b2ed8c65969cf4b7b4256b492c8bc321e1548e5f355d802084880ff32e1eb9fcd28 SHA512 b4a9a6dd97810eb56d91c9ba65ac5e628c554e2cd038e830d87e583aa35cecf19cce337e61da814f10f8278017dca758c92c18220167f3660e322a7fba05488c
+EBUILD mss-10.0.0.ebuild 1154 BLAKE2B fb32c010aac7b7d910873e428eb0e0be404ff482bf25dbc3b5f53850176090c8b694d5e7147ffa592119170e371711584583ede8dd218484b7bbae2981580e37 SHA512 8fb87c30c05b2872bf31aa4033c9e6c546359128ee651cc21275d543e58564edcef7f13d47c83039f576e35e3c45c08d0167750de70f61d4affd70cb626b31bc
EBUILD mss-9.0.2.ebuild 1317 BLAKE2B bb9eeb5aad6b2ba1d5120dc51c3519dca641bd67d932109cb769e9b41fe1afd98e04c7bf50db70db094c8e61fe4bc9b734bb53128be3c18933b0f28eaebb2158 SHA512 fbc7bf087287ef7beb88dafa19f7fc8f24e621732c6081b5fb725b9e239a522ff2997e75c028633c2753a33cb16f636f05838b0578ab598d6573b1f222f01a20
MISC metadata.xml 389 BLAKE2B 0bf17290bb77ee34c59b8db547365e13ad284fbbd8468078995ac891450453a15920e188d75b9f8aed14319ce211aa968d10d0d38c7347a9c5269431bf290f6a SHA512 468c7ff3a88f5d8b2efa646572ce29b45a4b2bc1bdb1a7f1cdaa841b369caa53e5a3d8fafb01b310505d50d9d12b8a725a5c9e926de15bd377ea07342a681182
diff --git a/dev-python/mss/mss-10.0.0.ebuild b/dev-python/mss/mss-10.0.0.ebuild
new file mode 100644
index 000000000000..4582ea7ea7aa
--- /dev/null
+++ b/dev-python/mss/mss-10.0.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi virtualx
+
+DESCRIPTION="An ultra fast cross-platform multiple screenshots module in python using ctypes"
+HOMEPAGE="
+ https://github.com/BoboTiG/python-mss/
+ https://pypi.org/project/mss/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+ dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme
+
+src_prepare() {
+ distutils-r1_src_prepare
+ sed -i -e '/--cov/d' pyproject.toml || die
+}
+
+src_test() {
+ virtx distutils-r1_src_test
+}
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # upstream tests for self-build, apparently broken by setuptools
+ # issuing deprecation warnings
+ src/tests/test_setup.py
+ )
+
+ local EPYTEST_DESELECT=(
+ # unreliable `lsof -U | grep ...` tests
+ src/tests/test_leaks.py
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p rerunfailures
+}