public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyscreenshot/
Date: Sun, 12 Mar 2023 13:18:41 +0000 (UTC)	[thread overview]
Message-ID: <1678627115.a86cb1b75a1a47b2d9b840be9f86202559b26531.mgorny@gentoo> (raw)

commit:     a86cb1b75a1a47b2d9b840be9f86202559b26531
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 12 13:14:40 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 13:18:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a86cb1b7

dev-python/pyscreenshot: Bump to 3.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyscreenshot/Manifest                |  1 +
 dev-python/pyscreenshot/pyscreenshot-3.1.ebuild | 58 +++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/pyscreenshot/Manifest b/dev-python/pyscreenshot/Manifest
index bb0442ae459b..4d03f8566f03 100644
--- a/dev-python/pyscreenshot/Manifest
+++ b/dev-python/pyscreenshot/Manifest
@@ -1 +1,2 @@
 DIST pyscreenshot-3.0.tar.gz 32865 BLAKE2B b39d338be4f1dc23fc30fe84a6f8ee6b6346761b023222438e8ff33e01beafc347d34118332efb053057c54383f5468e73049041889a6140a70c0f928c655661 SHA512 f8070941ade2bc710157238f47c9575df1504ef63152980b2bc0edd1f69c9ca4aeec3f738929de1c81a51fed79838053674626981ec61d95dafa7b9998004606
+DIST pyscreenshot-3.1.gh.tar.gz 36860 BLAKE2B fff930ad784da3e800d7c85bba2ea03db8f91011083b437f31c0d62037df9fa8921f9572d2271c258bdafa5d4c0b9d3ff93a7b8ab53db2cc24373f971fb6dc54 SHA512 9cbb58ddf2248548fb8b3519b41646e6f00d635ddaac69cc20a41b57e8693466c2b93947d72cf3a0caa0ee20f9d42f70587079a919b1c1d156212d6f942285ee

diff --git a/dev-python/pyscreenshot/pyscreenshot-3.1.ebuild b/dev-python/pyscreenshot/pyscreenshot-3.1.ebuild
new file mode 100644
index 000000000000..47b82756e769
--- /dev/null
+++ b/dev-python/pyscreenshot/pyscreenshot-3.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Python screenshot library"
+HOMEPAGE="
+	https://github.com/ponty/pyscreenshot/
+	https://pypi.org/project/pyscreenshot/
+"
+SRC_URI="
+	https://github.com/ponty/pyscreenshot/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+	dev-python/easyprocess[${PYTHON_USEDEP}]
+	dev-python/entrypoint2[${PYTHON_USEDEP}]
+	dev-python/jeepney[${PYTHON_USEDEP}]
+	dev-python/mss[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+	test? (
+		dev-python/pillow[${PYTHON_USEDEP}]
+		dev-python/python-xlib[${PYTHON_USEDEP}]
+		dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
+		media-gfx/imagemagick
+		media-gfx/pqiv
+		x11-apps/xdpyinfo
+	)
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+	virtx distutils-r1_src_test
+}
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		tests/test_check.py::test_speedtest
+	)
+
+	# skip GNOME/KDE tests that require D-BUS
+	local -x XDG_CURRENT_DESKTOP=none
+	# nonfatal is already implied by virtx, make it explicit though
+	nonfatal epytest || die "Tests failed with ${EPYTHON}"
+}


             reply	other threads:[~2023-03-12 13:18 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-12 13:18 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-07 15:36 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyscreenshot/ Michał Górny
2023-11-24 16:43 Arthur Zamarin
2023-07-23  8:03 Michał Górny
2023-04-22 16:24 Michał Górny
2023-04-22 11:52 Sam James
2023-04-09 20:40 Andrew Ammerlaan
2023-03-13 22:16 Sam James
2023-03-13 15:14 Michał Górny
2022-10-29 19:43 Sam James
2022-09-09 22:38 Jakov Smolić
2022-07-03 11:14 Michał Górny
2022-07-03 10:48 Agostino Sarubbo
2022-06-01 10:55 Andrew Ammerlaan
2021-10-19  0:12 Sam James
2021-09-14 13:58 Arthur Zamarin
2021-09-14 13:58 Arthur Zamarin
2021-05-26  8:36 Michał Górny
2021-05-16 23:40 Sam James
2021-04-19  8:23 Michał Górny
2021-04-19  7:23 Michał Górny
2021-04-19  7:23 Michał Górny
2021-04-09 11:49 Joonas Niilola
2021-03-11  7:18 Joonas Niilola
2020-11-13  8:08 Joonas Niilola
2020-11-12 22:54 Thomas Deutschmann
2020-09-15  8:09 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1678627115.a86cb1b75a1a47b2d9b840be9f86202559b26531.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox