[gentoo-commits] repo/proj/guru:dev commit in: app-misc/ntfy/
commit: f7899300c20a2b95d96d4e9b98706b541760dcb3 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Apr 13 13:21:39 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Apr 13 13:21:39 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-misc/ntfy/
commit: 4e65baa2da89ccdf40b88b0bb72db313cd14f2d2 Author: Andrew Ammerlaan riseup net> AuthorDate: Sat Sep 19 14:23:47 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Sep 19 14:24:23 2020 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-misc/ntfy/
commit: 42249668a129d40ecbd6b2dac0325fd75c17f255 Author: Andrew Ammerlaan riseup net> AuthorDate: Fri Mar 13 13:01:03 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Fri Mar 13 13:01:03 2020 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-misc/ntfy/
commit: d5e4e44676f7e45190285a796f4a79da02cff5ee Author: David Roman gmail com> AuthorDate: Fri Mar 13 00:56:48 2020 + Commit: David Roman gmail com> CommitDate: Fri Mar 13 00:56:48 2020 + 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 000..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 000..82eab7b --- /dev/null +++ b/app-misc/ntfy/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + davidroma...@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 000..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 +}