commit:     98ce71c28ea47895f2ac318d3a601eb2b3802fc1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 19:47:45 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 20:53:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ce71c2

dev-python/pymdown-extensions: Bump to 9.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pymdown-extensions/Manifest             |  1 +
 .../pymdown-extensions-9.1.ebuild                  | 52 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/pymdown-extensions/Manifest 
b/dev-python/pymdown-extensions/Manifest
index 079a09f0d0fe..95abb68c7aaa 100644
--- a/dev-python/pymdown-extensions/Manifest
+++ b/dev-python/pymdown-extensions/Manifest
@@ -1 +1,2 @@
 DIST pymdown-extensions-9.0.tar.gz 978665 BLAKE2B 
328b36bf34b362ed20b8f52576fb8ea1bbf818e99815c15e0779e38dc560134096bb35ac9a5a4ad11c713921052b0ac0041b0fd2491fc76fcd7cfcbba0760f0a
 SHA512 
813d81900b19e8235e67da362951e3e72f9948751cbe3ee9547e043d535fb8b480f0b65aa811a8b8a67c25509fefef01d3f46b4a1a6af9f00c8be244ad6fb6a9
+DIST pymdown-extensions-9.1.tar.gz 1004051 BLAKE2B 
e6b1ebfbacce8c78c00cffc314244ed4a65a2e63d8270196e1acdd72adc75956e57b00b89ad0e4089cb186d23df390eb00a08b47a0418f4a41147803bed079ce
 SHA512 
ab5b9703096dc95d33469d79eb042e845f1337ac65d951e65e44224190f7feb832049854163dfcb73ee238254e10b831640a1813cafd981368df96b96d3f6752

diff --git a/dev-python/pymdown-extensions/pymdown-extensions-9.1.ebuild 
b/dev-python/pymdown-extensions/pymdown-extensions-9.1.ebuild
new file mode 100644
index 000000000000..8ed924a3f6a8
--- /dev/null
+++ b/dev-python/pymdown-extensions/pymdown-extensions-9.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 "y...@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
+}

Reply via email to