1 |
commit: 8347d555108dc226d8fe7d16b6cfb3d0d2794970 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 09:35:13 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 11:18:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8347d555 |
7 |
|
8 |
dev-python/mkdocs: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/mkdocs/mkdocs-1.3.0.ebuild | 78 ----------------------------------- |
13 |
1 file changed, 78 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/mkdocs/mkdocs-1.3.0.ebuild b/dev-python/mkdocs/mkdocs-1.3.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 46541abdf194..000000000000 |
18 |
--- a/dev-python/mkdocs/mkdocs-1.3.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,78 +0,0 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=8 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{8..10} ) |
27 |
-DISTUTILS_USE_PEP517=setuptools |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="Project documentation with Markdown" |
31 |
-HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs" |
32 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="BSD" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="amd64 ~riscv x86" |
37 |
- |
38 |
-IUSE="doc" |
39 |
- |
40 |
-BDEPEND=" |
41 |
- doc? ( |
42 |
- $(python_gen_any_dep ' |
43 |
- dev-python/mdx_gh_links[${PYTHON_USEDEP}] |
44 |
- dev-python/mkdocs-redirects[${PYTHON_USEDEP}] |
45 |
- ') |
46 |
- ) |
47 |
-" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- >=dev-python/Babel-2.9.0[${PYTHON_USEDEP}] |
51 |
- >=dev-python/click-3.3[${PYTHON_USEDEP}] |
52 |
- >=dev-python/jinja-2.10.2[${PYTHON_USEDEP}] |
53 |
- >=dev-python/markdown-3.2.1[${PYTHON_USEDEP}] |
54 |
- >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] |
55 |
- >=dev-python/watchdog-2.0[${PYTHON_USEDEP}] |
56 |
- >=dev-python/ghp-import-1.0[${PYTHON_USEDEP}] |
57 |
- >=dev-python/pyyaml_env_tag-0.1[${PYTHON_USEDEP}] |
58 |
- >=dev-python/importlib_metadata-3.10[${PYTHON_USEDEP}] |
59 |
- >=dev-python/packaging-20.5[${PYTHON_USEDEP}] |
60 |
- >=dev-python/mergedeep-1.3.4[${PYTHON_USEDEP}] |
61 |
-" |
62 |
- |
63 |
-distutils_enable_tests nose |
64 |
- |
65 |
-python_prepare_all() { |
66 |
- # Tests fails if additional themes are installed |
67 |
- sed -i -e 's:test_get_themes:_&:' \ |
68 |
- mkdocs/tests/utils/utils_tests.py || die |
69 |
- |
70 |
- # Skip this network test, "does not appear to be an IPv4 or IPv6 address" |
71 |
- sed -i -e 's/test_IP_normalization/_&/' \ |
72 |
- mkdocs/tests/config/config_options_tests.py || die |
73 |
- |
74 |
- # livereload has been dropped in this release, this test is a remnant |
75 |
- rm mkdocs/tests/livereload_tests.py || die |
76 |
- |
77 |
- # fix apparent typo in test (importing wrong thing) |
78 |
- sed -i -e 's/from localization import/from mkdocs.localization import/g' \ |
79 |
- mkdocs/tests/theme_tests.py || die |
80 |
- |
81 |
- # Does not work in emerge env |
82 |
- sed -i -e 's/test_paths_localized_to_config/_&/' \ |
83 |
- mkdocs/tests/config/config_options_tests.py |
84 |
- |
85 |
- distutils-r1_python_prepare_all |
86 |
-} |
87 |
- |
88 |
-python_compile_all() { |
89 |
- default |
90 |
- if use doc; then |
91 |
- # cannot just do mkdocs build, because that fails if |
92 |
- # the package isn't already installed |
93 |
- python -m mkdocs build || die "Failed to make docs" |
94 |
- # Colliding files found by ecompress: |
95 |
- rm site/sitemap.xml.gz || die |
96 |
- HTML_DOCS=( "site/." ) |
97 |
- fi |
98 |
-} |