From 737301d1dd7d2a03b33788ba0b2ec19fb53c2da2 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sat, 22 May 2021 22:29:45 +0300 Subject: [PATCH] dev-python/matrix-nio: fix blunders with docs and tests Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alfred Wingate --- .../matrix-nio/matrix-nio-0.18.1.ebuild | 20 +++++-------------- dev-python/matrix-nio/metadata.xml | 17 +++++++++------- 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/dev-python/matrix-nio/matrix-nio-0.18.1.ebuild b/dev-python/matrix-nio/matrix-nio-0.18.1.ebuild index d43c0fb..7cd7ad7 100644 --- a/dev-python/matrix-nio/matrix-nio-0.18.1.ebuild +++ b/dev-python/matrix-nio/matrix-nio-0.18.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/poljar/matrix-nio/archive/${PV}.tar.gz -> ${P}.tar.g LICENSE="ISC" SLOT="0" KEYWORDS="~amd64" -IUSE="doc e2e test" +IUSE="e2e test" RDEPEND=" >=dev-python/future-0.18.2[${PYTHON_USEDEP}] @@ -55,21 +55,11 @@ DEPEND=" dev-python/mypy_extensions[${PYTHON_USEDEP}] ) " -BDEPEND=" - doc? ( dev-python/sphinx ) -" distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme dev-python/m2r2 -# Tests dont parallelize happily - -python_compile_all() { - if use doc; then - emacs -C docs html || die - fi -} - -python_install_all() { - use doc && HTML_DOCS=( docs/build/html/. ) - distutils-r1_python_install_all +python_test() { + # Former requires internet access, latter fails randomly + epytest --deselect tests/async_client_test.py::TestClass::test_connect_wrapper[pyloop] --deselect tests/async_client_test.py::TestClass::test_transfer_monitor_callbacks } diff --git a/dev-python/matrix-nio/metadata.xml b/dev-python/matrix-nio/metadata.xml index 2d4b890..6b185f7 100644 --- a/dev-python/matrix-nio/metadata.xml +++ b/dev-python/matrix-nio/metadata.xml @@ -1,11 +1,14 @@ - - parona@protonmail.com - Alfred Wingate - - - Enable end to end encryption support - + + parona@protonmail.com + Alfred Wingate + + + poljar/matrix-nio + + + Enable end to end encryption support +