summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-20 16:03:51 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-20 16:08:51 +0200
commit1261c812bf20865755a8106f7e505a9bf2a920fe (patch)
tree4d10109afd02aa8e0dfa9d047fecdf3eeb1a4511 /dev-python/markdown
parentdev-python/filelock: Remove python2 (diff)
downloadgentoo-1261c812bf20865755a8106f7e505a9bf2a920fe.tar.gz
gentoo-1261c812bf20865755a8106f7e505a9bf2a920fe.tar.bz2
gentoo-1261c812bf20865755a8106f7e505a9bf2a920fe.zip
dev-python/markdown: Disable tests in <3.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/markdown')
-rw-r--r--dev-python/markdown/markdown-2.6.11.ebuild19
-rw-r--r--dev-python/markdown/markdown-3.1.1-r1.ebuild8
2 files changed, 4 insertions, 23 deletions
diff --git a/dev-python/markdown/markdown-2.6.11.ebuild b/dev-python/markdown/markdown-2.6.11.ebuild
index dd9e8ce92979..136f7f0aafb8 100644
--- a/dev-python/markdown/markdown-2.6.11.ebuild
+++ b/dev-python/markdown/markdown-2.6.11.ebuild
@@ -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 )"
-
-DEPEND="
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/pytidylib[${PYTHON_USEDEP}]
- )"
+IUSE="doc pygments"
+RESTRICT="test"
+
# 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}"
-}
diff --git a/dev-python/markdown/markdown-3.1.1-r1.ebuild b/dev-python/markdown/markdown-3.1.1-r1.ebuild
index 415e76d40046..36073784c3ad 100644
--- a/dev-python/markdown/markdown-3.1.1-r1.ebuild
+++ b/dev-python/markdown/markdown-3.1.1-r1.ebuild
@@ -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/