diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-08-17 18:28:05 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-09-15 11:09:18 +0300 |
commit | 0a39e7986b6e3dd1f7c2b841d844f6710b682da3 (patch) | |
tree | a76115aca368b8952f494e380ad81d7b12ef6687 /dev-python/mss | |
parent | dev-python/easyprocess: Easy to use Python subprocess interface (diff) | |
download | gentoo-0a39e7986b6e3dd1f7c2b841d844f6710b682da3.tar.gz gentoo-0a39e7986b6e3dd1f7c2b841d844f6710b682da3.tar.bz2 gentoo-0a39e7986b6e3dd1f7c2b841d844f6710b682da3.zip |
dev-python/mss: A python screenshot lib
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/mss')
-rw-r--r-- | dev-python/mss/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mss/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/mss/mss-6.0.0.ebuild | 31 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest new file mode 100644 index 000000000000..817cd32adac2 --- /dev/null +++ b/dev-python/mss/Manifest @@ -0,0 +1 @@ +DIST mss-6.0.0.tar.gz 90010 BLAKE2B 0e4f0a2dbd720d83c496dc3fe618a2fa8057c378426a5b758ccaa931a819a354732d6ec6d220ec02292d08ddc111bbccf89676f32bd124ba084dbf5e4d1287ed SHA512 751fda0fd988ff14e80d7a8bb35c3ae9101a85f4e37dc297b6fc8ac23f7484faf19b07424081183157c7617c95a41f31f74f2dee0ff3bcc8d6bf1a699732af6d diff --git a/dev-python/mss/metadata.xml b/dev-python/mss/metadata.xml new file mode 100644 index 000000000000..d22e99d73577 --- /dev/null +++ b/dev-python/mss/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/mss/mss-6.0.0.ebuild b/dev-python/mss/mss-6.0.0.ebuild new file mode 100644 index 000000000000..b010f45a9639 --- /dev/null +++ b/dev-python/mss/mss-6.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 virtualx + +DESCRIPTION="An ultra fast cross-platform multiple screenshots module in python using ctypes" +HOMEPAGE="https://github.com/BoboTiG/python-mss" +SRC_URI="https://github.com/BoboTiG/python-mss/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/python-${PN}-${PV}" + +BDEPEND="test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme + +python_test() { + virtx pytest -vv +} |