dev-python/pymdown-extensions: Bump to 9.3

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-03-20 10:06:48 +01:00
parent 148eb8393f
commit df2b9576fa
2 changed files with 57 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pymdown-extensions-9.2.tar.gz 1008401 BLAKE2B 017f8de124c8bfac8d53fe9ddb7aba5befa728f851cfc207b774d9da340fb8c5c067f3ffb399702c2d86ee17b740158c92a2dcce0d3470afca5b011499c86836 SHA512 2b33d63181d4e4e2e9a98c23ff48edc0425bd9a7419d339817210707b172538a5571a4d430276beb43ebab3f9e3941074a53116aaf4d1c4a90d1db2a76457f04
DIST pymdown-extensions-9.3.tar.gz 1009329 BLAKE2B 6efe25ef0ef81d7e6b494b94e54c41c8e99cab517cadaba09d073996aef4b35c79e88386dd9ccd8199b3c4c6e105a1c428aa4b96069a6d1c44bf0296cd586b7c SHA512 8dec73e94d159b10f644268ed757b3326f1ee5d2a63e8ea806a700898bdfd82542c1791db0d6fcb29deee913276b23bdb5966511e9863eed332ab760d194c5b5

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
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
"
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/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
RDEPEND="
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-vcs/git
)
"
distutils_enable_tests pytest
python_prepare_all() {
# mkdocs-git-revision-date-localized-plugin needs git repo
if use doc; then
git init || die
git config --global user.email "you@example.com" || die
git config --global user.name "Your Name" || die
git add . || die
git commit -m 'init' || die
fi
distutils-r1_python_prepare_all
}