summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-07-08 00:04:19 +0100
committerMarek Szuba <marecki@gentoo.org>2023-07-08 01:52:09 +0100
commita340af1858ab15f9e3ddc894e0a4bd9718ece15f (patch)
tree633a22ec68a26a88494103b8938e927e38d73fe2
parentdev-python/pygments-ansi-color: new package, add 0.3.0 (diff)
downloadgentoo-a340af1858ab15f9e3ddc894e0a4bd9718ece15f.tar.gz
gentoo-a340af1858ab15f9e3ddc894e0a4bd9718ece15f.tar.bz2
gentoo-a340af1858ab15f9e3ddc894e0a4bd9718ece15f.zip
dev-python/markdown-exec: new package, add 1.6.0
Bug: https://bugs.gentoo.org/907820 Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r--dev-python/markdown-exec/Manifest1
-rw-r--r--dev-python/markdown-exec/markdown-exec-1.6.0.ebuild28
-rw-r--r--dev-python/markdown-exec/metadata.xml16
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/markdown-exec/Manifest b/dev-python/markdown-exec/Manifest
new file mode 100644
index 000000000000..4b6f5ac4e843
--- /dev/null
+++ b/dev-python/markdown-exec/Manifest
@@ -0,0 +1 @@
+DIST markdown_exec-1.6.0.tar.gz 18880 BLAKE2B 374f62c112efcf7f02c6b55f1348a3b38ad574240ca2e0af88af52343eb8cd2c0001d3b3dbe629e8917c40a602311e389683abd374e4ce62209bc051ea722389 SHA512 d05d3ede2f0280e8406b7cde7e555f2a1f796101c2cd336883b0e045837767a90fa6beb4ff624fa9029343bd2c3628219f387f438fcdbb661d91219134bf312c
diff --git a/dev-python/markdown-exec/markdown-exec-1.6.0.ebuild b/dev-python/markdown-exec/markdown-exec-1.6.0.ebuild
new file mode 100644
index 000000000000..dbc2b3efc408
--- /dev/null
+++ b/dev-python/markdown-exec/markdown-exec-1.6.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Utilities to execute code blocks in Markdown files"
+HOMEPAGE="
+ https://pawamoy.github.io/markdown-exec/
+ https://pypi.org/project/markdown-exec/
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="ansi"
+
+RDEPEND="
+ >=dev-python/pymdown-extensions-9[${PYTHON_USEDEP}]
+ ansi? ( dev-python/pygments-ansi-color[${PYTHON_USEDEP}] )
+"
+BDEPEND="test? ( dev-python/markupsafe[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
diff --git a/dev-python/markdown-exec/metadata.xml b/dev-python/markdown-exec/metadata.xml
new file mode 100644
index 000000000000..fcffb03da573
--- /dev/null
+++ b/dev-python/markdown-exec/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">markdown-exec</remote-id>
+ <remote-id type="github">pawamoy/markdown-exec</remote-id>
+ </upstream>
+ <use>
+ <flag name="ansi">Enable support for rendering ANSI colours in HTML code blocks</flag>
+ </use>
+</pkgmetadata>