Gentoo Archives: gentoo-commits

From: Daniel Pielmeier <billie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/notify2/
Date: Fri, 25 Sep 2020 12:56:31
Message-Id: 1601038563.3d6a57aace91acaada1cf279edb1fa64efc70357.billie@gentoo
1 commit: 3d6a57aace91acaada1cf279edb1fa64efc70357
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 25 12:56:03 2020 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 12:56:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d6a57aa
7
8 dev-python/notify2: Add python 3.9 support.
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>
12
13 dev-python/notify2/notify2-0.3.1-r2.ebuild | 33 ++++++++++++++++++++++++++++++
14 1 file changed, 33 insertions(+)
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 new file mode 100644
18 index 00000000000..9343d56739d
19 --- /dev/null
20 +++ b/dev-python/notify2/notify2-0.3.1-r2.ebuild
21 @@ -0,0 +1,33 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +
27 +DISTUTILS_USE_SETUPTOOLS=no
28 +PYTHON_COMPAT=( python3_{6,7,8,9} )
29 +
30 +inherit distutils-r1 virtualx
31 +
32 +DESCRIPTION="Python interface to DBus notifications."
33 +HOMEPAGE="https://bitbucket.org/takluyver/pynotify2"
34 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
35 +
36 +LICENSE="BSD"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
39 +IUSE="examples"
40 +
41 +RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]"
42 +BDEPEND="test? ( sys-apps/dbus[X] )"
43 +
44 +python_test() {
45 + virtx ${EPYTHON} test_notify2.py
46 +}
47 +
48 +python_install_all() {
49 + if use examples; then
50 + insinto /usr/share/doc/${PF}/examples
51 + doins examples/*
52 + fi
53 + distutils-r1_python_install_all
54 +}