summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-06-06 21:23:57 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-06-06 21:44:26 +0300
commit08d25925520b4975f77b8b4f42e70817b5fc3d4b (patch)
tree826e25299e801a0b73aceb5591b5d233d1310e2a /dev-python/pymdown-extensions
parentdev-lang/python: Bump to 3.10.5 (diff)
downloadgentoo-08d25925520b4975f77b8b4f42e70817b5fc3d4b.tar.gz
gentoo-08d25925520b4975f77b8b4f42e70817b5fc3d4b.tar.bz2
gentoo-08d25925520b4975f77b8b4f42e70817b5fc3d4b.zip
dev-python/pymdown-extensions: add 9.5
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pymdown-extensions')
-rw-r--r--dev-python/pymdown-extensions/Manifest1
-rw-r--r--dev-python/pymdown-extensions/pymdown-extensions-9.5.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest
index 3bbc889ba39c..313934d2b917 100644
--- a/dev-python/pymdown-extensions/Manifest
+++ b/dev-python/pymdown-extensions/Manifest
@@ -1 +1,2 @@
DIST pymdown-extensions-9.4.gh.tar.gz 1009043 BLAKE2B af5d5af52861b80e859ec11444915613d752cc60ba7a1f179d5dbd242837c4fd5d5ad3d3e66a583c53567fe4feab4a6fbf3f5a96032e57c24185affcd98b0f52 SHA512 8b7b9dcb0d61a63eac1477cb8dbd0917c8e4dd35b98298b6d15ee744fd184747364f5e70de0cfe7959223df77e604f5d195d0d305932e1176c351a1fe1a036cb
+DIST pymdown-extensions-9.5.gh.tar.gz 1004601 BLAKE2B 8950ca104edf476e5557eab1effd9ad4e879f2ef58823e1385b5ee000e704b260b20f758578021d4c03492e675027f079363da49429938221fb1c109c9e1fe2d SHA512 b640947b97be4f7592b86125c7de0f36c34052e77103f7d16818b8fc2794cc28d3b7baef84d99434ca1b2810fbe19bc2fc0d2430b8504425cca71677d9c8753c
diff --git a/dev-python/pymdown-extensions/pymdown-extensions-9.5.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-9.5.ebuild
new file mode 100644
index 000000000000..93c979c06ae4
--- /dev/null
+++ b/dev-python/pymdown-extensions/pymdown-extensions-9.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{8..11} )
+
+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}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/markdown-3.2[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ >=dev-python/pygments-2.12.0[${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
+}