diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-08-19 19:15:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-08-19 19:15:59 +0200 |
commit | 822ce4c888b037aa4e7846acf2b37afdc3730505 (patch) | |
tree | 03eed186c442e0c4ae655672e4fdbc985a388dea /dev-python/mkdocs | |
parent | app-accessibility/speechd-el: Stabilize 2.11 x86, #865811 (diff) | |
download | gentoo-822ce4c888b037aa4e7846acf2b37afdc3730505.tar.gz gentoo-822ce4c888b037aa4e7846acf2b37afdc3730505.tar.bz2 gentoo-822ce4c888b037aa4e7846acf2b37afdc3730505.zip |
dev-python/mkdocs: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mkdocs')
-rw-r--r-- | dev-python/mkdocs/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mkdocs/mkdocs-1.3.0-r1.ebuild | 82 |
2 files changed, 0 insertions, 83 deletions
diff --git a/dev-python/mkdocs/Manifest b/dev-python/mkdocs/Manifest index 51b01bb3aea6..d195835dc895 100644 --- a/dev-python/mkdocs/Manifest +++ b/dev-python/mkdocs/Manifest @@ -1,2 +1 @@ -DIST mkdocs-1.3.0.tar.gz 4085674 BLAKE2B e34605c2d1122ff86ed5cfb6134cdda67450e8f32d7628626ff4ac8c36c45b127312ad693efe35237b714adb9efd244f12f90cf8ecacf6009b75786db30ebb1b SHA512 d33d728eaff4e39106c1187cf04f579706ce28af364852c67706ab85f6b9ccdcd26ae84cd4d5ea7572e52fde1d1137eb3e424679dd4c8ef043c9637aac062270 DIST mkdocs-1.3.1.gh.tar.gz 4088396 BLAKE2B b54d0090318fef205d84c4e914f916f91309bdfe6857cd2592fea24e6fb68baaa2eede6dc768681c85ae37adf794546a6ac82dd34d300f421969991f9a796cae SHA512 6eb041f9d0a628eb3a2e6585fde0959f5ef35501edf2c69db640059d98523e2cfa723bc49aedfac1dea4804dcf3c51791e4a052b77ef97bd85a0f4ace2a4d9ad diff --git a/dev-python/mkdocs/mkdocs-1.3.0-r1.ebuild b/dev-python/mkdocs/mkdocs-1.3.0-r1.ebuild deleted file mode 100644 index 41fd1b9bcc69..000000000000 --- a/dev-python/mkdocs/mkdocs-1.3.0-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="Project documentation with Markdown" -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -IUSE="doc" - -BDEPEND=" - doc? ( - $(python_gen_any_dep ' - dev-python/mdx_gh_links[${PYTHON_USEDEP}] - dev-python/mkdocs-redirects[${PYTHON_USEDEP}] - ') - ) -" - -RDEPEND=" - >=dev-python/Babel-2.9.0[${PYTHON_USEDEP}] - >=dev-python/click-3.3[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.2[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] - >=dev-python/watchdog-2.0[${PYTHON_USEDEP}] - >=dev-python/ghp-import-1.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml_env_tag-0.1[${PYTHON_USEDEP}] - >=dev-python/importlib_metadata-3.10[${PYTHON_USEDEP}] - >=dev-python/packaging-20.5[${PYTHON_USEDEP}] - >=dev-python/mergedeep-1.3.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_prepare_all() { - # Tests fails if additional themes are installed - sed -i -e 's:test_get_themes:_&:' \ - mkdocs/tests/utils/utils_tests.py || die - - # Skip this network test, "does not appear to be an IPv4 or IPv6 address" - sed -i -e 's/test_IP_normalization/_&/' \ - mkdocs/tests/config/config_options_tests.py || die - - # livereload has been dropped in this release, this test is a remnant - rm mkdocs/tests/livereload_tests.py || die - - # fix apparent typo in test (importing wrong thing) - sed -i -e 's/from localization import/from mkdocs.localization import/g' \ - mkdocs/tests/theme_tests.py || die - - # Does not work in emerge env - sed -i -e 's/test_paths_localized_to_config/_&/' \ - mkdocs/tests/config/config_options_tests.py - - distutils-r1_python_prepare_all -} - -python_compile_all() { - default - if use doc; then - # cannot just do mkdocs build, because that fails if - # the package isn't already installed - python -m mkdocs build || die "Failed to make docs" - # Colliding files found by ecompress: - rm site/sitemap.xml.gz || die - HTML_DOCS=( "site/." ) - fi -} - -python_test() { - epytest mkdocs/tests/* -} |