dev-python/markdown-it-py: Sync with Gentoo

It's from Gentoo commit d321afd72b7ca5703e497798b6302b5d3a06a410.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2025-09-01 07:08:48 +00:00 committed by Krzesimir Nowak
parent e74aa97a86
commit 3fc7441256
2 changed files with 42 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST markdown-it-py-3.0.0.gh.tar.gz 275478 BLAKE2B ab264d6de015262e770b5da9c26a48a9fa40209119e38e12e4185aa8b5141986df62f2ff44d80c2d62732e75408b3a70bf35ae9b7ca899ae284636cc62ded710 SHA512 820265595ab650f5ac64419d5c2687d1ee361d2a0550b9d94e86ec826cfe5e89cbd69e59d6582aac41d3b95f00ce4a0b7213bf6cd590fdbd8fd9b743c7418759
DIST markdown-it-py-4.0.0.gh.tar.gz 279903 BLAKE2B c878259ae684875dfd9dd017ff5b541b842f2ef917e0f23fa00df77646684794f904eb3693106ce859853a375f8bd2e877346ef775341ed4452856f1793aa8a9 SHA512 617927d7038e2918b395c720d4b8d8327342c266c75b6fd5957961944c2bed51a8e2f01a9c184e5d85dfc4fd8b28e07f3cc1d677aa29192e1a8e54f29d6a0829

View File

@ -0,0 +1,41 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
<dev-python/linkify-it-py-3[${PYTHON_USEDEP}]
dev-python/mdurl[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/requests[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-{datadir,regressions} )
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# No need to benchmark
benchmarking/
)