mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-27 21:48:16 -07:00
dev-python/mkdocs: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST mkdocs-0.12.2.tar.gz 6042907 BLAKE2B 3469e6a661dc55404878dc77355192e7f449e063dfabf38a46925a09278cdd202b0d1c0a6b39971d360c357688aa4e1694d2c6581881c124c8ec76f15c923a78 SHA512 149d8e27df8474ade24e4cbff1b8eef1d7a7549997499c7df774afdb89bc9fe0d8de7d869d8b29aba883d1672032c76e8dbdb7e8982da6f94e2145d0b554e677
|
||||
DIST mkdocs-0.14.0.tar.gz 6248506 BLAKE2B b24094517cd198584a505d4b48d260b8926a883bd79d3dbfc2c5bddb37fc62380575eb1f9daa6801ba12e8dbd20fe4a6e42d3dfa42b82519c04afa67b1363181 SHA512 47c95f258362df8b124a9689a79a9927d26b1f7816b027fd14d193c79bb5340bdea8770c47566e00452edcdf801fe858569f4c76aa9d3f1799e6e7100bb916ff
|
||||
DIST mkdocs-0.15.3.tar.gz 1805972 BLAKE2B e6619fa0bd14fefe96de5abeb9243369b1419e7018705ac6a6d58fcb40c01aff380c3b4ca514af0a25da90092f39776abe42d19a67f7e86780c5c4111884b230 SHA512 e5b72eb56dcc2fe2be154155af15845a7d0fc06d6176f1c6b2bb54e8673d207146bdd92b37a709d72c1d59fcc76a793e6fed5d7fb6d9008f28d43baa17e446f8
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff --git a/mkdocs/tests/config_tests.py b/mkdocs/tests/config_tests.py
|
||||
index 647c695..b26d59d 100644
|
||||
--- a/mkdocs/tests/config_tests.py
|
||||
+++ b/mkdocs/tests/config_tests.py
|
||||
@@ -130,7 +130,6 @@ class ConfigTests(unittest.TestCase):
|
||||
{'docs_dir': 'docs', 'site_dir': ''},
|
||||
{'docs_dir': '', 'site_dir': 'site'},
|
||||
{'docs_dir': '', 'site_dir': ''},
|
||||
- {'docs_dir': j('..', 'mkdocs', 'docs'), 'site_dir': 'docs'},
|
||||
)
|
||||
|
||||
conf = {
|
||||
@@ -1,24 +0,0 @@
|
||||
diff --git a/mkdocs/tests/config/config_options_tests.py b/mkdocs/tests/config/config_options_tests.py
|
||||
index 1721bdd..4a41658 100644
|
||||
--- a/mkdocs/tests/config/config_options_tests.py
|
||||
+++ b/mkdocs/tests/config/config_options_tests.py
|
||||
@@ -180,7 +180,6 @@ class SiteDirTest(unittest.TestCase):
|
||||
{'docs_dir': '.', 'site_dir': '.'},
|
||||
{'docs_dir': 'docs', 'site_dir': ''},
|
||||
{'docs_dir': '', 'site_dir': ''},
|
||||
- {'docs_dir': j('..', 'mkdocs', 'docs'), 'site_dir': 'docs'},
|
||||
)
|
||||
|
||||
for test_config in test_configs:
|
||||
diff --git a/mkdocs/tests/config/config_tests.py b/mkdocs/tests/config/config_tests.py
|
||||
index fe32fd9..d5ce61e 100644
|
||||
--- a/mkdocs/tests/config/config_tests.py
|
||||
+++ b/mkdocs/tests/config/config_tests.py
|
||||
@@ -181,7 +181,6 @@ class ConfigTests(unittest.TestCase):
|
||||
{'docs_dir': '.', 'site_dir': '.'},
|
||||
{'docs_dir': 'docs', 'site_dir': ''},
|
||||
{'docs_dir': '', 'site_dir': ''},
|
||||
- {'docs_dir': j('..', 'mkdocs', 'docs'), 'site_dir': 'docs'},
|
||||
)
|
||||
|
||||
conf = {
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Project documentation with Markdown."
|
||||
HOMEPAGE="http://www.mkdocs.org"
|
||||
SRC_URI="https://github.com/tomchristie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/ghp-import-0.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/livereload-2.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}/${PV}"-skip-invalid-test.patch
|
||||
)
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
"${PYTHON}" -m mkdocs.main build || die "failed to build documentation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests mkdocs/tests || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( site/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Project documentation with Markdown."
|
||||
HOMEPAGE="http://www.mkdocs.org"
|
||||
SRC_URI="https://github.com/tomchristie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/click-4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/livereload-2.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-4.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/skip-invalid-test.patch
|
||||
)
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests mkdocs/tests || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user