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: Thu, 05 Sep 2019 17:10:22
Message-Id: 1567703332.8a851ac679b26f6b77d28c347f849eadcb215131.billie@gentoo
1 commit: 8a851ac679b26f6b77d28c347f849eadcb215131
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 5 17:08:52 2019 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 5 17:08:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a851ac6
7
8 dev-python/notify2: Revision bump to notify2-0.3.1-r1.
9
10 Add support for python-3.7. This fixes bug #693560.
11
12 Package-Manager: Portage-2.3.69, Repoman-2.3.16
13 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>
14
15 dev-python/notify2/notify2-0.3.1-r1.ebuild | 30 ++++++++++++++++++++++++++++++
16 1 file changed, 30 insertions(+)
17
18 diff --git a/dev-python/notify2/notify2-0.3.1-r1.ebuild b/dev-python/notify2/notify2-0.3.1-r1.ebuild
19 new file mode 100644
20 index 00000000000..d04e66c02b3
21 --- /dev/null
22 +++ b/dev-python/notify2/notify2-0.3.1-r1.ebuild
23 @@ -0,0 +1,30 @@
24 +# Copyright 1999-2019 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=6
28 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
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 ~ppc ~ppc64 ~x86"
39 +IUSE="examples"
40 +
41 +RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]"
42 +
43 +python_test() {
44 + virtx ${EPYTHON} test_notify2.py || die
45 +}
46 +
47 +python_install_all() {
48 + if use examples; then
49 + insinto /usr/share/doc/${PF}/examples
50 + doins examples/*
51 + fi
52 + distutils-r1_python_install_all
53 +}