From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3CAF2138350 for ; Fri, 13 Mar 2020 00:57:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B69AE092A; Fri, 13 Mar 2020 00:57:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 068C8E092A for ; Fri, 13 Mar 2020 00:57:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5962734EE05 for ; Fri, 13 Mar 2020 00:57:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 588FF101 for ; Fri, 13 Mar 2020 00:57:00 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1584061008.d5e4e44676f7e45190285a796f4a79da02cff5ee.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/ntfy/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/ntfy/Manifest app-misc/ntfy/metadata.xml app-misc/ntfy/ntfy-2.7.0.ebuild X-VCS-Directories: app-misc/ntfy/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: d5e4e44676f7e45190285a796f4a79da02cff5ee X-VCS-Branch: dev Date: Fri, 13 Mar 2020 00:57:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 09e77bd1-cb68-4a55-a2e3-ae169041135e X-Archives-Hash: 909127a26049fe6a051ba88560fc7614 commit: d5e4e44676f7e45190285a796f4a79da02cff5ee Author: David Roman gmail com> AuthorDate: Fri Mar 13 00:56:48 2020 +0000 Commit: David Roman gmail com> CommitDate: Fri Mar 13 00:56:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5e4e446 app-misc/ntfy: new package Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: David Roman gmail.com> app-misc/ntfy/Manifest | 1 + app-misc/ntfy/metadata.xml | 12 +++++++++++ app-misc/ntfy/ntfy-2.7.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) diff --git a/app-misc/ntfy/Manifest b/app-misc/ntfy/Manifest new file mode 100644 index 0000000..69530a5 --- /dev/null +++ b/app-misc/ntfy/Manifest @@ -0,0 +1 @@ +DIST ntfy-2.7.0.tar.gz 1837670 BLAKE2B 3bff167eb9ede624d5a92170c7d1f36ef075f64126a4080172a5b3cd517d2ed77a2488ee03b102a5b8d67fb37c04b47a42fd3e88b319807d798bb2622afa78ae SHA512 fba9ba15ce3c4667e5f85c0435cb5eb6224e539c10d2d431f3af3c90d6164e3098ddcb5f7881cbaed92ab0b68d9d161b16a00de680e21c3d439429865fa2765a diff --git a/app-misc/ntfy/metadata.xml b/app-misc/ntfy/metadata.xml new file mode 100644 index 0000000..82eab7b --- /dev/null +++ b/app-misc/ntfy/metadata.xml @@ -0,0 +1,12 @@ + + + + + davidroman96@gmail.com + David Roman + + + Support for desktop notifications + Add support for telegram backend + + diff --git a/app-misc/ntfy/ntfy-2.7.0.ebuild b/app-misc/ntfy/ntfy-2.7.0.ebuild new file mode 100644 index 0000000..9d9c388 --- /dev/null +++ b/app-misc/ntfy/ntfy-2.7.0.ebuild @@ -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 +}