dev-python/mss: Bump to 10.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-24 04:51:19 +02:00
parent 12e9eeb8d3
commit bbd6f9ab2e
2 changed files with 49 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST mss-10.1.0.tar.gz 84200 BLAKE2B f19a09e2429fc3bed358587680d589578536809055247b81a4bb2b0e9fd86ec531c849b3ad360e6612a08c3c70e29812febbd9650fc2b7ab98315d462077ce1f SHA512 4653881086d32906b88a83674feedfd995b8ad7637fcaf3eecd0a868537c9b2e94aa550ea4bcbfa813f599621cc697a32625ba145f061e994e166ff1501ee204
DIST mss-10.2.0.tar.gz 200317 BLAKE2B d644ca74474342453c5bfa98773ed90ca35539f17d5ac835053228de92ed741672ee4296d0a8100a83e3ce8ede31f18e5da5d8f078d05656028e6f25a84cd70a SHA512 80ca4ffb85cce9e551ac5c69136ae3d7bb1b836c68bae68c8ff07a9b3f707eb9ccb7e3b9b2ef19aa4f6713aa899e2b35c4a65ad869f89f9411b52c9a837e07f8

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..14} )
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/pyvirtualdisplay[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-rerunfailures )
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# upstream tests for self-build, apparently broken by setuptools
# issuing deprecation warnings
src/tests/test_setup.py
)
EPYTEST_DESELECT=(
# unreliable `lsof -U | grep ...` tests
src/tests/test_leaks.py
)
src_prepare() {
distutils-r1_src_prepare
sed -i -e '/--cov/d' pyproject.toml || die
}
src_test() {
virtx distutils-r1_src_test
}