diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-15 08:01:29 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-15 10:23:24 +0200 |
commit | 7e287a6576f184cf52f4f5df2d8d71fc4a57343b (patch) | |
tree | 232b60abdb48fec853592dce61257e0b10c35df9 /dev-python/mss | |
parent | media-libs/libmp4v2: add 2.1.2 (diff) | |
download | gentoo-7e287a6576f184cf52f4f5df2d8d71fc4a57343b.tar.gz gentoo-7e287a6576f184cf52f4f5df2d8d71fc4a57343b.tar.bz2 gentoo-7e287a6576f184cf52f4f5df2d8d71fc4a57343b.zip |
dev-python/mss: Bump to 8.0.3
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-8.0.3.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest index 519646542c20..980a5d15b90b 100644 --- a/dev-python/mss/Manifest +++ b/dev-python/mss/Manifest @@ -1,2 +1,3 @@ +DIST mss-8.0.3.tar.gz 87005 BLAKE2B de2a6da2b9232a14c460167fd721028684b580a9f57c13b90d101e644f73055c0d10afa727e6cb21b522634b7f2f1f3c657b5823a506723d3c7621c65d174ce7 SHA512 0397f4bc96e5fe4a8935a81ba63ab2e2d6cc20876fd156350a4bfa9ac0e928e357857729c9231c6ead5f091349f7f1b51fdb3d772621bf2dc799c5ca60f28b21 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-8.0.3.ebuild b/dev-python/mss/mss-8.0.3.ebuild new file mode 100644 index 000000000000..46883a1b2162 --- /dev/null +++ b/dev-python/mss/mss-8.0.3.ebuild @@ -0,0 +1,48 @@ +# 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" +# test suite suddenly started segfaulting, TODO +KEYWORDS="" + +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 + mss/tests/test_setup.py +) + +EPYTEST_DESELECT=( + # unreliable `lsof -U | grep ...` tests + mss/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 +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |