* [gentoo-commits] repo/proj/guru:master commit in: app-misc/ntfy/
@ 2020-03-13 17:45 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2020-03-13 17:45 UTC (permalink / raw
To: gentoo-commits
commit: d5e4e44676f7e45190285a796f4a79da02cff5ee
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 13 00:56:48 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
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 <davidroman96 <AT> 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 @@
+<?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>
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
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/ntfy/
@ 2020-03-13 17:45 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2020-03-13 17:45 UTC (permalink / raw
To: gentoo-commits
commit: 42249668a129d40ecbd6b2dac0325fd75c17f255
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 13 13:01:03 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 13 13:01:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42249668
app-misc/ntfy: enable doc use flag
also simplified tess using the distutils functions
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
app-misc/ntfy/ntfy-2.7.0.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/app-misc/ntfy/ntfy-2.7.0.ebuild b/app-misc/ntfy/ntfy-2.7.0.ebuild
index 9d9c388..771af3d 100644
--- a/app-misc/ntfy/ntfy-2.7.0.ebuild
+++ b/app-misc/ntfy/ntfy-2.7.0.ebuild
@@ -10,11 +10,12 @@ 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"
+KEYWORDS="~amd64"
LICENSE="GPL-3"
SLOT="0"
-IUSE="test telegram dbus"
+
+IUSE="telegram dbus"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
@@ -40,6 +41,5 @@ DEPEND="${RDEPEND}
)
"
-python_test() {
- esetup.py test || die
-}
+distutils_enable_tests pytest
+distutils_enable_sphinx docs
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/ntfy/
2020-09-19 14:24 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-09-19 14:24 ` Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2020-09-19 14:24 UTC (permalink / raw
To: gentoo-commits
commit: 4e65baa2da89ccdf40b88b0bb72db313cd14f2d2
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Sep 19 14:23:47 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Sep 19 14:24:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e65baa2
app-misc/ntfy: sleekxmpp removed from ::gentoo
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
app-misc/ntfy/ntfy-2.7.0.ebuild | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/app-misc/ntfy/ntfy-2.7.0.ebuild b/app-misc/ntfy/ntfy-2.7.0.ebuild
index 771af3d6..c789b276 100644
--- a/app-misc/ntfy/ntfy-2.7.0.ebuild
+++ b/app-misc/ntfy/ntfy-2.7.0.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
@@ -37,9 +38,17 @@ DEPEND="${RDEPEND}
dev-python/emoji[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
- dev-python/sleekxmpp[${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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/ntfy/
2021-04-13 13:21 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2021-04-13 13:22 ` Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2021-04-13 13:22 UTC (permalink / raw
To: gentoo-commits
commit: f7899300c20a2b95d96d4e9b98706b541760dcb3
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Apr 13 13:21:39 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Apr 13 13:21:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7899300
app-misc/ntfy: bump python compat
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
app-misc/ntfy/ntfy-2.7.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/ntfy/ntfy-2.7.0.ebuild b/app-misc/ntfy/ntfy-2.7.0.ebuild
index c75c04ad4..e8816e6d8 100644
--- a/app-misc/ntfy/ntfy-2.7.0.ebuild
+++ b/app-misc/ntfy/ntfy-2.7.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-13 13:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-13 17:45 [gentoo-commits] repo/proj/guru:master commit in: app-misc/ntfy/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-04-13 13:21 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-13 13:22 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-09-19 14:24 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-09-19 14:24 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-13 17:45 Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox