app-misc/ntfy: treeclean

mask is not enough to fix the sourcing problems, cleanup now instead

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2023-01-14 19:56:26 +01:00
parent a23df26463
commit 5d9a04ac6e
4 changed files with 0 additions and 68 deletions

View File

@@ -1 +0,0 @@
DIST ntfy-2.7.0.tar.gz 1837670 BLAKE2B 3bff167eb9ede624d5a92170c7d1f36ef075f64126a4080172a5b3cd517d2ed77a2488ee03b102a5b8d67fb37c04b47a42fd3e88b319807d798bb2622afa78ae SHA512 fba9ba15ce3c4667e5f85c0435cb5eb6224e539c10d2d431f3af3c90d6164e3098ddcb5f7881cbaed92ab0b68d9d161b16a00de680e21c3d439429865fa2765a

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>davidroman96@gmail.com</email>
<name>David Roman</name>
</maintainer>
<use>
<flag name="dbus">Support for desktop notifications</flag>
<flag name="telegram">Add support for telegram backend</flag>
</use>
</pkgmetadata>

View File

@@ -1,54 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_8 )
DISTUTILS_USE_SETUPTOOLS=rdepend
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="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}]
)
"
python_prepare_all() {
# Sleekxmpp no longer in repo
rm tests/test_xmpp.py || die
sed -i -e 's:test_xmpp:_&:' \
tests/test_integration.py || die
distutils-r1_python_prepare_all
}
distutils_enable_tests pytest
distutils_enable_sphinx docs