mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 15:14:38 +00:00
43 lines
1 KiB
Bash
43 lines
1 KiB
Bash
# 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
|
|
)
|