diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-19 07:32:33 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-19 07:56:00 +0200 |
commit | 82a4c9f79de5f273eee090df02dc4381efe17ae7 (patch) | |
tree | 098c2bb0bc2842eaacd51516dd3546a84c3d537d /dev-python | |
parent | dev-python/awxkit: Bump to 22.1.0 (diff) | |
download | gentoo-82a4c9f79de5f273eee090df02dc4381efe17ae7.tar.gz gentoo-82a4c9f79de5f273eee090df02dc4381efe17ae7.tar.bz2 gentoo-82a4c9f79de5f273eee090df02dc4381efe17ae7.zip |
dev-python/mss: Bump to 9.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/mss/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mss/mss-9.0.0.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest index 980a5d15b90b..eadd8d25307f 100644 --- a/dev-python/mss/Manifest +++ b/dev-python/mss/Manifest @@ -1,3 +1,4 @@ DIST mss-8.0.3.tar.gz 87005 BLAKE2B de2a6da2b9232a14c460167fd721028684b580a9f57c13b90d101e644f73055c0d10afa727e6cb21b522634b7f2f1f3c657b5823a506723d3c7621c65d174ce7 SHA512 0397f4bc96e5fe4a8935a81ba63ab2e2d6cc20876fd156350a4bfa9ac0e928e357857729c9231c6ead5f091349f7f1b51fdb3d772621bf2dc799c5ca60f28b21 +DIST mss-9.0.0.tar.gz 87286 BLAKE2B 895d06afe334649f5ba3bfb6872dfe4e0d04bbfdc88cd7fd54a986566fc4696b09c257c3f53c3ddb9467ce9d248e5dc533b806da63813180d8f1475c78035968 SHA512 2a1d0c522f8ab8023df61ccbe70b8a644474ba91775b1450522dd265ce544c1d04bf855b1ee1ddb5dff7d82229394447ae1eac359ec499c7afaf70e35321bdec DIST python-mss-7.0.1.gh.tar.gz 91121 BLAKE2B 67061500cf751b76d8507b164f17caa028261a5a52107603249cab4634205c52518231e0038428cce7a219effcf07a951056ae44a09cbc2dc01f10aed984db6a SHA512 efdbfc94a1218842db109e2dbd0659bb426a958050c9a3dc5802f018727bcbfeb3ca8dec6bdec914c894f4153cbd1994cd3ad976435407b271d127e957b1fda6 DIST python-mss-8.0.2.gh.tar.gz 84555 BLAKE2B 6ba192a08a03a18aef8d2a749e363fb59fadbaf2a6c7c3368f6b23b1d2ad41d63ea4dffbc3e978315fdc7a8f5a774c1385ca8209fb94b2b00734126774b2d8c5 SHA512 6c43d608743dbd2ee25a94007ff54d9f3b984c9e9d2932191ea2d9ed3c64e3a969ee09b6ff0fb6a36dc3da3b3c26a9a0624f8f84556801902d6716e9a8236ecb diff --git a/dev-python/mss/mss-9.0.0.ebuild b/dev-python/mss/mss-9.0.0.ebuild new file mode 100644 index 000000000000..5f9998b05e09 --- /dev/null +++ b/dev-python/mss/mss-9.0.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +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 + +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() { + sed -i -e '/--cov/d' setup.cfg || die + distutils-r1_src_prepare +} + +src_test() { + virtx distutils-r1_src_test +} |