commit:     008248027b3b94655e76cd7fc4c0df6132bdf5b4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 18 18:48:58 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 18 18:50:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00824802

dev-python/markdown-it-py: Enable linkify-it-py optional dep

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

 .../markdown-it-py/markdown-it-py-2.1.0-r2.ebuild  | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/dev-python/markdown-it-py/markdown-it-py-2.1.0-r2.ebuild 
b/dev-python/markdown-it-py/markdown-it-py-2.1.0-r2.ebuild
new file mode 100644
index 000000000000..5f6bc8a86ebe
--- /dev/null
+++ b/dev-python/markdown-it-py/markdown-it-py-2.1.0-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python port of markdown-it, Markdown parser"
+HOMEPAGE="
+       https://pypi.org/project/markdown-it-py/
+       https://github.com/executablebooks/markdown-it-py/
+"
+SRC_URI="
+       https://github.com/executablebooks/markdown-it-py/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/linkify-it-py[${PYTHON_USEDEP}]
+       dev-python/mdurl[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/pytest-regressions[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+       # No need to benchmark
+       benchmarking/
+)

Reply via email to