diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-21 06:20:33 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-21 06:20:33 +0200 |
commit | b70e8771890959c58575535668cd00587ba99437 (patch) | |
tree | b2ed64e3714031143522f066b1407ae9204ae761 /dev-python/mss | |
parent | dev-python/ensurepip-setuptools: Bump to 67.7.0 (diff) | |
download | gentoo-b70e8771890959c58575535668cd00587ba99437.tar.gz gentoo-b70e8771890959c58575535668cd00587ba99437.tar.bz2 gentoo-b70e8771890959c58575535668cd00587ba99437.zip |
dev-python/mss: Bump to 9.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mss')
-rw-r--r-- | dev-python/mss/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mss/mss-9.0.1.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest index eadd8d25307f..fbc5241d9371 100644 --- a/dev-python/mss/Manifest +++ b/dev-python/mss/Manifest @@ -1,4 +1,5 @@ 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 mss-9.0.1.tar.gz 87504 BLAKE2B 445392b65b62e67802397e708781cbf1b3409303c68d863c4f44b0f32026b196faba1a6bb960110917ea6cf2b34b43d61d4e069fac6f6926af3e6a0b5fbab800 SHA512 22c4aa56eaf5d3c6ca752a8c966908b35256056a23f5f707d2ccd5acfbefecec6b6b8bff5d8c18024ef94f365a6ce1433aafddfdf9f7f30180af5dbd8a1f8eb7 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.1.ebuild b/dev-python/mss/mss-9.0.1.ebuild new file mode 100644 index 000000000000..5f9998b05e09 --- /dev/null +++ b/dev-python/mss/mss-9.0.1.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 +} |