diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-10 07:29:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-10 07:30:14 +0200 |
commit | 153835a82a6fe168576974e325076a3fc0f28b4b (patch) | |
tree | bc98bebd19e48ed77dd9349b0944dc1179011c0f /dev-python/mss | |
parent | dev-python/jaraco-path: Bump to 3.5.0 (diff) | |
download | gentoo-153835a82a6fe168576974e325076a3fc0f28b4b.tar.gz gentoo-153835a82a6fe168576974e325076a3fc0f28b4b.tar.bz2 gentoo-153835a82a6fe168576974e325076a3fc0f28b4b.zip |
dev-python/mss: Bump to 8.0.2
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.2.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest index cdcec2228e9c..519646542c20 100644 --- a/dev-python/mss/Manifest +++ b/dev-python/mss/Manifest @@ -1 +1,2 @@ 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.2.ebuild b/dev-python/mss/mss-8.0.2.ebuild new file mode 100644 index 000000000000..9d89e72d18b8 --- /dev/null +++ b/dev-python/mss/mss-8.0.2.ebuild @@ -0,0 +1,52 @@ +# 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 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/ +" +# docs are missing in sdist, as of 8.0.2 +# https://github.com/BoboTiG/python-mss/pull/240 +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 ~arm ~arm64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + sys-process/lsof + ) +" + +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 +) + +src_prepare() { + sed -i -e '/--cov/d' setup.cfg || die + distutils-r1_src_prepare +} + +src_test() { + virtx distutils-r1_src_test +} |