summaryrefslogtreecommitdiff
path: root/dev-python/apprise/apprise-1.9.6.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/apprise/apprise-1.9.6.ebuild')
-rw-r--r--dev-python/apprise/apprise-1.9.6.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/apprise/apprise-1.9.6.ebuild b/dev-python/apprise/apprise-1.9.6.ebuild
new file mode 100644
index 000000000000..43e0d62db9e5
--- /dev/null
+++ b/dev-python/apprise/apprise-1.9.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Push Notifications that work with just about every platform"
+HOMEPAGE="
+ https://pypi.org/project/apprise/
+ https://github.com/caronc/apprise/
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
+IUSE="+dbus mqtt"
+
+RDEPEND="
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/requests-oauthlib[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ mqtt? ( dev-python/paho-mqtt[${PYTHON_USEDEP}] )
+"
+BDEPEND="
+ dev-python/babel[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=( pytest-mock )
+# xdist causes test failures
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # fails if pygobject is installed
+ # https://github.com/caronc/apprise/issues/1383
+ tests/test_plugin_glib.py::test_plugin_glib_send_raises_generic
+)