dev-python/rstcheck: Apply corrections related to review

setuptools dep is already added by the eclass.

Eclass is also including for test pytest with more restricted version
than I defined.

Looks like upstream does not include any docs that need compiling, so
this line can go.

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
This commit is contained in:
Samuel Bernardo
2020-06-29 20:50:16 +01:00
parent c8cd9810df
commit be7fe163e2

View File

@@ -21,19 +21,15 @@ RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
test? (
${RDEPEND}
dev-python/path-py[${PYTHON_USEDEP}]
>=dev-python/pytest-3.4[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${P}"
distutils_enable_sphinx docs ">=dev-python/jaraco-packaging-3.2"
python_test() {
# Ignore the module from ${S}, use the one from ${BUILD_DIR}
# Otherwise, ImportMismatchError may occur