diff options
Diffstat (limited to 'dev-python/mss')
-rw-r--r-- | dev-python/mss/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mss/mss-7.0.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest index 22fc597d6ba5..1d599987baf8 100644 --- a/dev-python/mss/Manifest +++ b/dev-python/mss/Manifest @@ -1 +1,2 @@ DIST mss-6.1.0.tar.gz 90421 BLAKE2B c99bc7a1950215402cc4fe3b512951a723fa1f5ffd8ab747fc29ed8d4e51f786ef84b69e3ef2238d7cf9d6ebb5765dcdb4d1d3cc3e9a2caf66cd658fa6753f5f SHA512 2b84fec6e162480cb608c0ff605f528f3122c8397a81bb0cb6cf9223cdf097a633ea2e29a95925297439dc038a0be4cc628d3455827a8548cb3d8e62cd68d9d7 +DIST python-mss-7.0.0.gh.tar.gz 90978 BLAKE2B 87632f3001192f0656420384c0405676875913ce1a3442ec7ad72a6052c74b4cd08c4b1b34f9aa11353ef93c5d07cb1b9b8dbc9e6ffbe288f17e23bcbd3139b4 SHA512 fe196a7d830d73440f9f5b0b146a1620218e6bcae22c64188a15ac067d006682d8975831e1179c18c44f8ba754441e51634e796502c7a25885b03ea34c8eb4a9 diff --git a/dev-python/mss/mss-7.0.0.ebuild b/dev-python/mss/mss-7.0.0.ebuild new file mode 100644 index 000000000000..7757ba909e7a --- /dev/null +++ b/dev-python/mss/mss-7.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 virtualx + +MY_P=python-${P} +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/ +" +SRC_URI=" + https://github.com/BoboTiG/python-mss/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + sys-process/lsof + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme + +EPYTEST_DESELECT=( + # upstream tests for self-build, apparently broken by setuptools + # issuing deprecation warnings + mss/tests/test_setup.py +) + +src_test() { + virtx distutils-r1_src_test +} |