mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
app-misc/ntfy: new package
Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
45
app-misc/ntfy/ntfy-2.7.0.ebuild
Normal file
45
app-misc/ntfy/ntfy-2.7.0.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A utility for sending notifications, on demand and when commands finish."
|
||||
HOMEPAGE="https://github.com/dschep/ntfy"
|
||||
SRC_URI="https://github.com/dschep/ntfy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="test telegram dbus"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/appdirs[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
|
||||
dbus? (
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
virtual/notification-daemon
|
||||
)
|
||||
|
||||
telegram? (
|
||||
app-misc/telegram-send[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/emoji[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/sleekxmpp[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
esetup.py test || die
|
||||
}
|
||||
Reference in New Issue
Block a user