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

Reply via email to