mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-python/pymdown-extensions: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST pymdown-extensions-10.0.1.gh.tar.gz 1063025 BLAKE2B 937273053918cbb8e0245ba38a78a93184a492e21846db60f675d015cc5f942bef5e7085136cc861aa4a6068096e23fdb5f212182d47f245ac6a45127b5ca2a2 SHA512 579aa70c21cffdc7d5ffd927bce071f40bc6ace040cbcb4d15d620a54b97eae2cee7afa049e9005dccc2081dac7db3ff7e2deb2c1c468cf27fe42a306b6e46ab
|
||||
DIST pymdown_extensions-10.1.tar.gz 783894 BLAKE2B debe9415329ac5eb663924697529f456fddbc2870188864741003a5f9a3e6c44741188c90db5147d65fe8570f8a2acfc70ef8e12cf7ecfce7f3f051f25ac8c02 SHA512 c7692c7688b7d9764460b274a5cf609c3638a171f8ebb10d265a0e78d1f3b7b418f9712e6d7597e091181caa82e7fca9120e388f2ee80bd9299e9b70492084af
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
DOCS_BUILDER="mkdocs"
|
||||
DOCS_DEPEND="
|
||||
dev-python/mkdocs-git-revision-date-localized-plugin
|
||||
dev-python/mkdocs-minify-plugin
|
||||
dev-python/mkdocs-material
|
||||
dev-python/pymdown-lexers
|
||||
dev-python/pyspelling
|
||||
"
|
||||
DOCS_INITIALIZE_GIT=1
|
||||
|
||||
inherit distutils-r1 docs
|
||||
|
||||
DESCRIPTION="Extensions for Python Markdown"
|
||||
HOMEPAGE="
|
||||
https://github.com/facelessuser/pymdown-extensions/
|
||||
https://pypi.org/project/pymdown-extensions/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/facelessuser/pymdown-extensions/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/pygments-2.12.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile_all() {
|
||||
default
|
||||
# We need to do this manually instead of relying on docs_compile
|
||||
# https://bytemeta.vip/repo/facelessuser/pymdown-extensions/issues/1446
|
||||
# https://bugs.gentoo.org/859637
|
||||
if use doc; then
|
||||
${EPYTHON} -m mkdocs build || die "Failed to make docs"
|
||||
# Colliding files found by ecompress:
|
||||
rm site/sitemap.xml.gz || die
|
||||
HTML_DOCS=( "site/." )
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user