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 <parona@protonmail.com>
This commit is contained in:
parent
e918eb027d
commit
737301d1dd
@ -15,7 +15,7 @@ SRC_URI="https://github.com/poljar/matrix-nio/archive/${PV}.tar.gz -> ${P}.tar.g
|
|||||||
LICENSE="ISC"
|
LICENSE="ISC"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="doc e2e test"
|
IUSE="e2e test"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
>=dev-python/future-0.18.2[${PYTHON_USEDEP}]
|
>=dev-python/future-0.18.2[${PYTHON_USEDEP}]
|
||||||
@ -55,21 +55,11 @@ DEPEND="
|
|||||||
dev-python/mypy_extensions[${PYTHON_USEDEP}]
|
dev-python/mypy_extensions[${PYTHON_USEDEP}]
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
BDEPEND="
|
|
||||||
doc? ( dev-python/sphinx )
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
distutils_enable_tests pytest
|
||||||
|
distutils_enable_sphinx doc dev-python/sphinx_rtd_theme dev-python/m2r2
|
||||||
|
|
||||||
# Tests dont parallelize happily
|
python_test() {
|
||||||
|
# Former requires internet access, latter fails randomly
|
||||||
python_compile_all() {
|
epytest --deselect tests/async_client_test.py::TestClass::test_connect_wrapper[pyloop] --deselect tests/async_client_test.py::TestClass::test_transfer_monitor_callbacks
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<maintainer type="person">
|
||||||
<email> parona@protonmail.com </email>
|
<email>parona@protonmail.com</email>
|
||||||
<name> Alfred Wingate </name>
|
<name>Alfred Wingate</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
<upstream>
|
||||||
<flag name="e2e"> Enable end to end encryption support </flag>
|
<remote-id type="github">poljar/matrix-nio</remote-id>
|
||||||
</use>
|
</upstream>
|
||||||
|
<use>
|
||||||
|
<flag name="e2e">Enable end to end encryption support</flag>
|
||||||
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Loading…
Reference in New Issue
Block a user