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: Thu, 26 Aug 2021 08:24:42
Message-Id: 1629965781.d1db9e13948d84d503d5724ba3b87f7a67248fed.mgorny@gentoo
1 commit: d1db9e13948d84d503d5724ba3b87f7a67248fed
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 26 08:16:21 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 26 08:16:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1db9e13
7
8 dev-python/mkdocs: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/mkdocs/Manifest | 2 -
13 dev-python/mkdocs/mkdocs-1.1.2-r2.ebuild | 71 ------------------------------
14 dev-python/mkdocs/mkdocs-1.2.1.ebuild | 75 --------------------------------
15 3 files changed, 148 deletions(-)
16
17 diff --git a/dev-python/mkdocs/Manifest b/dev-python/mkdocs/Manifest
18 index bc79a7cea64..387f97be7b3 100644
19 --- a/dev-python/mkdocs/Manifest
20 +++ b/dev-python/mkdocs/Manifest
21 @@ -1,3 +1 @@
22 -DIST mkdocs-1.1.2.tar.gz 6987352 BLAKE2B 98bf604aa15eac693368e77e6658c3906909a0cdc323772550a65c35cc301929cdc136919a612438563cefd74c9076b2e273cb89e3ffbe04bff2a419e6e36513 SHA512 bf0e5ba8a15524ebe433fce9f2d16404922850ca562339d60e7860e243f9523321cbab5dca1f276a71d3158c7b1bfadfa25b134da50ef1cedc0b1a9658b6f10c
23 -DIST mkdocs-1.2.1.tar.gz 6918891 BLAKE2B a17fc551735de28391809971fdf8973c5adf23e512286041eab73bde02ae9ae597e357f4dcbb3fa9ea90a4b47e12a8390c3626641e89da45770b4df6f9d66029 SHA512 c1f9c3a46fd2c5d6819ea069bd48a82cbf5816bc1586a88e9eb776b2376106d9d5f8a0d9a70a9f9f56e39e9f29eaa3cbfa26a8c588acf568bde86f4028af9796
24 DIST mkdocs-1.2.2.tar.gz 6919165 BLAKE2B eba8d585c3653640bd3babbba3a1fab6aa9dc3ee365536ee7b0956e38250611bab3180c6a7f08eefb1e1a3637d07a0f366179570a9bb69df4f02a605610a770f SHA512 6cb111fcb3167a39e1d282d24b5e67d806c3e7506f55ef11a227b37ceeaea950142db2bc1db3709caaa2813c62ef8c4ef74aeb26e62f4f10aeee528e0532eccd
25
26 diff --git a/dev-python/mkdocs/mkdocs-1.1.2-r2.ebuild b/dev-python/mkdocs/mkdocs-1.1.2-r2.ebuild
27 deleted file mode 100644
28 index 29682e6db70..00000000000
29 --- a/dev-python/mkdocs/mkdocs-1.1.2-r2.ebuild
30 +++ /dev/null
31 @@ -1,71 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7..9} )
38 -
39 -DISTUTILS_USE_SETUPTOOLS=rdepend
40 -
41 -inherit distutils-r1
42 -
43 -DESCRIPTION="Project documentation with Markdown"
44 -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs"
45 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="BSD"
48 -SLOT="0"
49 -KEYWORDS="amd64 x86"
50 -
51 -IUSE="doc"
52 -
53 -BDEPEND="
54 - doc? (
55 - dev-python/mdx_gh_links
56 - )
57 -"
58 -
59 -RDEPEND="
60 - >=dev-python/click-7.0[${PYTHON_USEDEP}]
61 - >=dev-python/jinja-2.10.3[${PYTHON_USEDEP}]
62 - >=dev-python/livereload-2.6.1[${PYTHON_USEDEP}]
63 - dev-python/lunr[${PYTHON_USEDEP}]
64 - >=dev-python/markdown-3.2.1[${PYTHON_USEDEP}]
65 - >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}]
66 - >=www-servers/tornado-5.1.1[${PYTHON_USEDEP}]
67 -"
68 -
69 -distutils_enable_tests --install nose
70 -
71 -python_prepare_all() {
72 - # Tests fails if additional themes are installed
73 - sed -i -e 's:test_get_themes:_&:' \
74 - mkdocs/tests/utils/utils_tests.py || die
75 -
76 - # Upstream pins this to workaround with a bug
77 - # in lunr, from 0.5.9 onwards lunr (mistakenly?)
78 - # depends on nltk<3.5 if [languages], which does not
79 - # work with mkdocs. We remove the [languages] part, and
80 - # allow the use of 0.5.9 instead of 0.5.8.
81 - # Tests pass.
82 - sed -i -e 's/lunr\[languages\]==0.5.8/lunr/g' \
83 - setup.py || die
84 -
85 - # Skip this network test, "does not appear to be an IPv4 or IPv6 address"
86 - sed -i -e 's/test_IP_normalization/_&/' \
87 - mkdocs/tests/config/config_options_tests.py || die
88 -
89 - distutils-r1_python_prepare_all
90 -}
91 -
92 -python_compile_all() {
93 - default
94 - if use doc; then
95 - # cannot just do mkdocs build, because that fails if
96 - # the package isn't already installed
97 - python -m mkdocs build || die "Failed to make docs"
98 - # Colliding files found by ecompress:
99 - rm site/sitemap.xml.gz || die
100 - HTML_DOCS=( "site/." )
101 - fi
102 -}
103
104 diff --git a/dev-python/mkdocs/mkdocs-1.2.1.ebuild b/dev-python/mkdocs/mkdocs-1.2.1.ebuild
105 deleted file mode 100644
106 index 6d276646c76..00000000000
107 --- a/dev-python/mkdocs/mkdocs-1.2.1.ebuild
108 +++ /dev/null
109 @@ -1,75 +0,0 @@
110 -# Copyright 1999-2021 Gentoo Authors
111 -# Distributed under the terms of the GNU General Public License v2
112 -
113 -EAPI=7
114 -
115 -PYTHON_COMPAT=( python3_{8..9} )
116 -DISTUTILS_USE_SETUPTOOLS=rdepend
117 -
118 -inherit distutils-r1
119 -
120 -DESCRIPTION="Project documentation with Markdown"
121 -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs"
122 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
123 -
124 -LICENSE="BSD"
125 -SLOT="0"
126 -KEYWORDS="amd64 x86"
127 -
128 -IUSE="doc"
129 -
130 -BDEPEND="
131 - doc? (
132 - $(python_gen_any_dep '
133 - dev-python/mdx_gh_links[${PYTHON_USEDEP}]
134 - dev-python/mkdocs-redirects[${PYTHON_USEDEP}]
135 - ')
136 - )
137 -"
138 -
139 -RDEPEND="
140 - >=dev-python/Babel-2.9.0[${PYTHON_USEDEP}]
141 - >=dev-python/click-3.3[${PYTHON_USEDEP}]
142 - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
143 - >=dev-python/markdown-3.2.1[${PYTHON_USEDEP}]
144 - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
145 - >=dev-python/watchdog-2.0[${PYTHON_USEDEP}]
146 - >=dev-python/ghp-import-1.0[${PYTHON_USEDEP}]
147 - >=dev-python/pyyaml_env_tag-0.1[${PYTHON_USEDEP}]
148 - >=dev-python/importlib_metadata-3.10[${PYTHON_USEDEP}]
149 - >=dev-python/packaging-20.5[${PYTHON_USEDEP}]
150 - >=dev-python/mergedeep-1.3.4[${PYTHON_USEDEP}]
151 -"
152 -
153 -distutils_enable_tests --install nose
154 -
155 -python_prepare_all() {
156 - # Tests fails if additional themes are installed
157 - sed -i -e 's:test_get_themes:_&:' \
158 - mkdocs/tests/utils/utils_tests.py || die
159 -
160 - # Skip this network test, "does not appear to be an IPv4 or IPv6 address"
161 - sed -i -e 's/test_IP_normalization/_&/' \
162 - mkdocs/tests/config/config_options_tests.py || die
163 -
164 - # livereload has been dropped in this release, this test is a remnant
165 - rm mkdocs/tests/livereload_tests.py || die
166 -
167 - # fix apparent typo in test (importing wrong thing)
168 - sed -i -e 's/from localization import/from mkdocs.localization import/g' \
169 - mkdocs/tests/theme_tests.py || die
170 -
171 - distutils-r1_python_prepare_all
172 -}
173 -
174 -python_compile_all() {
175 - default
176 - if use doc; then
177 - # cannot just do mkdocs build, because that fails if
178 - # the package isn't already installed
179 - python -m mkdocs build || die "Failed to make docs"
180 - # Colliding files found by ecompress:
181 - rm site/sitemap.xml.gz || die
182 - HTML_DOCS=( "site/." )
183 - fi
184 -}