dev-python/desktop-notifier: add 3.3.3

Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
This commit is contained in:
Viorel Munteanu
2022-03-01 21:26:22 +02:00
parent 0fbfc7ecaa
commit 5000b1df9f
3 changed files with 50 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST desktop-notifier-3.3.2.tar.gz 4595234 BLAKE2B c53383b8f15c36acb21a77695b8a76e782f912078ba7c5946fe55c2e8c3c950ece7581a81a69dbee12553be7155364c9165336d7f2b814ccb0e3076dc082cf85 SHA512 d93825ea4880428e9eb41f0adff27e963ebeae23aa5cdc8c77e4a60aecee69aa1448f9aca8b12520597b52df531580e29e3458c2ea7b4f2e60eda68de5dfbe9f
DIST desktop-notifier-3.3.3.tar.gz 4595797 BLAKE2B e27f6927d67603d20ab3729ddbd436d75110a97cb82d3db80e4229c8e297803783f9b4f3212b284f83989778354600fc7efe553b20a66cc6ea3d8eccafc00466 SHA512 a0b9dbd50b53380712529636df949621a418f58f06ad97251b22f744f0dfbb47ef0d5697fc279fa49b085f653494dc6acc18a6531752b6a288831b9c05e4a241

View File

@@ -0,0 +1,34 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="desktop-notifier is a Python library for cross-platform desktop notifications"
HOMEPAGE="
https://desktop-notifier.readthedocs.io
https://pypi.org/project/desktop-notifier
https://github.com/samschott/desktop-notifier
"
SRC_URI="https://github.com/samschott/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/wheel[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/python-dbus-next[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_8)
"
PATCHES=(
"${FILESDIR}"/desktop-notifier-3.3.3-resources-png.patch
)
distutils_enable_sphinx docs

View File

@@ -0,0 +1,15 @@
python.png went missing in the new build system
--- a/setup.cfg
+++ b/setup.cfg
@@ -53,7 +53,9 @@
sphinx_rtd_theme
[options.package_data]
-desktop_notifier = resources/*; py.typed
+desktop_notifier =
+ resources/*; py.typed
+ resources/*.png
[flake8]
ignore = E203,E501,W503,H306