From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1259561-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C787613835A for <garchives@archives.gentoo.org>; Thu, 11 Mar 2021 07:18:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1222E0903; Thu, 11 Mar 2021 07:18:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89567E0903 for <gentoo-commits@lists.gentoo.org>; Thu, 11 Mar 2021 07:18:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94D7433BEC2 for <gentoo-commits@lists.gentoo.org>; Thu, 11 Mar 2021 07:18:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F31A592 for <gentoo-commits@lists.gentoo.org>; Thu, 11 Mar 2021 07:18:31 +0000 (UTC) From: "Joonas Niilola" <juippis@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org> Message-ID: <1615447043.1abc7b11f32e691ee1579a4b3b0f611c1b65969d.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyscreenshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyscreenshot/Manifest dev-python/pyscreenshot/pyscreenshot-2.3.ebuild X-VCS-Directories: dev-python/pyscreenshot/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 1abc7b11f32e691ee1579a4b3b0f611c1b65969d X-VCS-Branch: master Date: Thu, 11 Mar 2021 07:18:31 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ac62fa22-76b6-4749-bac9-4d1262ad01a0 X-Archives-Hash: cd5269f06e04896117d77824d5438246 commit: 1abc7b11f32e691ee1579a4b3b0f611c1b65969d Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Mon Jan 25 19:31:17 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Mar 11 07:17:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1abc7b11 dev-python/pyscreenshot: add version 2.3 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-python/pyscreenshot/Manifest | 1 + dev-python/pyscreenshot/pyscreenshot-2.3.ebuild | 47 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/pyscreenshot/Manifest b/dev-python/pyscreenshot/Manifest index a2135f89123..da0d2432bad 100644 --- a/dev-python/pyscreenshot/Manifest +++ b/dev-python/pyscreenshot/Manifest @@ -1 +1,2 @@ DIST pyscreenshot-2.2.tar.gz 29726 BLAKE2B d1e314be360d4716b35b4302de82010dfc9a97212b3f4472b42e40f9470fd0575fe8f0ceb976adfe13059c0566413414e03f78189d4afa193d88a0aaf4c5c26e SHA512 6689ccbcd5c6164aeb12d911ee93c8958f6c6b5aaba5ba7d4073ee855e6398180ed27fce6299480b18b3d7ffad12cd17694c3db1f1c7373d4b25be0073d49338 +DIST pyscreenshot-2.3.tar.gz 34543 BLAKE2B a9ae6fc51ac62efabca7e9b4e08ee8ee05d778a3f8ea0bfaec5f0958bea7f6dd266e18a938350aac6fa1058fdb378cfa69cf6c5490768c39d7312be51e3d2630 SHA512 6919e4529a932b9a6e3dd28d60c628447b0e6f25df567db742b5bf14455373ad7340237bb4b77696c436be6f31211030b206d7152f4b61d16d6745f439f84425 diff --git a/dev-python/pyscreenshot/pyscreenshot-2.3.ebuild b/dev-python/pyscreenshot/pyscreenshot-2.3.ebuild new file mode 100644 index 00000000000..04cec4abf98 --- /dev/null +++ b/dev-python/pyscreenshot/pyscreenshot-2.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Python screenshot library" +HOMEPAGE="https://github.com/ponty/pyscreenshot" +SRC_URI="https://github.com/ponty/pyscreenshot/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] + media-gfx/imagemagick + media-gfx/pqiv + kde-apps/gwenview + x11-apps/xdpyinfo +)" + +DEPEND=" + dev-python/easyprocess[${PYTHON_USEDEP}] + dev-python/entrypoint2[${PYTHON_USEDEP}] + dev-python/jeepney[${PYTHON_USEDEP}] + dev-python/mss[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Needs access to dbus + sed -i -e 's:test_kwin_dbus:_&:' \ + tests/test_kwin_dbus.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + virtx pytest -vv +}