commit:     a340af1858ab15f9e3ddc894e0a4bd9718ece15f
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  7 23:04:19 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Jul  8 00:52:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a340af18

dev-python/markdown-exec: new package, add 1.6.0

Bug: https://bugs.gentoo.org/907820
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-python/markdown-exec/Manifest                  |  1 +
 .../markdown-exec/markdown-exec-1.6.0.ebuild       | 28 ++++++++++++++++++++++
 dev-python/markdown-exec/metadata.xml              | 16 +++++++++++++
 3 files changed, 45 insertions(+)

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>mare...@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>

Reply via email to