Gentoo Archives: gentoo-commits

From: Viorel Munteanu <ceamac.paragon@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/desktop-notifier/files/, dev-python/desktop-notifier/
Date: Tue, 01 Mar 2022 19:26:34
Message-Id: 1646162782.5000b1df9feb59fb2fbdd7858b7ebab5d85595c8.viorel_munteanu@gentoo
1 commit: 5000b1df9feb59fb2fbdd7858b7ebab5d85595c8
2 Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 1 19:26:22 2022 +0000
4 Commit: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
5 CommitDate: Tue Mar 1 19:26:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5000b1df
7
8 dev-python/desktop-notifier: add 3.3.3
9
10 Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
11
12 dev-python/desktop-notifier/Manifest | 1 +
13 .../desktop-notifier/desktop-notifier-3.3.3.ebuild | 34 ++++++++++++++++++++++
14 .../desktop-notifier-3.3.3-resources-png.patch | 15 ++++++++++
15 3 files changed, 50 insertions(+)
16
17 diff --git a/dev-python/desktop-notifier/Manifest b/dev-python/desktop-notifier/Manifest
18 index 25ed24757..8cf57889d 100644
19 --- a/dev-python/desktop-notifier/Manifest
20 +++ b/dev-python/desktop-notifier/Manifest
21 @@ -1 +1,2 @@
22 DIST desktop-notifier-3.3.2.tar.gz 4595234 BLAKE2B c53383b8f15c36acb21a77695b8a76e782f912078ba7c5946fe55c2e8c3c950ece7581a81a69dbee12553be7155364c9165336d7f2b814ccb0e3076dc082cf85 SHA512 d93825ea4880428e9eb41f0adff27e963ebeae23aa5cdc8c77e4a60aecee69aa1448f9aca8b12520597b52df531580e29e3458c2ea7b4f2e60eda68de5dfbe9f
23 +DIST desktop-notifier-3.3.3.tar.gz 4595797 BLAKE2B e27f6927d67603d20ab3729ddbd436d75110a97cb82d3db80e4229c8e297803783f9b4f3212b284f83989778354600fc7efe553b20a66cc6ea3d8eccafc00466 SHA512 a0b9dbd50b53380712529636df949621a418f58f06ad97251b22f744f0dfbb47ef0d5697fc279fa49b085f653494dc6acc18a6531752b6a288831b9c05e4a241
24
25 diff --git a/dev-python/desktop-notifier/desktop-notifier-3.3.3.ebuild b/dev-python/desktop-notifier/desktop-notifier-3.3.3.ebuild
26 new file mode 100644
27 index 000000000..14d30b9e2
28 --- /dev/null
29 +++ b/dev-python/desktop-notifier/desktop-notifier-3.3.3.ebuild
30 @@ -0,0 +1,34 @@
31 +# Copyright 2021-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +DISTUTILS_USE_PEP517=setuptools
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="desktop-notifier is a Python library for cross-platform desktop notifications"
42 +HOMEPAGE="
43 + https://desktop-notifier.readthedocs.io
44 + https://pypi.org/project/desktop-notifier
45 + https://github.com/samschott/desktop-notifier
46 +"
47 +SRC_URI="https://github.com/samschott/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +RDEPEND="
54 + dev-python/wheel[${PYTHON_USEDEP}]
55 + dev-python/packaging[${PYTHON_USEDEP}]
56 + dev-python/python-dbus-next[${PYTHON_USEDEP}]
57 + $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_8)
58 +"
59 +
60 +PATCHES=(
61 + "${FILESDIR}"/desktop-notifier-3.3.3-resources-png.patch
62 +)
63 +
64 +distutils_enable_sphinx docs
65
66 diff --git a/dev-python/desktop-notifier/files/desktop-notifier-3.3.3-resources-png.patch b/dev-python/desktop-notifier/files/desktop-notifier-3.3.3-resources-png.patch
67 new file mode 100644
68 index 000000000..55b43a654
69 --- /dev/null
70 +++ b/dev-python/desktop-notifier/files/desktop-notifier-3.3.3-resources-png.patch
71 @@ -0,0 +1,15 @@
72 +python.png went missing in the new build system
73 +
74 +--- a/setup.cfg
75 ++++ b/setup.cfg
76 +@@ -53,7 +53,9 @@
77 + sphinx_rtd_theme
78 +
79 + [options.package_data]
80 +-desktop_notifier = resources/*; py.typed
81 ++desktop_notifier =
82 ++ resources/*; py.typed
83 ++ resources/*.png
84 +
85 + [flake8]
86 + ignore = E203,E501,W503,H306