From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1321840-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 54E16158092
	for <garchives@archives.gentoo.org>; Fri, 17 Sep 2021 19:58:03 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8F504E083D;
	Fri, 17 Sep 2021 19:58:02 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 73747E083D
	for <gentoo-commits@lists.gentoo.org>; Fri, 17 Sep 2021 19:58:02 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 48C0F3431FD
	for <gentoo-commits@lists.gentoo.org>; Fri, 17 Sep 2021 19:58:01 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F2B9DD5
	for <gentoo-commits@lists.gentoo.org>; Fri, 17 Sep 2021 19:57:59 +0000 (UTC)
From: "Arthur Zamarin" <arthurzam@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, "Arthur Zamarin" <arthurzam@gentoo.org>
Message-ID: <1631908656.2194e7be1ca49396ce0ea36734c8ea8d5c57e8ab.arthurzam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/notify2/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/notify2/notify2-0.3.1-r2.ebuild
X-VCS-Directories: dev-python/notify2/
X-VCS-Committer: arthurzam
X-VCS-Committer-Name: Arthur Zamarin
X-VCS-Revision: 2194e7be1ca49396ce0ea36734c8ea8d5c57e8ab
X-VCS-Branch: master
Date: Fri, 17 Sep 2021 19:57:59 +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: 8ff69a34-d7b0-4c2a-b840-0f42fda0c9ff
X-Archives-Hash: 5ab8cfeb747cdd8fbfd4d50b34e7077b

commit:     2194e7be1ca49396ce0ea36734c8ea8d5c57e8ab
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 17 19:57:30 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 17 19:57:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2194e7be

dev-python/notify2: enable py3.10, EAPI=8, fix test dep

Closes: https://bugs.gentoo.org/739522
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/notify2/notify2-0.3.1-r2.ebuild | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/dev-python/notify2/notify2-0.3.1-r2.ebuild b/dev-python/notify2/notify2-0.3.1-r2.ebuild
index 707efcbff8b..d21b0ee686b 100644
--- a/dev-python/notify2/notify2-0.3.1-r2.ebuild
+++ b/dev-python/notify2/notify2-0.3.1-r2.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 
@@ -18,10 +18,17 @@ KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
 IUSE="examples"
 
 RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]"
-DEPEND="test? ( sys-apps/dbus[X] )"
+BDEPEND="test? (
+	dev-python/pygobject[${PYTHON_USEDEP}]
+	sys-apps/dbus[X]
+	x11-libs/gdk-pixbuf[introspection]
+	virtual/notification-daemon
+)"
 
-python_test() {
-	virtx ${EPYTHON} test_notify2.py
+distutils_enable_tests unittest
+
+src_test() {
+	virtx distutils-r1_src_test
 }
 
 python_install_all() {