Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocs/
Date: Sun, 27 Jun 2021 06:21:04
Message-Id: 1624774571.a325918db95403d5e6f848d5f438cb926bf40f97.mgorny@gentoo
1 commit: a325918db95403d5e6f848d5f438cb926bf40f97
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 27 06:16:11 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 27 06:16:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a325918d
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.1.2-r1.ebuild | 67 --------------------------------
13 dev-python/mkdocs/mkdocs-1.1.2.ebuild | 58 ---------------------------
14 2 files changed, 125 deletions(-)
15
16 diff --git a/dev-python/mkdocs/mkdocs-1.1.2-r1.ebuild b/dev-python/mkdocs/mkdocs-1.1.2-r1.ebuild
17 deleted file mode 100644
18 index 6d18515e6d8..00000000000
19 --- a/dev-python/mkdocs/mkdocs-1.1.2-r1.ebuild
20 +++ /dev/null
21 @@ -1,67 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -PYTHON_COMPAT=( python3_{7,8,9} )
28 -
29 -DISTUTILS_USE_SETUPTOOLS=rdepend
30 -
31 -inherit distutils-r1
32 -
33 -DESCRIPTION="Project documentation with Markdown"
34 -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs"
35 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
36 -
37 -LICENSE="BSD"
38 -SLOT="0"
39 -KEYWORDS="~amd64 ~x86"
40 -
41 -IUSE="doc"
42 -
43 -BDEPEND="
44 - doc? (
45 - dev-python/mdx_gh_links
46 - )
47 -"
48 -
49 -RDEPEND="
50 - >=dev-python/click-7.0[${PYTHON_USEDEP}]
51 - >=dev-python/jinja-2.10.3[${PYTHON_USEDEP}]
52 - >=dev-python/livereload-2.6.1[${PYTHON_USEDEP}]
53 - ~dev-python/lunr-0.5.9[${PYTHON_USEDEP}]
54 - >=dev-python/markdown-3.2.1[${PYTHON_USEDEP}]
55 - >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}]
56 - >=www-servers/tornado-5.1.1[${PYTHON_USEDEP}]
57 -"
58 -
59 -distutils_enable_tests nose
60 -
61 -python_prepare_all() {
62 - # Tests fails if additional themes are installed
63 - sed -i -e 's:test_get_themes:_&:' \
64 - mkdocs/tests/utils/utils_tests.py || die
65 -
66 - # Upstream pins this to workaround with a bug
67 - # in lunr, from 0.5.9 onwards lunr (mistakenly?)
68 - # depends on nltk<3.5 if [languages], which does not
69 - # work with mkdocs. We remove the [languages] part, and
70 - # allow the use of 0.5.9 instead of 0.5.8.
71 - # Tests pass.
72 - sed -i -e 's/lunr\[languages\]==0.5.8/lunr==0.5.9/g' \
73 - setup.py || die
74 -
75 - distutils-r1_python_prepare_all
76 -}
77 -
78 -python_compile_all() {
79 - default
80 - if use doc; then
81 - # cannot just do mkdocs build, because that fails if
82 - # the package isn't already installed
83 - python -m mkdocs build || die "Failed to make docs"
84 - # Colliding files found by ecompress:
85 - rm site/sitemap.xml.gz || die
86 - HTML_DOCS=( "site/." )
87 - fi
88 -}
89
90 diff --git a/dev-python/mkdocs/mkdocs-1.1.2.ebuild b/dev-python/mkdocs/mkdocs-1.1.2.ebuild
91 deleted file mode 100644
92 index 853c0a488f3..00000000000
93 --- a/dev-python/mkdocs/mkdocs-1.1.2.ebuild
94 +++ /dev/null
95 @@ -1,58 +0,0 @@
96 -# Copyright 1999-2021 Gentoo Authors
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI=7
100 -
101 -PYTHON_COMPAT=( python3_{7,8} )
102 -
103 -DISTUTILS_USE_SETUPTOOLS=rdepend
104 -
105 -inherit distutils-r1
106 -
107 -DESCRIPTION="Project documentation with Markdown"
108 -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs"
109 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
110 -
111 -LICENSE="BSD"
112 -SLOT="0"
113 -KEYWORDS="amd64 x86"
114 -
115 -IUSE="doc"
116 -
117 -BDEPEND="
118 - doc? (
119 - dev-python/mdx_gh_links
120 - )
121 -"
122 -
123 -RDEPEND="
124 - >=dev-python/click-7.0[${PYTHON_USEDEP}]
125 - >=dev-python/jinja-2.10.3[${PYTHON_USEDEP}]
126 - >=dev-python/livereload-2.6.1[${PYTHON_USEDEP}]
127 - ~dev-python/lunr-0.5.8[${PYTHON_USEDEP}]
128 - >=dev-python/markdown-3.2.1[${PYTHON_USEDEP}]
129 - >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}]
130 - >=www-servers/tornado-5.1.1[${PYTHON_USEDEP}]
131 -"
132 -
133 -distutils_enable_tests nose
134 -
135 -python_prepare_all() {
136 - # Tests fails if additional themes are installed
137 - sed -i -e 's:test_get_themes:_&:' \
138 - mkdocs/tests/utils/utils_tests.py || die
139 -
140 - distutils-r1_python_prepare_all
141 -}
142 -
143 -python_compile_all() {
144 - default
145 - if use doc; then
146 - # cannot just do mkdocs build, because that fails if
147 - # the package isn't already installed
148 - python -m mkdocs build || die "Failed to make docs"
149 - # Colliding files found by ecompress:
150 - rm site/sitemap.xml.gz || die
151 - HTML_DOCS=( "site/." )
152 - fi
153 -}