dev-python/markdown: Disable tests in <3.2.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-09-20 16:08:51 +02:00
parent c85178c6be
commit 1261c812bf
2 changed files with 3 additions and 22 deletions
+2 -15
View File
@@ -18,16 +18,9 @@ LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test pygments"
RESTRICT="!test? ( test )"
IUSE="doc pygments"
RESTRICT="test"
DEPEND="
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/pytidylib[${PYTHON_USEDEP}]
)"
# source cites pytidylib however from testruns it appears optional
RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )"
@@ -42,9 +35,3 @@ python_compile_all() {
find "${BUILD_DIR}"/docs -name '*.txt' -delete || die
fi
}
python_test() {
cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die
cd "${BUILD_DIR}" || die
"${EPYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}"
}
+1 -7
View File
@@ -21,16 +21,10 @@ IUSE="doc"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
DEPEND="test? (
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/pytidylib[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}] )"
RESTRICT="test"
S="${WORKDIR}/${P^}"
distutils_enable_tests pytest
python_install_all() {
use doc && dodoc -r docs/