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() {
