mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
dev-python/markdown: Disable tests in <3.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user