Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/notify2/
Date: Fri, 17 Sep 2021 19:58:03
Message-Id: 1631908656.2194e7be1ca49396ce0ea36734c8ea8d5c57e8ab.arthurzam@gentoo
1 commit: 2194e7be1ca49396ce0ea36734c8ea8d5c57e8ab
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 17 19:57:30 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 17 19:57:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2194e7be
7
8 dev-python/notify2: enable py3.10, EAPI=8, fix test dep
9
10 Closes: https://bugs.gentoo.org/739522
11 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
12
13 dev-python/notify2/notify2-0.3.1-r2.ebuild | 17 ++++++++++++-----
14 1 file changed, 12 insertions(+), 5 deletions(-)
15
16 diff --git a/dev-python/notify2/notify2-0.3.1-r2.ebuild b/dev-python/notify2/notify2-0.3.1-r2.ebuild
17 index 707efcbff8b..d21b0ee686b 100644
18 --- a/dev-python/notify2/notify2-0.3.1-r2.ebuild
19 +++ b/dev-python/notify2/notify2-0.3.1-r2.ebuild
20 @@ -1,10 +1,10 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 +EAPI=8
26
27 DISTUTILS_USE_SETUPTOOLS=no
28 -PYTHON_COMPAT=( python3_{7,8,9} )
29 +PYTHON_COMPAT=( python3_{8..10} )
30
31 inherit distutils-r1 virtualx
32
33 @@ -18,10 +18,17 @@ KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
34 IUSE="examples"
35
36 RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]"
37 -DEPEND="test? ( sys-apps/dbus[X] )"
38 +BDEPEND="test? (
39 + dev-python/pygobject[${PYTHON_USEDEP}]
40 + sys-apps/dbus[X]
41 + x11-libs/gdk-pixbuf[introspection]
42 + virtual/notification-daemon
43 +)"
44
45 -python_test() {
46 - virtx ${EPYTHON} test_notify2.py
47 +distutils_enable_tests unittest
48 +
49 +src_test() {
50 + virtx distutils-r1_src_test
51 }
52
53 python_install_all() {